/paras-ink-marketplace

Primary LanguageRustApache License 2.0Apache-2.0

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