Skip to content

Contract Framework

Antonio Yang edited this page Feb 13, 2022 · 5 revisions

Contract Framework

Sewup is one of Rust contract frameworks, there are also others in different domain. Here is the summary help you know the different.

\ Sewup Ink! Solana
Blockchain Ecosystem Ethereum based Substrate based Solana base
Binary format eWASM WASM eBPF
Low level api ethereum_api seal0 BPF helper calls
Executor Ewasm runtime Wasmtime VM Kernel mode service
---------------------- --------------------- ----------------- --------------------------------
build tool cargo-sewup cargo-contract cargo-builbpf
test environment Test runtime i Native ii Solana Runtime
Develope environment Linux/Windows iii Linux/Windows Linux
---------------------- --------------------- ----------------- --------------------------------
client tools web3.js iv/ None polkadot.js JSON PRC API SDK (Rust/JS SDK)
    1. Test runtime is based on Wasmedge(SSVM) 6.3.1
    1. Test does not realy running environment on chain, only for bussiness logic testing.
    1. Windows possible after upgrade wasmedge, and the test runtime can work on windows.
    1. token feature is supported, and need to provide abi_json and parsing correctly.
Clone this wiki locally