Skip to content

goldenfingers98/truffle-react-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

truffle-react-quickstart

0.1- open ganache and start new instance
0.2- truffle migrate
0.3- import a wallet and start the dDpp

1- install the dependencies

cd client
npm i

2- add your methods in the smart contract
3- add your components
4- import "instance" and "address" using "useSelector"
5- execute your methods

instance.methods.method_name(args).call({from:address}).then(res=>{})


to execute a view, or

instance.methods.method_name(args).send({from:address}).then(res=>{})

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published