w3bstream-wasm-rust-sdk

A Rust SDK for writing Webassembly for W3bstream.

Crates.io Apache licensed

Website | Guides | API Docs

Example

Say “Hello World!” to the w3bstream with rust-sdk.

Make sure you added the ws-sdk crate on Cargo.toml:

sh cargo add ws-sdk Then, on your lib.rs:

```rust use wssdk::log::loginfo;

[no_mangle]

pub extern "C" fn start(: i32) -> i32 { loginfo("hello world!"); return 0; } ```

More examples can be found here.