Architecture
Setting app The platform contains three parts: • React static web-app • Indexer API • Ethereum 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
Import the repository and
cd
into the new directory.Run
npm install
.Copy the file
.env.example
to.env
, and add the postgres database parameters.Check the
constants/networks.js
and update the values for the networks that you are going to be using.Check the
constants/factories.js
and upate the values for the factories you are going to be using.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