npx hardhat run scripts/deploy.ts --network rinkeby
- Fund with address 0:
npx hardhat fund --pca 0xC8bF11D63A2ef8FC007A9705a73B8914631Ed368 --fma 0xD706D5abf9a33e5D976DCc55deA1720Cf5bf46C0 --accountindex 0 --network rinkeby
- Fund with address 1
npx hardhat fund --pca 0xC8bF11D63A2ef8FC007A9705a73B8914631Ed368 --fma 0xD706D5abf9a33e5D976DCc55deA1720Cf5bf46C0 --accountindex 1 --network rinkeby
- Withdraw with account that is not the owner
npx hardhat withdraw --pca 0xC8bF11D63A2ef8FC007A9705a73B8914631Ed368 --fma 0xD706D5abf9a33e5D976DCc55deA1720Cf5bf46C0 --accountindex 1 --network rinkeby
- Withdraw with owner
npx hardhat withdraw --pca 0xC8bF11D63A2ef8FC007A9705a73B8914631Ed368 --fma 0xD706D5abf9a33e5D976DCc55deA1720Cf5bf46C0 --accountindex 0 --network rinkeby
- Fund by sending ether (receive function)
npx hardhat receive --fma 0xD706D5abf9a33e5D976DCc55deA1720Cf5bf46C0 --accountindex 0 --network rinkeby
- Get funder balance
npx hardhat getFundsForAddress --pca 0xC8bF11D63A2ef8FC007A9705a73B8914631Ed368 --fma 0xD706D5abf9a33e5D976DCc55deA1720Cf5bf46C0 --accountindex 0 --network rinkeby
-
Notifications
You must be signed in to change notification settings - Fork 0
marcosmartinez7/solidity-sandbox
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published