Skip to content

iKapitonau/beam_shader_rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beam Shader in Rust language (in development)

Beam shader with C++ bvm bindings for Rust

Usage

  1. Install rustup on your system. See rust installation instructions here.
  2. Install rust toolchain: $ rustup toolchain install stable
  3. Add wasm32-wasi target $ rustup target add wasm32-wasi
  4. Compile the project $ cargo build --target wasm32-wasi -r
  5. Compiled wasm files will be in ./target/wasm32-wasi/release directory

After that you can use app.wasm and contract.wasm files in the same way you use it in Beam's contracts (see https://github.com/BeamMW/shader-sdk/wiki/Running-Beam-Shaders-using-CLI-Wallet).

About

Beam smart contract in Rust language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages