wasm32 · capability-scoped
NovaWASM
Native, capability-scoped WebAssembly for high-performance financial logic.
- Deterministic metering
- Capability permissions
- Rust and AssemblyScript toolchains
Write native financial applications for NovaWASM, bring Ethereum tooling through BridgeCell and connect to professional markets through the same APIs institutions use.
1use m5_nova::prelude::*;23#[contract(capabilities = [Ledger::Transfer, Oracle::PulsePrice])]4pub struct Vault { shares: Map<Address, u128>, total: u128 }56#[contract_impl]7impl Vault {8 pub fn deposit(&mut self, ctx: &Ctx, amount: Amount) -> Result<u128> {9 ctx.ledger().transfer(ctx.caller(), ctx.this(), amount)?;10 // refuse to act on a low-confidence price11 let mark = ctx.oracle().mark("BTC-PERP")?.require_confidence(95)?;12 let minted = self.mint(ctx.caller(), amount, mark);13 emit!(Deposited { who: ctx.caller(), amount, minted });14 Ok(minted)15 }16}Code examples. Full API reference in the developer documentation.
Two runtimes
wasm32 · capability-scoped
Native, capability-scoped WebAssembly for high-performance financial logic.
json-rpc · isolated cell
Isolated Ethereum compatibility for existing contracts and tools.
Tooling
Typed clients, contract toolkit and local devnet.
Blocks, transactions, validators and receipts in real time.
Guides, references and runnable examples.
Starting points for markets, vaults and payments.
Building blocks for compliant asset issuance.
Settlement-aware payment flows on M5Chain.
Developer value
Developer fees and application services are first-class value channels in CapitalGraph, attributed transparently with double-entry accounting.
Continue exploring
Open your M5Liquid account in under a minute, or talk to our team about institutional onboarding, liquidity partnerships and integrations.