Skip to content
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

GetNftCatalog (maybe also other functions) return only testnet nfts #93

Open
PeterBenc opened this issue Oct 6, 2022 · 1 comment
Open

Comments

@PeterBenc
Copy link

Thanks for developing the lib 👍

Issue:

  • no matter what I do, I get only testnet collections

Possible cause:

Solution:

  • IMO it's pretty strange that getAddressMaps returns costs for both mainnet and testnet, it should at least receive an argument mainnet | testnet and return only network-specific address maps.
@prpatel05
Copy link
Contributor

prpatel05 commented Oct 6, 2022

This is a fair callout. A quick workaround would be to import @onflow/flow-cadut and set the environment correctly to the network you want. We will think through how to better approach this problem.

Ideally, taking in a network parameter would be useful here, however, alot of this code/functions are auto-generated.

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

No branches or pull requests

2 participants