-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
miniapp: zora minter #81
Conversation
🦋 Changeset detectedLatest commit: 5bbee7a The changes in this PR will be included in the next version bump. This PR includes changesets to release 17 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
c176a6b
to
1675db8
Compare
1675db8
to
4f90092
Compare
4f90092
to
555a7b3
Compare
555a7b3
to
461fdcc
Compare
461fdcc
to
137f5bf
Compare
dde3d9e
to
2518765
Compare
2518765
to
e68947f
Compare
const referrer = searchParams.get("referrer") || undefined; | ||
|
||
// Extract contract, type, and chain ID from itemId | ||
// e.g. chain://eip155:1/erc721:0xa723a8a69d9b8cf0bc93b92f9cb41532c1a27f8f/11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
helpful examples!
This miniapp uses the reservoir API to generate mint transactions for a given user address and collection address. This transaction data is then signed and submitted via the new
SENDETHTRANSACTION
action of which the implementation is left up to the client.The miniapp also requires additional context to function e.g. the wallet address of the requesting user. To support this, an additional optional key:
user.wallet.address
is introduced to the context object.