Skip to content

Conversation

@arcoraven
Copy link
Contributor

@arcoraven arcoraven commented Dec 8, 2024

PR-Codex overview

This PR focuses on updating the erc721mintTo function in the mintTo.ts file to integrate the thirdweb SDK for minting NFTs, enhancing the transaction handling and improving input validation.

Detailed summary

  • Replaced local getContract and queueTx imports with thirdweb SDK functions.
  • Updated the transaction preparation to use mintTo from thirdweb/extensions/erc721.
  • Added backward compatibility for metadata handling.
  • Changed request header variable names for clarity.
  • Improved input validation with maybeAddress and requiredAddress functions.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@arcoraven arcoraven merged commit 1505c30 into main Dec 8, 2024
5 checks passed
@arcoraven arcoraven deleted the ph/mintToV5 branch December 8, 2024 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants