Skip to main content

Prerequisites

This tutorial is suitable for developers with intermediate knowledge of ink! and basic understanding of Rust. Previous experience compiling and deploying an ink! smart contract will be beneficial, such as from following the previous Flipper and NFT contract tutorials:

TutorialDifficulty
Your First Flipper ContractBasic ink! - Basic Rust
NFT contract with PSP34Intermediate ink! - Basic Rust

How to Start

To follow this tutorial you will need:

What will be used?

What will you learn?

  • Creation of a fungible token with PSP22 standard.
  • Use Openbrush wizard to create PSP22 smart contract.
  • Use Rust trait and implement it in same file.
  • Calling cross contract method with Builder.
  • ink! e2e test for cross contract calls.

Summary

I. Contract Setup
II. ManicMinter Contract
III ManicMinter e2e Test