cd smart_contracts
npm i
ganache-cli
run localhost develpment environmenttruffle test
run code testtruffle compiler
get abitruffle deploy --network rinkeby -f 2 --reset
deploy smartcontracts to Rinkebytruffle deploy --network develpment -f 2 --reset
deploy smartcontracts to local- cogy abi in SatarNotary.json and SatarNotary in console, replace code in index.html
- open index.html using
node index.html
,url is http://127.0.0.1:1337/
- Transaction ID(createStar()):
0x5ad3edfb721d73dffac7eb92ac06dff2cfda9976decca827e6fa32d0ae9761b3
- Transaction ID(putStarUpForSale()):
0x6120de457ebe3790be5a51fa5eb972d79a4d9b94fb42b0832dc98f2f3b912252
- Contract address:
0x65c970e9c2e984d581980d421ee56333448e17dc