Skip to content

Latest commit

 

History

History
69 lines (45 loc) · 855 Bytes

README.md

File metadata and controls

69 lines (45 loc) · 855 Bytes

Bank-With-Custom-Token-Dapp

Bank dapp with custom token with bank and token contracts

❯ Installation

Smart contracts

cd smart-contracts

❯ npm install smart contracts

npm install

❯ contracts compile and test

npx hardhat compile
npx hardhat test

❯ deploy contracts

copy env and set your rinkeby private key and url

cp .env.example .env
npx hardhat run scripts/deploy.js --network rinkeby

DAPP

cd dapp

❯ npm install dapp

npm install

❯ env

copy env and set your deployed contracts addresses

cp .env.example .env

❯ start

npm run start

Dapp Bank usage

when app boots transfer some amount of ZCN token to bank address so bank have token on its disposal for borrowing