Skip to content

Que20/HelloNFT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HelloNFT

An ERC721 implementation with it's attribute Node+Express server and a React client app.

Requirements

Truffle

Truffle is a development environment, testing framework and asset pipeline for Ethereum.

npm install -g truffle

Ganache

Ganache is your personal blockchain for Ethereum development.

Download

Build & Start

Smart contract

cd contract
# install dependancies
npm install
# deploy to ganache 
truffle migrate --reset

Server

cd server
# install dependancies
npm install
# start server
nodemon src/index.js

Client app

Before starting the client, make sure to copy the ABI generated by the truffle migrate command into the client app

cp contract/src/abis/Hello.json app/src/abi/Hello.json

Do that after every change/deploy in the smart contract.

Then you can build and run the app.

cd app
# install dependancies
npm install
# start app
npm start

About

An ERC721 implementation with it's attribute Node+Express server and a React client app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published