尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Peer-to-peer sports betting exchange on Arbitrum — non-custodial vaults, ERC-4626 LP funds, stablecoin only.
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Peer-to-peer sports betting exchange on Arbitrum — no bookmaker, no native token, stablecoin only.
Bettazoo lets anyone act as the bank. Placers lock collateral on-chain and publish odds; bettors see every offer in a public order book and take the best prices, matched across many offers in a single transaction. Funds sit in an escrow contract, never with the platform, and winners are paid automatically in the same transaction that settles the event.檢視完整 README ↗Peer-to-peer sports betting exchange on Arbitrum — no bookmaker, no native token, stablecoin only.
Bettazoo lets anyone act as the bank. Placers lock collateral on-chain and publish odds; bettors see every offer in a public order book and take the best prices, matched across many offers in a single transaction. Funds sit in an escrow contract, never with the platform, and winners are paid automatically in the same transaction that settles the event.
On top of the exchange, Bettazoo adds infrastructure for autonomous banks and creators: non-custodial on-chain vaults run by a keeper that quotes markets automatically, an ERC-4626 fund vault that lets third-party LPs back a placer, and a streaming/OBS overlay toolkit for creators who run a book live.
Status: public testnet on Arbitrum Sepolia. All balances are MockUSDT with no real value. Contracts have not been externally audited yet.
| App | https://bettazoo-project.vercel.app |
| Website | https://bettazoo.com |
| Network | Arbitrum Sepolia (chain id 421614) |
Placer / Vault Bettor
│ createOffer(event, outcome, │ acceptOffers([ids], stake)
│ odds, liability) │ multi-match across offers
▼ ▼
┌──────────────────────────────────────────────┐
│ BettazooEscrow (Arbitrum) │
│ collateral locked · matched · settled │
└──────────────────────────────────────────────┘
▲ resolveEvent(event, winner) │ payout + platform fee
│ ▼ in the same tx
Oracle Winners / Treasury
Exchange
Placer Vaults (autonomous banks)
PlacerVault: one EIP-1167 clone per owner. Only the owner can withdraw, and withdraw takes no recipient argument, so the keeper can never move funds outpause) and per-vault platform fee overrideFund Vaults (third-party capital)
PlacerFundVault: ERC-4626 vault where approved LPs deposit alongside a placerCompliance & creator tooling
| Layer | Path | Stack |
|---|---|---|
| Smart contracts | web3/ | Solidity 0.8.24, Hardhat, OpenZeppelin v5 (incl. upgradeable ERC-4626), EVM cancun |
| Backend | backend/ | Node.js, Express, MongoDB/Mongoose, ethers v6, Socket.io |
| Frontend | frontend/ | Next.js 16 (App Router), React 19, Tailwind v4, wagmi + viem, next-intl |
The backend indexes contract events into MongoDB (order book, matches, vault state), runs the keeper and the odds feed, and pushes realtime updates over Socket.io. The chain is always the source of truth: balances, pause state and caps are read on-chain by the frontend.
| Contract | Purpose |
|---|---|
BettazooEscrow.sol | Offers, multi-matching, settlement, platform fee with per-placer override |
PlacerVault.sol / PlacerVaultFactory.sol | Single-owner, keeper-operated, non-custodial vaults |
PlacerFundVault.sol / PlacerFundVaultFactory.sol | ERC-4626 vaults for third-party LP capital |
MockUSDT.sol | 6-decimal test stablecoin |
| Contract | Address |
|---|---|
| BettazooEscrow | 0xD01D7Af6eB42968DdE249cD56ab382F2eF7fF04D |
| PlacerVaultFactory | 0xEB8FD349f3C6377a367151cD9624a5802949623e |
| PlacerFundVaultFactory | 0x62a26E2A3FbeFE8714e9492ce084dA6e79632d65 |
| MockUSDT | 0x29fA91A7288A2b3De899F4ed1679e288018f69a0 |
Full deployment records are in web3/deployments/.
Requirements: Node.js 20+ and a MongoDB instance (local or Atlas).
# 1. Contracts — compile and test
cd web3
npm install
npx hardhat test
# 2. Backend — copy backend/.env.example to backend/.env and fill it in
cd ../backend
npm install
npm test
npm run dev
# 3. Frontend — set NEXT_PUBLIC_API_URL and contract addresses in frontend/.env.local
cd ../frontend
npm install
npm run dev
All supported environment variables are documented in backend/.env.example and web3/.env.example. Optional integrations (odds feed, Sentry, admin gate) stay disabled when their variables are unset.