Giter VIP home page Giter VIP logo

nft-sol-react's Introduction

Contract and NFT details

  • This is a fun project only. dApp Front end is published here.

  • The contract address on rinkeby etherscan is 0x03f6d53c4b337ee4d121db358baf33df8c71108c.

  • Minted NFTs can be seen on Rinkeby OpenSea. They are goofy legal terminology ERC721 tokens.

Goofy Legal NFTs

Stack

Hardhat, Solidity, JavaScript, Alchemy entrypoint to Ethereum node APIs.

Smart contract deployed on Rinkeby Network.

React frontend deployed on Netlify.

Notes

Run commands in the relevant directory, not in project root.

Use the Metamask Wallet Browser Extension

Use the Ethereum Rinkeby testnet.

ALWAYS REMEMBER... Any time the contract is changed:

  • Redeploy.
  • Update contract address in App.js.
  • Update ABI file in the frontend's ./abi folder.
  • update the contract address constant in App.js

Compile smart contract and deploy to local Hardhat chain

Run the following commands from inside the evm directory.

  1. Run npx hardhat run scripts/<scriptname.js> from the project root. Ensure its the local script. This will test that the solidity compiles.

  2. Run npx hardhat run scripts/deploy.js --network rinkeby to deploy to the testnet. Grab the contact address and assign it to the constant in mintNFT() in the ./dApp/src/App.js`.

  3. copy the freshly made ./evm/artifacts/contracts/EpicNFT.sol/EpicNFT.json file to ./dApp/src/configs so that the front end uses the latest ABI.

Useful Reference Docs

Useful tools

nft-sol-react's People

Contributors

zeuslawyer avatar

Stargazers

 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.