/open-nft-marketplace

An NFT Marketplace running on ethereum, binance smart chain, polygon, avalanche, fantom, optimism and arbitrum powered by 0x smart contracts. Made in React/Next JS, MUI and Typescript.

Primary LanguageTypeScriptApache License 2.0Apache-2.0

NFT Marketplace Tweet

NFT marketplace

This marketplace is the DexKit open source showcase on how to use 0x v4 nft smart contracts on a production app. Additionally, we are building a zero code solution with premium features to help artists deploy their own marketplace in an easy and secure way. Check our docs about it here.

On this marketplace you can make offers and listings of ERC721 Tokens on the chains supported by 0x smart contracts, namely: Ethereum, Binance Smart Chain, Polygon, Fantom, Avalanche, Celo and Optimism.

How to Start

clone this repo

git clone https://github.com/DexKit/open-nft-marketplace.git

Install it and run:

npm install
npm run dev

Contributing

Check Contributing for a more in depth way how to contribute.

Deployment

We recommend Vercel to deploy this app, after you made your changes on the app.json config file, just use the button below:

Deploy with Vercel

Note that you need to set up INFURA_API_KEY to Next js be able to generate pages.

Tech used

Started from NEXT JS + Material UI+ Typescript + Boilerplat

Additionally we use trader sdk to handle nft smart contract interactions, react query to handle all http and blockchain requests, format js for internalization, web3 react to handle wallet logic. You can check our requirements here.

Roadmap

We will be adding any new evm network that 0x smart contracts will support.

It is also planned to extract all common hooks and state used to interact with the blockchain to a library repo.

Customization

If you need a zero code solution we are building one currently in beta at wizard, check our docs as well about it. Instead, if you want to deploy your own custom solution using this repo, please fork it, update the app.json file accordingly on the config folder and then deploy on Vercel (Recommended) or Heroku.

Missing feature?

We are welcome missing features, but take in mind that this is repo is intended to be base app for any dev to start working on, if it is makes sense to have that feature on this base app we will include, if it is considered a premium feature, we will be including on our premium marketplace which uses this one as base.

We at the moment consider premium features as follows:

  • - NFT trading history

  • - Artist page

  • - Cache optimizations

  • - Fetch NFT and token balances via api without the need to import, using Alchemy for instance

  • - Swap ERC20 <-> ERC20 tokens

  • - Collection level stats like orders, max supply, floor price, number of trades

  • - Improved SEO

Acknowledgements

We would like to thank ZRX project for these amazing tools and ZRX DAO for the support on building this open source app.

Wanna talk about this repo

Join our dedicated channel Open NFT Support