Shipping a USDC tip jar on Base? 3 things I learned:
1. USDC has 6 decimals, not 18. 1 USDC = 1000000
2. Use SafeERC20.safeTransferFrom, never raw transferFrom
3. Allowlist the tokens you accept. Fee-on-transfer tokens will break your accounting
Tested all of it with 15 Foundry tests. Happy to share the pattern if useful 🧱
Terminus needs JavaScript to show replies and pictures.