Skip to content

Claim NFT task print args#528

Merged
ethereumdegen merged 2 commits intoteller-protocol:developfrom
passabilities:develop
Nov 7, 2025
Merged

Claim NFT task print args#528
ethereumdegen merged 2 commits intoteller-protocol:developfrom
passabilities:develop

Conversation

@passabilities
Copy link
Contributor

  • Adds --print-args flag to claim-nft task to use on Etherscan
    • E.g. hh claim-nft --network mainnet --account 0x123 --print-args
  • Optimization to view-nft task to view un/claimed nfts

Improves performance of NFT viewing by batching `isClaimed` calls.

Instead of checking claim status individually within a loop, this change
gathers all claims and then executes the `isClaimed` checks in parallel,
significantly reducing the overall processing time.
Adds a `printArgs` flag to the `claim-nft` task, enabling users to print function arguments and encoded calldata for inspection without executing the transaction.
This enhances transparency and allows for manual verification of transaction details.

Also updates dependencies and removes `.nvmrc` and engines from `package.json`.
@passabilities passabilities requested a review from a team as a code owner October 23, 2025 21:02
@ethereumdegen ethereumdegen merged commit 7bcfac2 into teller-protocol:develop Nov 7, 2025
0 of 2 checks passed
@ethereumdegen
Copy link
Collaborator

The new code looks good to me. I was able to set up my local environment and run the task as well.

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