onflow / nft-storefront

A general-purpose Cadence contract for trading NFTs on Flow
The Unlicense
102 stars 53 forks source link

Implement Storefront Transactions Using The NFT Catalog. #66

Closed prpatel05 closed 2 years ago

prpatel05 commented 2 years ago

This PR integrates with the NFT Catalog to simplify the buy/sell transactions (remove the need for importing the specific NFT contracts).

NOTE: For the sell_item_via_catalog, we currently link in the MetadataViews.ResolverCollection, once the https://github.com/onflow/cadence/pull/1076 change is out, we can uncomment the lines I have in the transaction to further simplify the code.

Testing

make && npm test