WASM
Web Assembly
Last updated
Web Assembly
Last updated
The Metaverse.Network also support WASM smart contract via pallet-contracts module, which provides a secure sandbox for deploying and executing WebAssembly (Wasm) smart contracts.
Developers can utilize any programming language that compiles to Wasm, ensuring it aligns with the pallet-contracts API for compatibility. To streamline development and reduce the need for repetitive coding, the preferred approach involves using a domain-specific language (eDSL) designed for pallet-contracts, like ink! (Rust-based), with potential for more options as the ecosystem evolves.
In this tutorial, you will learn how to deploy the WASM smart contract using Flipper contract with !ink.
Below is a summary of steps in this tutorial
Set up !ink environment
Build Flipper contract with !ink
Deploy using Polkadot.JS