Technology · WASM Runtime § 05 of 11
Smart Contracts

WebAssembly
Smart Contract
Runtime.

Write in Rust, C, or AssemblyScript. Compile to WebAssembly. Deploy on-chain. With autonomous triggers, contracts execute on schedule — no keepers, no cron, no third party.

4
Languages
Rust · C · AS · Go
~1KB
Bytecode
Lightweight on-chain
100×
vs EVM
Compiled, not interpreted
0
External Deps
No keepers · no cron
Compile · Deploy · Execute From source to autonomous
01
Rust / C / AS
Source code
02
Compiler
rustc · wasm-pack · asc
03
WASM
~1KB bytecode
04
On-Chain
Transaction chain deploy
05
Execute
Triggered autonomously
Multi-Language

Write in the language you know.

No Solidity lock-in. Compile any modern language to WASM and deploy on-chain.

01 Recommended

Rust

Systems-level performance with memory safety. The gold standard for WASM contracts. Borrow checker, zero-cost abstractions, deterministic compilation.

#[contract]
pub fn transfer(
  to: Address,
  amount: u64
) -> Result<()> {
  // ...
}
02 Easy Start

AssemblyScript

TypeScript-like syntax — easy onboarding for web developers. Compiles directly to WASM. Familiar tooling, npm-friendly.

export function transfer(
  to: Address,
  amount: u64
): void {
  // ...
}
03 High Performance

C / C++

Maximum performance for compute-intensive workloads. Legacy system integration. Use existing libraries and battle-tested code.

__attribute__((export))
int transfer(
  address_t to,
  uint64_t amount
) {
  // ...
}
Core Features

Built for Production.

Not a toy VM — a production-grade compiled runtime with native confidential compute.

10–100× vs EVM

Compiled Performance

Orders of magnitude faster than EVM interpreted bytecode. WebAssembly compiles to near-native speed — real performance for real workloads.

Deterministic

Sandboxed Execution

Memory-safe, no host filesystem access, deterministic results on every node. Full isolation guarantees — your contract cannot escape its sandbox.

Zero Downtime

Hot-Upgradeable

Deploy new contract versions via your Transaction Chain — no proxy patterns, no migration scripts. The old version is replaced atomically.

Confidential

FHE Host Functions

Call OpenFHE directly from your contract for confidential compute. Encrypt, compute, decrypt — all within the WASM runtime.

The Differentiator

Autonomous
Triggers.

Contracts that execute themselves — on schedule, on event, on condition. No Chainlink Keepers. No Gelato. No cron jobs.

Why this changes everything

On Ethereum, you need third-party services (Chainlink Keepers, Gelato) to trigger smart contracts — extra cost, extra dependency, extra failure point. On ATSHI, triggers are native to the protocol, evaluated at consensus level. Your contracts are truly autonomous.

Schedule

Date / Time

Execute at a specific date, one-time or recurring. Schedule a token unlock for January 1st, a quarterly dividend distribution, a daily rebalancing — all defined in the contract itself.

Periodic

Interval

Periodic execution every N blocks or N minutes. A health-check contract that runs every 5 minutes. A rebalancer that executes every 100 blocks. Set it and forget it.

External Data

Oracle

React to external data feeds — price changes, weather data, API responses. When ETH drops below $3,000, execute the hedge. When temperature exceeds 40°C, trigger the insurance payout.

Chain Events

On-Chain

Execute in response to on-chain events — token transfers, contract calls, threshold reached. When a wallet receives more than 10,000 ATSHI, auto-stake. When supply chain alerts fire, notify.

Advantages

Why developers choose ATSHI WASM.

01

Multi-Language

Rust, C, AssemblyScript, Go — use the language your team knows. No Solidity lock-in.

02

Compiled Speed

10–100× faster than EVM interpreted bytecode. Real performance for real workloads.

03

Autonomous

Built-in triggers — no Chainlink Keepers, no Gelato, no third-party dependency.

04

Hot-Upgrade

Deploy new versions via transaction chain. No proxy patterns, no migration scripts.

05

FHE Native

Call FHE host functions directly — compute on encrypted data from your contract.

06

Lightweight

~1–2 KB bytecode on-chain. Minimal storage cost, fast deployment.

Comparison

ATSHI WASM vs Other Runtimes.

Feature
Solidity (EVM)
CosmWasm
Solana (BPF)
ATSHI WASM
Languages
Solidity only
Rust
Rust
Rust, C, AS, Go
Runtime
Interpreted
WASM
eBPF
Compiled WASM
Autonomous triggers
No (needs Keepers)
No
No (needs Clockwork)
Native (4 types)
Hot-upgrade
Proxy hack
Migration
No
Native
FHE host functions
No
No
No
OpenFHE native
Sandboxing
Limited
Full
Full
Full WASM
Write Your First Smart Contract

Open the Playground. Deploy in minutes.

Pick your language. Pick your trigger. No setup, no boilerplate — just code.