Coder Social home page Coder Social logo

foodaka / ethereum-nft-marketplace-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ethereum-boilerplate/ethereum-nft-marketplace-boilerplate

0.0 1.0 0.0 14.35 MB

License: MIT License

Shell 0.08% Solidity 4.97% JavaScript 93.27% HTML 0.57% CSS 1.11%

ethereum-nft-marketplace-boilerplate's Introduction

ethereum-boilerplate-NFT-Marketplace

This Project is a fork of Ethereum Boilerplate and demostrates how you can build your own NFT Marketplace. This project of course work on any EVM-compatible blockchain such as Polygon, Avalanche, Binance Smart Chain and other such chains.

Preview

⭐️ Star us

If this boilerplate helps you build Ethereum dapps faster - please star this project, every star makes us very happy!

🚀 Quick Start

📄 Clone or fork ethereum-nft-marketplace-boilerplate:

git clone https://github.com/ethereum-boilerplate/ethereum-nft-marketplace-boilerplate.git

💿 Install all dependencies:

cd ethereum-nft-marketplace-boilerplate
yarn install 

✏ Rename .env.example to .env in the main folder and provide your appId and serverUrl from Moralis (How to start Moralis Server) Example:

REACT_APP_MORALIS_APPLICATION_ID = xxxxxxxxxxxx
REACT_APP_MORALIS_SERVER_URL = https://xxxxxx.grandmoralis.com:2053/server

🔎 Locate the MoralisDappProvider in src/providers/MoralisDappProvider/MoralisDappProvider.js and paste the deployed marketplace smart contract address and ABI

const [contractABI, setContractABI] = useState();
const [marketAddress, setMarketAddress] = useState();

🔃 Sync the MarketItemCreated event /src/contracts/marketplaceBoilerplate.sol contract with your Moralis Server, making the tableName MarketItems

event MarketItemCreated (
  uint indexed itemId,
  address indexed nftContract,
  uint256 indexed tokenId,
  address seller,
  address owner,
  uint256 price,
  bool sold
);

🚴‍♂️ Run your App:

yarn start

ethereum-nft-marketplace-boilerplate's People

Contributors

algotrader999 avatar comingalive avatar filipmartinsson avatar iamjaysway avatar ivan-liljeqvist avatar locothedev avatar saviour1001 avatar y0moo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.