1. OverviewFrostBit is an independent ~455k-line Go Layer-1 blockchain built from scratch for decentralized spot and perpetual trading (Mainnet Chain ID:
51025). Both order matching and cross-chain asset custody operate at the protocol level — no off-chain matching server, no upgradeable proxy contracts, and no admin withdrawal keys.
Source code is published under
GPL-3.0-only (Solidity vault contracts under
MIT), alongside an immutable
v1.0.0 Linux amd64 release bundle.
2. Core Technical Architecture- Per-Block Global Money Conservation: Before committing any block state diff, every node asserts per touched token that ΔBalance + ΔOpenPerpMargin + ΔInsuranceFund + ΔActiveChallengeStake - ΔTotalSupply == 0. Any 1-unit mismatch panics immediately instead of drifting silently.
- Fully On-Chain Spot & Perpetual Engine: Up to 100x leverage, median EMA mark price, orderbook-first liquidation (500 bps cap; cancels and recycles a trader's own resting maker orders back into margin before hitting external liquidity), deterministic two-phase joint ADL using big-int arithmetic, and 0% liquidation/ADL fees.
- 6-Chain FROST + ROAST Threshold Vaults: Native custody across Bitcoin (BTC), Ethereum (ETH), BNB Chain, Base, Arbitrum, and TRON.
- Bitcoin: BIP340 Schnorr + single-leaf Taproot script (<operator_group_pubkey> CHECKSIGVERIFY <guardian_btc_pubkey> CHECKSIG) with NUMS internal point — no key-path spend, no timelock override.
- Account Chains: Immutable BN128 Schnorr vaults (SchnorrVaultV3.sol), no proxy, no setter, no admin sweep.
- Committee Rotation: Tiered committees K ∈ {4, 8, 20, 32, 64, 100} with strict t = 3K/4, fixed 120,960-block term (~7 days), and 192-byte on-chain handover certificates allowing multi-epoch rotation without forcing external chain txs on every rotation.
- Permissionless Deposit Witnessing & 4-Tier Zero-Sum Arbitration: Deposits are attested by future-beacon-sampled witnesses with on-chain block depth checks, followed by a 300-block public challenge window and 4-tier zero-sum arbitration (4 -> 8 -> 16 -> top-4 stake final panel).
- Consensus & State Rent: Snowman consensus with bounded integer voting weights [1, 10] (capped at 320 FB matured stake), VRF block proposal capped at 20% effective stake share per miner, CertChain V3 strict integer > 2/3 checkpoints, and oracle-free State Rent (exempt at >= 10 FB or any of 15 built-in assets meeting fixed unit thresholds).
3. Tokenomics & Protocol Parameters (No VC / No Private Sale)Native Asset : Frostbit (FB), 8 decimals
Hard Supply Cap : 200,000,000 FB (strict cap, no perpetual tail emission)
Block Mining Supply : 50,000,000 FB (25.0%) - 1 FB/block initial, halving every 25,000,000 blocks (~3.96 yrs)
Public Orderbook Sale : 129,000,000 FB (64.5%) - 10 transparent ask tiers on-chain (FB/ETH.DAI, 0.02 -> 1.20 DAI)
Team Allocation : 16,000,000 FB (8.0%) - 16 publicly disclosed on-chain addresses
Ecosystem Pool : 5,000,000 FB (2.5%) - validator stake grants, MM depth, bug bounties, trading comps
Min Validator Stake : 32 FB (17,280-block probation, no slashing for offline eviction)
Min Witness Stake : 32 FB (10 FB per active case bond)
Spot Fees : Maker 0% (+ ~0.04% rebate) | Taker 0.05%
Perpetual Fees : Maker 0% (+ 0.03% rebate) | Taker 0.05%
On-Chain Referral : Permanent 20% referrer rebate + 10% taker fee discount
Wallet Support : MetaMask & OKX Wallet (Chain ID 51025 / 0xc751, RPC: https://frostbit.io/rpc)
Public treasury & ecosystem addresses are fully disclosed in the Docs Center (Token Allocation).
4. Run a Node (Linux amd64 v1.0.0)Download the immutable release bundle (
dex-v1.0.0-linux-amd64.zip) from GitHub Releases or build from source with Go 1.24 + Node.js 22 (
bash scripts/verify-public.sh):
unzip dex-v1.0.0-linux-amd64.zip && cd dex
chmod +x dex explorer frost-ceremony miner-register node-key start-dex-node frostbit-node
# Place target network's 5 public config files into ./config/runtime/, then verify:
rm -f ./CONFIGURATION_REQUIRED
./dex --check-config --config-dir ./config/runtime
# Import a 0600 64-hex key into an encrypted Geth V3 keystore:
./node-key import --private-key-file miner.key --out miner.keystore
# Start syncing via latejoin (open TCP & UDP on BasePort, e.g. 19000):
DEX_LOG_FILE=./logs/node.log \
./dex --env=prod --config-dir=./config/runtime --peers=./config/runtime/peers.json \
--data-dir=./data --bootstrap-mode=latejoin --resume=false \
--listen-addr=0.0.0.0:19000 --advertise-addr=<PUBLIC_IPV4>:19000 \
--keystore=./miner.keystore --no-simulator --auto-register-witness=false
5. Engineering Deep Dives & Official Links