In the root folder: yarn install
There are 3 example.env files that need to be changed to .env
:
/contract/example.env
- Add yourPRIVATE_KEY
from your metis account/server/example.env
- Add theAPP_ID
andAPP_SECRET
located on the Polis dashboard under Application Management/client/example.env
- Add theAPP_ID
,CONTRACT_NAME
, andCHAIN_ID
located on the Polis dashboard under Application Management and Domain Information section
Command | Purpose |
---|---|
yarn metis |
Compiles and deploys the CryptoDevs.sol contract |
yarn client |
Starts the React frontend |
yarn server |
Starts the authentication backend |