Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 1.43 KB

README.md

File metadata and controls

42 lines (24 loc) · 1.43 KB

🍕 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.