WASM

Web Assembly

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

  1. Set up !ink environment

  2. Build Flipper contract with !ink

  3. Deploy using Polkadot.JS

pageSet up !ink environment.pageCreate a Flipper ContractpageDeploy Wasm with Polkadot.js

Last updated