Beta

WASM Smart Contracts on Accumulate

Execute sandboxed WebAssembly modules as Layer-1 transactions on the Accumulate Layer-0 network.

L1 on L0 Architecture

How Infrix executes smart contracts on Accumulate

Your WASM Modules User-deployed smart contract bytecode Infrix Runtime (L1) Sandboxed WASM execution + 60+ host functions Accumulate Protocol (L0) Consensus, state, and anchoring

Features

Everything you need to build and deploy smart contracts on Accumulate

60+ Host Functions

Rich standard library for token operations, data access, and cryptographic primitives built directly into the runtime.

Native Token Standards

Mint, transfer, and burn tokens natively within your contracts using first-class token primitives.

Sandboxed Execution

Memory-safe WASM sandbox with strict resource limits. Contracts cannot access the host system or other contracts without permission.

Multi-Language Support

Write contracts in Rust, C, AssemblyScript, or any language that compiles to WebAssembly.

Deterministic Execution

Identical results across all validators. Every contract execution is fully reproducible and verifiable.

Gas Metering

Fair, predictable execution costs. Every operation is metered so resource usage is transparent and bounded.

Write a Contract

A simple token transfer contract using the Infrix SDK

use infrix_sdk::prelude::*;

#[infrix::contract]
pub fn transfer(to: Address, amount: u64) -> Result<()> {
    let sender = infrix::caller();
    let balance = infrix::balance_of(&sender)?;
    require!(balance >= amount, "insufficient balance");

    infrix::transfer(&sender, &to, amount)?;
    infrix::emit_event("Transfer", &[sender, to], amount);
    Ok(())
}

Roadmap

Tracking progress toward production-ready smart contracts

Overall Progress60%

Core Runtime

Complete

Sandboxed WASM execution engine with full bytecode validation, memory isolation, and deterministic state transitions.

Host Functions

In Progress

60+ host functions for token operations, persistent storage, cryptographic primitives, and cross-contract calls.

Developer Tools

Planned

CLI toolchain, interactive debugger, deployment pipeline, and integration with Accumulate Studio.

Start Building Smart Contracts

Infrix is open-source and ready for experimentation. Clone the repo, write your first contract, and deploy to the Accumulate DevNet.