Add SuperRare Bazaar ERC20 buy/mint proxy#22
Open
charlescrain wants to merge 4 commits into
Open
Conversation
Support pre-funded ERC20 Bazaar purchases through a minimal proxy that forwards the NFT to a specified recipient, and add deployment assets for the new contract. Made-with: Cursor
Extends SuperRareBazaarERC20BuyProxy with RareMinter integration, same-tx ERC20 funding for buys/mints, and Sepolia fork test coverage. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SuperRareBazaarERC20BuyProxy, an owner-operated proxy that lets users buy or mint NFTs with ERC20 in a single transaction by funding the proxy, executing the Bazaar/RareMinter call, and forwarding tokens to the recipient.script/bazaar/bazaar-erc20-buy-proxy-deploy/) requiringBAZAAR_ADDRESSandRARE_MINTER_ADDRESS.Test plan
forge test --match-contract SuperRareBazaarERC20BuyProxyTest(14 passing)forge test --match-contract SuperRareBazaarERC20BuyProxySepoliawithRPC_URLpointing at Sepoliascript/bazaar/bazaar-erc20-buy-proxy-deploy/deploy.shand verify buy + mint flowsMade with Cursor