/substrate-contracts-workshop

A guided tutorial for building smart contracts on Parity Substrate

Primary LanguageRustMIT LicenseMIT

Substrate Contracts Workshop

ARCHIVED

Published here: https://docs.substrate.io/tutorials/v3/ink-workshop/pt1/


This is a self-guided tutorial which will teach you how to build Wasm smart contracts on Parity Substrate using Parity ink!.

We will cover:

  1. Installing prerequisites on your computer
  2. Using the ink! CLI to start a new project
  3. Building and testing our contract
  4. Deploying our contract on a local Substrate node
  5. Interacting with our contract using the Polkadot UI
  6. Creating a Basic flipper contract.
  7. Creating a Simple incrementer contract.
  8. Creating a more complex ERC20 contract.

We would love for you to give feedback in these early stages, so open an issue or a PR!

Running Locally

With node.js version that is v12 or above installed, run

# Install the dev dependencies
yarn install

# Run the local server
yarn start