Prime Dice is a simple decentralized dice game built on Flow blockchain.
Players can roll two dice and interact with smart contracts written in Cadence to ensure fairness and transparency.
- Provably fair dice rolls (1–6) on Flow
- Wallet connection via Flow FCL
- Smart contracts written in Cadence
- Frontend powered by Nuxt 3 + TailwindCSS
- Flow Blockchain
- Cadence Smart Contracts
- Nuxt 3 (Vue 3)
- TailwindCSS
- FCL (Flow Client Library)
Deployed on Flow Testnet:
- DiceVRF:
0xf4a03341c4a71870
import DiceVRF from 0xf4a03341c4a71870
transaction {
prepare(acct: &Account) {}
execute {
let result = DiceVRF.roll()
log(result)
}
}Clone the repo and install dependencies:
git clone https://github.com/roma-marshall/primedice.git
cd primedice
npm install
npm run devMIT License