This monorepo encompasses all the components of the JUMP DeFi dApp.
The repo is divided in 2 main parts:
- packages -> contains all the services for the application, each in a folder. Smart contracts and their tests are all located in packages/contracts;
- services -> contains all container setups to run the application locally and in production
- Install Rust and Node;
- Install Docker and allow use without sudo;
- Install all dependencies:
yarn
- If there are no contract instances initilized in the testnet, run the app locally with:
yarn local:full
This might take around 30 min to initialize because of the creation of multiple accounts on testnet; 5. After the first time (4) is run, you can fastly initialize the local app with:
yarn local:full
**You can reutilize accounts deployed by other users by inserting an account_map.json file in packages/contracts/testnet_settings.