Skip to content

Solidity contracts for simplified ERC-20 + native batch payment splitter

License

Notifications You must be signed in to change notification settings

mono-koto/pizza-contracts

Repository files navigation

🍕 PYUSD.pizza Contracts

This is the smart contracts repo for pizza.split, a little protocol + dApp for splitting ETH and ERC-20s among friends.

This project was created in collaboration with Garden Labs and funded by PayPal to explore and demonstrate developer use cases of the PYUSD ERC-20 stablecoin.

Dependencies

Install Foundry.

Clone the repo.

Run forge install.

Configuration

Copy the .env.example file to .env and fill in your own values.

Testing

For this project I've gone ahead and just created a Makefile for common build targets. You can run tests with the bare make command:

make

See Foundry docs for more testing options.

Deployment

Check out the Makefile for build/deploy targets. Example:

make deploy-sepolia-dryrun
make deploy-sepolia

Private key management

The private key is only used for deployment.

Depending on your development needs and risk tolerance, your key can be managed any way you like. My recommended approach is to use some kind of encrypted key storage. Check out Foundry's encrypted keystore, or use something like 1Password's op CLI.

About

Solidity contracts for simplified ERC-20 + native batch payment splitter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published