Smart Contracts
GEM includes eight ink! 5.1 smart contracts deployed on BelizeChain's pallet-contracts runtime on the Ceiba testnet. From fungible tokens and NFTs to the BelizeX DEX, multi-token PSP37, DAO governance, and a reusable access-control library, each contract integrates with the full BelizeChain ecosystem.
Contract Suite
DALLA Token (PSP22)
Complete fungible token implementing the PSP22 standard (Polkadot's ERC-20). Features transfer, approve, transferFrom, minting, burning, and allowance management. 12 decimal places, 100M max supply, 21M initial supply.
BeliNFT (PSP34)
Full-featured NFT contract implementing PSP34 (Polkadot's ERC-721). Supports mint, transfer, burn, metadata URIs, collection management, enumeration, and approval system. Use cases include digital art, land title NFTs, and identity documents.
Simple DAO
Lightweight governance contract with proposal creation, DALLA token-weighted voting, NFT-based membership verification, configurable voting periods, and proposal execution after quorum. Demonstrates cross-contract integration.
Faucet
Testnet token distribution contract with configurable drip amount (default 1,000 DALLA), cooldown period (100 blocks ≈ 10 minutes), owner refill, claim tracking, and usage statistics.
Hello BelizeChain
Introductory tutorial contract demonstrating basic ink! patterns — message storage, global counter, per-account visit tracking, events (MessageUpdated, CounterIncremented, VisitRecorded), and error handling.
pallet-contracts Integration
All contracts deploy on BelizeChain's pallet-contracts runtime (Polkadot SDK stable2606). Integration with Economy, Identity, Governance, BNS, BelizeX, and the other custom pallets for full ecosystem interoperability.