is a provably fair dice game ported to the Harmony blockchain.
- nodejs v12.18.1
- truffle
- solidity v0.5.0
- Install dependencies
npm install
- Add an .env file
MAINNET_PRIVATE_KEY=[PRIVATE KEY]
MAINNET_MNEMONIC=[MNEMONIC]
MAINNET_0_URL='https://api.s0.t.hmny.io'
GAS_LIMIT=9321900
GAS_PRICE=1000000000
- Compile
truffle compile
- Deploy
truffle migrate --network mainnet --reset
- Test
// in progress: truffle exec test/test.js --network mainnet
How to port something to Harmony
Inspiration credited to @MaggieWangHarm1