Stake TRST for Your Favorite NPO's
yarn
yarn --cwd packages/<package-name> add <dependency-name>
yarn add -D <devDependency-name> -W
ganache-cli -p 7545 -i 5777 -m "goat junior borrow october horse sugar enlist bomb seek box carbon fat"
Note: The front-end is configed for rpc port
7545 and networkId
5777 and contracts are deployed using the accounts from the above seed phrases.
yarn --cwd packages/truffle deploy
yarn start
The app is served at http://localhost:3000.
Configure Metamask to use the local blockchain at http://localhost:7545. If you restart the local blochain, make sure to reset the account's nonce in Metamask.
(Optional) To interact with contracts on rinkeby:
REACT_APP_NETWORK_ID=4 yarn start
docker build -t staking-dapp -f Dockerfile.mainnet .
docker run -p 8000:80 --rm staking-dapp
http://localhost:8000
https://hub.docker.com/repository/docker/wetrustplatform/staking-dapp
./docker.sh mainnet vA.B.C
where A.B.C is the next versiongit push --tags
docker pull wetrustplatform/staking-dapp:mainnet-latest && ./restart-mainnet.sh
GPL-3.0 © WeTrustPlatform