A non-custodial, peer-to-peer dice gambling app built on Intercom β the Trac Network P2P agent sidechannel stack.
Trac Address: trac1jqul5ff9w7mc5x0c4rc2gjuy09nd6y9pq47h9axunfu7k067yxksd6lgav
TracDice is a fully on-chain dice casino running over Intercom's P2P sidechannel infrastructure. Players bet TNK tokens against the house pool and roll dice in real-time. All randomness is verified on-chain via Trac Network's replicated-state layer.
| Mode | Description | Payout |
|---|---|---|
| Exact Number | Pick the exact dice face (1β6) | 5Γ |
| High / Low | High = 4-6, Low = 1-3 | 2Γ |
| Even / Odd | Even or Odd result | 2Γ |
- π΄ Live P2P β bets negotiated over Intercom sidechannels
- βοΈ On-chain settlement β outcomes recorded in Trac replicated state
- β‘ Instant payouts β TNK sent directly, no custodian
- π° Three bet modes with different risk/reward
- π Live session stats β W/L tracking, net P&L, streaks
Player β Intercom Sidechannel β House Agent β On-chain Commit β Reveal β Payout
- Player submits bet + prediction via Intercom P2P message
- House agent commits to a random seed on Trac replicated state
- Dice result is revealed and verified
- Winner receives TNK directly via Trac Network transfer
(Add your screenshots here showing the app running)
git clone https://github.com/YOUR_USERNAME/intercom
cd intercom
# Open index.html in your browser for the UI demo
open index.html
# To run the full Intercom agent stack:
npm install
npm start- Frontend: Vanilla HTML/CSS/JS β
index.html - P2P Layer: Intercom sidechannels
- Settlement: Trac Network replicated state
- Token: TNK (Trac Network Token)
PRs welcome. See awesome-intercom for the full list of Intercom forks.
Fork of Trac-Systems/intercom