-
Notifications
You must be signed in to change notification settings - Fork 41
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
etching example + cleanup #99
Conversation
m-aboelenein
commented
Apr 15, 2024
•
edited
Loading
edited
- Adds an etching example to the test app
- Export Wallet instance instead of static class
- update sats-connect-core to the latest version (bug-fix - btc_providers array mutated on connect)
); | ||
|
||
const onClickEstimate = async () => { | ||
const response = await Wallet.request('runes_estimateEtch', { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should add an amount & cap. Open mints without a cap are unmintable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what happens on the service if you submit an order with isMintable=true
and no amount & cap?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will throw a 400
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would be caught in the sats-connect method and would return an error result here, so maybe that's enough?
|