yarn
First, run the development server:
yarn run dev
npx @alephium/cli devnet start // this will start a devnet for smart contract tests
npx @alephium/cli devnet stop
or
cd test/docker
docker-compose up -d
Before running the application, two smart contracts need to be created:
- A marketplace smart contract where NFTs can be traded
- A default NFT collection smart contract, which will be the default collection for NFTs that do not explicitly belong to any NFT collections
yarn run deploy:contracts
yarn run test:contracts
or
yarn run test:contracts -- nft-marketplace.test.ts