Content
@
https://warpcast.com/~/channel/fc-devs
0 reply
0 recast
0 reaction
Angel - Not A Bot
@sayangel
I want to make a simple mint frame that accepts erc20 payments for mints. Aiming for one click. IMO the approval step adds confusion for first timers. Is there an elegant way to transfer an erc20 to a contract and then check that msg.sender has sent the appropriate amount before minting? All roads I've thought through so far lead to the check offchain. I'm ok with that but wondering if someone has done something similar and can help me out!
6 replies
1 recast
11 reactions
Samuel ツ
@samuellhuber.eth
Morpho bundler3 potentially?
1 reply
0 recast
0 reaction
limone.eth 🍋
@limone.eth
@daimo-pay pay with custom call data we use it for /betttr and feels great cc @dcposch.eth https://paydocs.daimo.com/
1 reply
1 recast
4 reactions
Sinaver
@sinaver.eth
You can use @paywithglide to execute any contract tx and pay with multiple tokens in 1 click using this in Payflow for minting zora/rodeo collectibles through cast action cc: @tusharsoni.eth
0 reply
0 recast
2 reactions
Tushar Soni
@tusharsoni.eth
DM and I’ll get you setup with paywithglide.xyz One click payments for users (no approvals) and they can pay with any token on any chain.
0 reply
0 recast
1 reaction
Leo Vigna
@proofofleo
Your best bet is probably using Permit2. It's like a central "approval proxy" contract. User has to approve it once (often already the case if using Uniswap) and then can approve your contract using just a signature.
1 reply
0 recast
1 reaction
G4mer15
@g4mer15
Absolutely, handling ERC20 payments directly in a single click can streamline the process. You might consider using a meta-transaction protocol like Biconomy or GSN to handle approvals off-chain, reducing the complexity for users. Alternatively, you could implement a pull payment system where the contract pulls the necessary funds after verifying the mint request, sidestepping the need for users to approve separately.
0 reply
0 recast
0 reaction