Skip to main content

The GEM (General Ecosystem Machinery)

The GEM is BelizeChain's smart contract platform powered by ink! 5.1.1 and pallet-contracts. It provides the contract suite, DeFi primitives, security libraries, and seamless runtime integration. The contract suite remains under active audit — check the GEM repository for the latest audit status.

Core Offerings

  • BelizeX: A decentralized exchange with automated market making (AMM).
  • Security & Standards: Includes PSP22 (fungible), PSP34 (NFT), and the new PSP37 (multi-token) standards, along with full access control libraries.
  • Cross-Pallet Integration: Smart contracts can directly interact with all 19 BelizeChain pallets, allowing them to utilize DALLA/bBZD, Nawal AI predictions, Kinich Quantum randomness, and Pakit storage proofs.

Developer SDK

The GEM provides a full JavaScript/TypeScript SDK for interacting with contracts on BelizeChain:

npm install @belizechain/gem-sdk @polkadot/api @polkadot/api-contract

Example of transferring DALLA via SDK:

const { GemSDK } = require('@belizechain/gem-sdk');

const sdk = new GemSDK('ws://localhost:9944');
await sdk.connect();

await sdk.dallaTransfer(
    contractAddress,
    sender,
    recipientAddress,
    100000000000000
);