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

Method/Info to check mint's network before melting/minting #137

Open
Kodylow opened this issue Jun 18, 2024 · 0 comments
Open

Method/Info to check mint's network before melting/minting #137

Kodylow opened this issue Jun 18, 2024 · 0 comments

Comments

@Kodylow
Copy link

Kodylow commented Jun 18, 2024

Is there a way to check which bitcoin/asset network the mint is running on before trying to mint/melt? The info isn't contained in the ecash token so for a wallet running multiple mint connections it'd be nice to be able determine which network it's on so when I'm melting an ecash token I know what network to get the invoice on.

Currently when i try on most mints I just get a failure method back with an error message for wrong network then I have to parse that out and retry from a different wallet, but I'd like to be able to hit mint info to determine this before generating the invoice at all:

image

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

1 participant