/vnft-contracts

Pet dapp

Primary LanguageSolidity

The VeryNifty Smart Contracts

quickstart

git clone https://github.com/verynifty/vnft-contracts.git VNFT

cd VNFT
yarn install

you might get node-gyp errors, ignore them and run:

yarn start

in a second terminal window:

yarn chain

in a third terminal window:

yarn compile && yarn deploy

🔏 Edit smart contracts like VNFT.sol in packages/buidler/contracts

📝 Edit your frontend App.jsx in packages/react-app/src

📱 Open http://localhost:3000 to see the app

Testing the smart contracts

A set of scripts are available in packages/buidler/scripts.

Run them:

cd packages/buidler
npx builder run scripts/[NAME OF SCRIPT]].js

Verifying contracts on Etherscan

npx buidler verify --network mainnet ADDRESS_OF_CONTRACT_TO_VERIFY PARAM_1 PARAM_2...

🏗 Thanks scaffold-eth!

The starter code was forked from scaffold-eth which has everything you need to get started building decentralized applications powered by smart contracts