naftalimurgor / rinevs_frontend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Svenir dApp

πŸ„β€β™‚οΈ Quick Start

Prerequisites: Node (v16 LTS) plus Yarn and Git

install and start your πŸ‘·β€ Hardhat chain:

cd <root_directory>
yarn install
yarn chain

in a second terminal window, start your πŸ“± frontend:

cd <root_directory>
yarn start

in a third terminal window, πŸ›° deploy your contract:

cd scaffold-eth
yarn deploy

Mint a few NFTs by editting /packages/hardhat/scripts/mint.js:

  • change toAddress to set the address to mint the NFTs to
  • Edit the images, metadata
  • Run yarn mint to mint

πŸ” Edit contract in packages/hardhat/contracts

πŸ“ Edit frontend App.jsx in packages/react-app/src

πŸ’Ό Edit deployment scripts in packages/hardhat/deploy

πŸ“± Open http://localhost:3000 to see the app

πŸ“š Documentation

Documentation: docs.scaffoldeth.io

Config

🌍 You need an RPC key for testnets and production deployments, create an Alchemy account and replace the value of ALCHEMY_KEY = xxx in packages/react-app/src/constants.js with your new key.

πŸ“£ And a InfuraID for production (curent one is from scaffoldeth)

About

License:MIT License


Languages

Language:CSS 84.1%Language:JavaScript 14.5%Language:Shell 0.8%Language:Solidity 0.3%Language:Dockerfile 0.2%Language:HTML 0.1%Language:TypeScript 0.1%Language:Less 0.1%