Over the past months, I’ve been working with web2 projects looking to integrate blockchain technology. So, I developed smart contracts for a fully on-chain payment gateway using ERC20 stablecoins. To give back to the community, I’ve made the code public so anyone can use it! 🔓✨ Link to the GitHub below. Right now, the repo contains the most basic version of a series of smart contracts I’ll be sharing. Upcoming versions include: 🔹 Full on-chain access management – Handles purchases, accounting, user purchases history, and access validation. 🔹 Referral-based payments – A % of each purchase is automatically sent to the referrer’s address. 🔹 Native token payments with USD-pegged price. Let me know what you think or if you have ideas to improve it. https://github.com/FcoGomez92/basic-paywall-with-erc20
- 0 replies
- 0 recasts
- 0 reactions
Trying out Cursor IDE. Is it really worth it for smart contract development?
- 0 replies
- 0 recasts
- 0 reactions
Maybe I sound like a psycho since Foundry already helps prevent .env files with private keys, but I still use a low-funds deployer account and transfer ownership right after deployment—especially for contracts where the owner has key privileges. Someone doing the same?
- 0 replies
- 0 recasts
- 2 reactions
