alchemy-sdk-js icon indicating copy to clipboard operation
alchemy-sdk-js copied to clipboard

FR: add support for newly released NFT APIs

Open thebrianchen opened this issue 3 years ago • 5 comments

Tracking issue for several new NFT endpoints that need to be added into the SDK:

thebrianchen avatar Oct 06 '22 18:10 thebrianchen

Hi, I'd like to work on some of those missing NFT endpoints. I'd start with the computeRarity one and then maybe implement the others. Are there any guidelines I should follow to implement the feature?

xeno097 avatar Oct 12 '22 02:10 xeno097

@xeno097 Thanks for offering to help! I'll work on a more holistic contributing document in the coming weeks.

For the NFT APIs:

  • Add the top-level method into the NftNamespace and the underlying implementation in src/internal/nft-api.ts.
  • Add unit tests in test/unit/nft-api.test.ts.
  • Add a couple integration tests into test/integration/nft.test.ts.

Thanks! Just a heads up, we're working on changing the payloads in getNftSales, so some of the API surface area might change.

thebrianchen avatar Oct 14 '22 19:10 thebrianchen

Nice! I'll try to get something done over the weekend and keep an eye on the repo for the changes.

xeno097 avatar Oct 14 '22 23:10 xeno097

@thebrianchen do you prefer that I keep working with smaller prs like the last one or a big one with everything? I'd prefer working with smaller ones because I think is tidier.

xeno097 avatar Oct 18 '22 20:10 xeno097

Prefer smaller PRs as well! Easier to manage and review for sure.

thebrianchen avatar Oct 18 '22 22:10 thebrianchen

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs

github-actions[bot] avatar Dec 17 '22 02:12 github-actions[bot]