Architecture

Setting app The platform contains three parts: • React static web-app Indexer APIEthereum blockchain smart contracts

Setting up the platform requires to deploy a VestingPoolFactory smart contract and paste its address into react app and API ‘.env’ files.

Rquirements

To run it locally, node.js (12.* or later) and npm are required

  1. Import the repository and cd into the new directory.

  2. Run npm install.

  3. Copy the file .env.example to .env, and add the postgres database parameters.

  4. Check the constants/networks.js and update the values for the networks that you are going to be using.

  5. Check the constants/factories.js and upate the values for the factories you are going to be using.

  6. Finally, run the bot node index.js.

Adding your factory

If you have your own project and want your factory to be available within our community, add a record into constant/factories.js file. There, you'll have a space to specify the address, website, project name, and logo, to make it available in our platform for your community. Make sure to add the network parameters in constants/networks.js if you add new networks.

Last updated