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).
- Host: GitHub
- URL: https://github.com/kedarkk1/blockchain-dbank
- Owner: KedarKK1
- Created: 2022-12-20T16:25:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-20T21:39:19.000Z (over 3 years ago)
- Last Synced: 2025-05-21T08:48:51.360Z (about 1 year ago)
- Topics: angular, decentralized, decentralized-applications, decentralized-bank, ethereum, js, solidity, typescript
- Language: JavaScript
- Homepage: https://drive.google.com/drive/u/0/folders/1kR9RT4u7lxr32pb_kZ7ZGkYTlwyUmrAI
- Size: 1.14 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```