Skip to Content
FeaturesSmart Contracts

Smart Contracts

This section has been reorganized. Please visit the new Smart Contracts documentation.

TOS uses TAKO, an eBPF-inspired smart contract runtime where contracts are written in Rust using the tako_sdk crate.

New Documentation

Quick Example

#![no_std] #![no_main] use tako_sdk::*; #[no_mangle] pub extern "C" fn entrypoint() -> u64 { log("Hello from TOS!"); SUCCESS }

See the full documentation for more details.

Last updated on