So you wanna build Wasm smart contracts...
Substrate provides Wasm smart contract functionality through the Contracts module. ink! is a Rust-based eDSL for writing smart contracts on this platform. The resources below will help you get up to speed on how to use Substrate and ink! in the context of writing smart contracts.
Both platforms are still in rapid development and may run into breaking changes in the near future. So join our community on Riot and ask questions using theStackOverflowRiot Chat
First let's learn a bit more about Substrate smart contracts. Here you will learn about the SRML Contracts module, which provides a Wasm execution environment for your smart contracts. Then you can learn about ink!, a Rust based eDSL for building Wasm smart contracts compatible with our Contracts module.Learn More
Let's hit the ground running by creating and deploying your first smart contract. You can jump into our end-to-end workshop where we will teach you in detail how to build simple smart contracts like an incrementer and an ERC20 token.Start the Workshop
You are now ready to start building your own smart contracts! Remember that ink! is still a rapidly developing platform, so take advantage of the community resources linked at the beginning of your journey and share your experiences!Back to Home