Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month ago
JSON representation
A joint account smart contract using solidity
- Host: GitHub
- URL: https://github.com/code-architect/smart-contract-joint-bank-account
- Owner: code-architect
- Created: 2024-02-01T00:45:27.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-02-05T17:27:27.000Z (11 months ago)
- Last Synced: 2024-12-06T08:05:37.867Z (about 1 month ago)
- Topics: chai, ethereum, hardhat, javascript, remixd, smart-contracts, solidity
- Language: JavaScript
- Homepage:
- Size: 239 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample Joint Bank Account
This need to support multiple account owners, so joint banck account1. 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 withdrawlThis 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
```