A comprehensive NFT Marketplace showcasing the power of Spheron and Reef.
This project serves as a full-fledged demonstration of a decentralized NFT marketplace. Users can mint, list, buy, and resell NFTs within a robust and decentralized ecosystem.
We developed this NFT marketplace to provide a hands-on example for anyone interested in creating their own marketplace, showcasing the power of Spheron and Reef.
To set up and run this project locally, follow these steps:
- Clone this repository.
- Navigate to the project directory and install dependencies:
yarn
- Deploy the contracts to Reef using:
yarn hardhat run scripts/deploy-and-interact.js
- Create a
.env
file using the.env-example
as a template and fill in the required environment variables:NEXT_PUBLIC_NFT_MARKET_ADDRESS=xxxx NEXT_PUBLIC_NFT_CONTRACT_ADDRESS=xxx
- Sign up for a Spheron account here.
- Obtain your Spheron Storage access token following the instructions here.
- In the
backend
directory, edit the.env
file to include your Spheron Storage access token:SPHERON_TOKEN=<your_access_token>
- Start the backend using:
yarn start
- Use the
/initiate-upload
endpoint in your frontend to obtain an upload token for the browser SDK. Detailed instructions can be found here. - You can start your project using
yarn dev
.
🚀 Congratulations! You now have your own end-to-end NFT marketplace.
For help, discussions or any other queries: Join our Community
- 0.1
- Initial Release
This project is licensed under the MIT License - see the LICENSE file for details.