Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/code-architect/smart-contract-joint-bank-account

A joint account smart contract using solidity
https://github.com/code-architect/smart-contract-joint-bank-account

chai ethereum hardhat javascript remixd smart-contracts solidity

Last synced: 1 day ago
JSON representation

A joint account smart contract using solidity

Awesome Lists containing this project

README

        

# Sample Joint Bank Account
This need to support multiple account owners, so joint banck account

1. For an account we need to know the owners of the account
2. Balance of that account
3. Making a withdrawl request
4. Deposit to the account if they are owners
5. Every single owner needs to approve a withdrawl. So the steps are requesting a withdrawl, approving the withdrawl and taking the withdrawl

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
npx kill-port
```