Smart contracts for Sugar, a Web3-native platform empowering streamers and communities to connect, collaborate, and monetize transparently.
- Foundry – Fast, modular testing and deployment framework for Solidity
- Forge Std – Testing utilities and cheatcodes
- OpenZeppelin Contracts – Secure, audited smart contract libraries
-
Install Foundry:
curl -L https://foundry.paradigm.xyz | bash foundryup
-
Install dependencies:
npm install
-
Run tests:
forge test
-
Run a script (e.g., deploy):
forge script script/SugarDonation.s.sol --rpc-url $RPC_URL --private-key $PRIVATE_KEY --broadcast
Built with ❤️ by:
- Rei Yan
- Jo
- Rama
Part of the Sugar project: github.com/sugar-space