Skip to content

is a provably fair dice game ported to Harmony

Notifications You must be signed in to change notification settings

zgendao/onemore

Repository files navigation

onemore

is a provably fair dice game ported to the Harmony blockchain.

Install instructions

Requirements

  • nodejs v12.18.1
  • truffle
  • solidity v0.5.0

Guide

  • 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

Credits

Original source code

How to port something to Harmony

Stole funds from Gupadhyaya

Inspiration credited to @MaggieWangHarm1