Skip to content

Navigation Menu

Sign in
Sign up

Repository files navigation

NFT Marketplace project

This contract is an example for the NFT marketplace implementation. The contract currently supports 2 token types PSP34 and RMRK

License

Apache 2.0

πŸ—οΈ How to use - Contracts

πŸ’« Build

Clone project

git clone git@github.com:swanky-dapps/marketplace.git

Navigate yourself to marketplace directory

cd marketplace/contracts/marketplace
cargo contract build
πŸ’« Run unit test
cargo test
πŸ’« Run integration test

First start your local node. Recommended the latest swanky-node. After you download and unzip Swanky package for your OS, run it with

./swanky-node --dev --tmp -lruntime=trace -lruntime::contracts=debug -lerror

Navigate to Marketplace project root folder and run the following commands:

yarn
yarn compile
yarn test
πŸ’« Deploy

To manually deploy the contract to local Swanky node or any other node that supports contracts pallet use Contracts UI

About

Example NFT marketplace project using ink! smart contract.

Resources

Code of conduct

Contributing

Stars

14 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /