-
Notifications
You must be signed in to change notification settings - Fork 32
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
feat: add option for broadcasting claims and refunds via block explorer #802
Conversation
@SwapMarket is attempting to deploy a commit to the boltz Team on Vercel. A member of the Team first needs to authorize it. |
@@ -131,3 +131,26 @@ export const parsePrivateKey = (privateKey: string): ECPairInterface => { | |||
return ECPair.fromWIF(privateKey); | |||
} | |||
}; | |||
|
|||
// posts transaction to a block explorer | |||
export const broadcastToExplorer = async ( |
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.
With which kind of explorers did you test this?
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.
Good catch, only Esplora on the regtest. Changed the code to catch mempool.space/liquid.network errors as well. But I don't have them on regtest.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -240,6 +240,9 @@ const dict = { | |||
no_wallet_connected: "No wallet connected", | |||
no_lockup_transaction: "No lockup transaction found", | |||
routing_fee_limit: "Routing fee limit", | |||
broadcast_setting: "External Broadcast", |
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.
@kilrau please check those translations
#521
When "External Broadcast" is enabled in Settings the txHex will be posted to {blockExplorerUrl}/api/tx in addition to Boltz backend