Steampunk1453 / calculator-dapp

Ethereum DApp with Typescript, Angular, web3.js and IPFS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Calculator DAPP

Commands


  • 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

About

Ethereum DApp with Typescript, Angular, web3.js and IPFS


Languages

Language:TypeScript 78.7%Language:JavaScript 15.6%Language:HTML 5.5%Language:CSS 0.3%