Skip to content

inkdevhub/nft

Repository files navigation

NFT project using PSP34

workflow stack-exchange discord built-with-ink License

This is an example nft project using ink! smart contract. The project is generated with Openbrush wizard for PSP34 with added PayableMinted trait.

Purpose

This is an unaudited nft project template. It can be used to speed up wasm nft project on Astar and other networks.

License

Apache 2.0

🏗️ How to use - Contracts

💫 Build
cargo +nightly contract build
💫 Run unit test
cargo +nightly test
💫 Deploy

First start your local node. Recommended swanky-node v0.13.0

./target/release/swanky-node --dev --tmp -lruntime=trace -lruntime::contracts=debug -lerror
  • or deploy with polkadot.JS. Instructions on Astar docs
💫 Run integration test

First start your local node. Recommended swanky-node v0.13.0 And then:

yarn
yarn compile
yarn test
💫 Deployed contracts

Shiden Graffiti - using ink! v3.4

📚 Learn

Follow the From Zero to ink! Hero tutorial tu learn how to build this smart contract