- web3.js
npm install
npm install -g truffle
truffle compile
ganache-cli (port: 8545) or run Ganache aplication (port: 7545)
truffle migrate
ng serve
use a browser with Metamask and select private network
- IPFS
install ipfs
https://gist.github.com/MiguelBel/b3b5f711aa8d9362afa5f16e4e972461
ipfs init
ng build
in dist folder comment <!--<base href="/">-->
ipfs add -r dist
Optional:
ipfs name publish <hash-generated-from-previous-command>
ipfs name resolve <hash-generated-from-previous-command>
- IPFS URLS
https://ipfs.io/ipfs/QmPoSSBVBZ7WeucxV1fPHsyRMCVBYguGJEg2EW9dheVsCo
https://gateway.ipfs.io/ipfs/QmPoSSBVBZ7WeucxV1fPHsyRMCVBYguGJEg2EW9dheVsCo
https://ipfs.infura.io/ipfs/QmPoSSBVBZ7WeucxV1fPHsyRMCVBYguGJEg2EW9dheVsCo