@ara-web/cascadefund-smartcontracts
v0.0.1
Published
Cascade.org smartcontracts on EVM network
Readme
CascadeFund and Hyperpayment implementation
Implementation of the cascadefund's donatation distribution via hyperpayment protocol as a EVM based blockchain smartcontracts.
TODO
Update
- CategoryBusiness._wthidraw should mark withdrawer not msg.sender Otherwise, it can not be withdrawn by the server
- Revoke the server contract from revoking
V2
- OneTimeDeposit in CategoryCustomer should be set in the initializer, and we can update it later as a manager.
- Implement token converter
- implement the deploy smartcontracts following
Deployed addresses
StringUtils– a string related library on BaseSepolia: contracts/StringUtils.sol:StringUtilsCascadeAccount– a smartcontract to indirectly collect tips from all donations on BaseSepolia: explorerCategoryBusiness– a smartcontract to collect donations on BaseSepolia: explorerCategorySBOM– a smartcontract to redirect dependencies donations toCascadeFundon BaseSepolia: explorerCategoryCustomer– a smartcontract to collect donations from users by creating unique smartcontract for each transaction on BaseSepolia: explorerHyperpaymentV1– a smartcontract of the hyperpayment protocol on BaseSepolia: 0x8f7144A38C2AfbFedebc71d1211aEdf15e00413FTestToken– a FakeUSDC (fUSDC) imitating stable coins on BaseSepolia: contracts/TestToken.sol:TestToken
Guide
Try running the following
npx hardhat test
npx hardhat run scripts/deploy-cascade-account.ts --network baseSepolia
npx hardhat run scripts/initial-link.ts --network baseSepolia
npx hardhat run scripts/opensource.hyperpayment.spec.ts --network baseSepoliaLinks
- Official Hardhat Upgradeable deployment and updates documentation.
