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 PSP37 (multi-token) standards, along with full access control libraries.
  • Runtime access: The contracts run on pallet-contracts with no chain extensions, so they can move PSP22 tokens and call each other, but they cannot read or write other BelizeChain pallets directly.

Developer SDK

The GEM provides a full JavaScript/TypeScript SDK for interacting with contracts on BelizeChain. It ships from the repository rather than npm:

git clone https://github.com/BelizeChain/gem.git
npm install ./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
);