A minimally viable implementation of PYUSD must:Documentation Index
Fetch the complete documentation index at: https://docs.paxos.com/llms.txt
Use this file to discover all available pages before exploring further.
- Allow the recipient to create an Ethereum wallet address to receive PYUSD tokens.
- Monitor the PYUSD main network address for transfers to the recipient’s wallet address.
- Appropriately credit the user’s balance upon confirmed transfers.
- Allow the user to transfer PYUSD tokens back to Paxos and PayPal using the contract’s
transferortransferFromfunctions.
transferFrom, we recommend using the increaseApproval and decreaseApproval functions rather than approve.
This avoids a well known attack vector in the standard approve function.