A demonstration of NFT and NFT marketplace on the Alephium blockchain, showcasing different minting strategies and NFT trading capabilities.
- NFT Marketplace contract for buying and selling NFTs
- Multiple NFT collection types:
- Open collections (unlimited minting)
- Public sale collections with random minting
- Public sale collections with sequential minting
- Optional royalty support for collections
- Batch minting capabilities
- Price updates for listed NFTs
- Commission system for marketplace trades
- Node.js and Yarn
- Docker and Docker Compose
- Git
-
Start the Alephium development environment with Mongodb:
cd docker docker-compose up -d
-
Install dependencies:
yarn
-
Deploy the smart contracts:
yarn run deploy:contracts
This will deploy:
- The NFT marketplace contract for trading NFTs
- A default NFT collection contract
-
Start the backend server:
yarn run start:backend
-
Start the frontend development server:
yarn run start:frontend
The frontend will be available at http://localhost:3000
Run all contract tests:
yarn run test:contracts
Run specific test file:
yarn run test:contracts -- nft-marketplace.test.ts