WeTrustPlatform / staking-dapp

Stake TRST for Your Favorite NPO's
https://staking.wetrust.io
GNU General Public License v3.0
2 stars 3 forks source link

staking-dapp

Stake TRST for Your Favorite NPO's

Development environment

Install dependencies

yarn
yarn --cwd packages/<package-name> add <dependency-name>
yarn add -D <devDependency-name> -W

Smart contracts

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

Web app

yarn start

The app is served at http://localhost:3000.

REACT_APP_NETWORK_ID=4 yarn start

Docker for local review

docker build -t staking-dapp -f Dockerfile.mainnet .
docker run -p 8000:80 --rm staking-dapp

Release new images

License

GPL-3.0 © WeTrustPlatform