Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 917 Bytes

README.md

File metadata and controls

50 lines (37 loc) · 917 Bytes

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