Wasm Smart Contracts
The Wasm section covers the Wasm stack on Astar/Shiden, some more advanced topics, and contains a few tutorials to help you build and deploy Wasm smart contracts.
If you would like to start building right away, we encourage you to check out Swanky Suite - The all-in-one tool for Wasm smart contract developers within the Polkadot ecosystem.
📄️ Smart Contract Stack
Smart Contract Runtime Environment
Embedded Domain-Specific Languages (eDSLs), are tools used to improve the blockchain and smart contract development experience by making it easier to write and understand code. EDSLs are programming languages or libraries that are designed to be used within the context of another programming language, to provide a more expressive and intuitive way to write smart contracts. In other words, an eDSL allows developers to write smart contracts at a higher-level, which makes the code easier to read and interpret, and less prone to error.
📄️ Ink! Development
Ink! is a Rust eDSL developed by Parity. It specifically targets smart contract development for Substrate’s pallet-contracts.
📄️ Ask! Smart Contracts
Ask! eDSL has many limitations and issues
📄️ Nodes Supporting Contracts
Local Development Nodes
🗃️ Swanky Suite
📄️ Basic Contract
Each contract should be in its own crate. In a folder, create two files:
🗃️ Contract Environment
📄️ Transaction Fees
📄️ Polkadot Standards Proposals
The Polkadot ecosystem has its own set of standards to fulfill ecosystem needs. Visit Polkadot Standards Proposals (PSPs) Github to learn more.
Didn't find your answer?
🗃️ Tools and Libraries
📄️ ink!redible NFT architecture
This guide will give a brief overview of the !inkredible NFT on Astar.