TerraBit is game demonstration to show how to use publicly verifiable onchain randomness and delayed transactions in dapps built on the ETF network.
Built with etf.js and react-three-fiber.
Run
npm i
npm run start
The application expects a .env
file to exist with a reference to the deployed terrabit contract.
For example:
REACT_APP_CONTRACT_ADDRESS="5Gw1ejgmYXR4YRch7AmrTdDyrdoLsEM54Aws34nQaXYWrzqj"