An open API service indexing awesome lists of open source software.

https://github.com/kedarkk1/blockchain-dbank

BlockChain-DecentralizdBank! Simple decentralized bank made using SOLIDITY, Angular JS, Bootstrap & Chai(Unit Testing).
https://github.com/kedarkk1/blockchain-dbank

angular decentralized decentralized-applications decentralized-bank ethereum js solidity typescript

Last synced: 3 months ago
JSON representation

BlockChain-DecentralizdBank! Simple decentralized bank made using SOLIDITY, Angular JS, Bootstrap & Chai(Unit Testing).

Awesome Lists containing this project

README

          

Commands used by me -
```
1. npm i --save-dev hardhat @nomiclabs/hardhat-waffle ethereum-waffle chai @nomiclabs/hardhat-ethers ethers
2. Ability to resolve json modules and esModules => in tsconfig.json =>
"resolveJsonModule": true,
"esModuleInterop": true
3. npm i @openzeppelin/contracts => install smart contrants fom openzeppelin, which provides some free contracts
4. require("@nomiclabs/hardhat-waffle") in hardhat.config.js
5. npx hardhat run blockchain/scripts/deploy.js --network goerli (or run npx hardhat run decentralized-bank/blockchain/scripts/deploy.js --network goerli (or whatever's name of that network)) => output will be like
Bank Contract was deployed to: 0xabc
Token Contract was deployed to: 0xdef
6. ng serve
```

# Sample Hardhat Project

This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.

Try running some of the following tasks:

```shell
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js
```