#wasm-engine #executing #calling #instance #blockchain

no-std sc-executor

A crate that provides means of executing/dispatching calls into the runtime

61 releases (breaking)

0.49.0 May 3, 2026
0.48.0 Mar 28, 2026
0.47.0 Dec 18, 2025
0.45.0 Oct 2, 2025
0.8.0-alpha.5 Mar 24, 2020

#19 in #calling

Download history 8817/week @ 2026-03-03 35001/week @ 2026-03-10 39119/week @ 2026-03-17 42382/week @ 2026-03-24 51483/week @ 2026-03-31 49229/week @ 2026-04-07 49356/week @ 2026-04-14 40904/week @ 2026-04-21 38965/week @ 2026-04-28 32086/week @ 2026-05-05 26840/week @ 2026-05-12 41399/week @ 2026-05-19 37123/week @ 2026-05-26 25974/week @ 2026-06-02

137,116 downloads per month
Used in 225 crates (28 directly)

GPL-3.0-or-later…

2MB
12K SLoC

Rust 10K SLoC // 0.1% comments WebAssembly 2.5K SLoC // 0.0% comments

A crate that provides means of executing/dispatching calls into the runtime.

There are a few responsibilities of this crate at the moment:

  • It provides an implementation of a common entrypoint for calling into the runtime, both wasm and compiled.
  • It defines the environment for the wasm execution, namely the host functions that are to be provided into the wasm runtime module.
  • It also provides the required infrastructure for executing the current wasm runtime (specified by the current value of :code in the provided externalities), i.e. interfacing with wasm engine used, instance cache.

License: GPL-3.0-or-later WITH Classpath-exception-2.0

Dependencies

~46–64MB
~1M SLoC