Smart Contracts

Deploy and interact with smart contracts on the Binomena blockchain

Deploy Contract

Upload and deploy a new smart contract to the blockchain

My Contracts

View and manage your deployed smart contracts

Contract Templates

Browse and use pre-built smart contract templates

Smart Contract Guide

Getting Started

Smart contracts on Binomena are written in WebAssembly (WASM) and can be developed using languages like Rust, AssemblyScript, or C/C++.

To deploy a smart contract, you'll need:

  • A compiled WASM binary of your contract
  • A Binomena wallet with sufficient BNM tokens
  • A contract ABI (Application Binary Interface) file

Development Tools

We recommend the following tools for developing Binomena smart contracts:

  • Binomena SDK - Our official development kit
  • Rust with wasm-pack - For Rust developers
  • AssemblyScript - TypeScript-like syntax for WebAssembly
  • Binomena CLI - Command-line tools for testing and deployment
Read Documentation

Smart Contract Development Process

  1. Write your contract - Develop your smart contract using Rust, AssemblyScript, or another WASM-compatible language.
  2. Compile to WASM - Compile your contract to a WebAssembly binary file.
  3. Test locally - Use the Binomena CLI to test your contract in a local environment.
  4. Deploy to testnet - Deploy your contract to the Binomena testnet for further testing.
  5. Deploy to mainnet - Once thoroughly tested, deploy your contract to the Binomena mainnet.
  6. Interact with your contract - Use the Binomena SDK or our web interface to interact with your deployed contract.