-
Notifications
You must be signed in to change notification settings - Fork 22
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
Embed: add url parameters #334
Comments
closes #334 adds invoice, address, asset, sendAmount, receiveAmount
@kilrau hey, is this restricted for iframe embeds or can i use this somehow to make a URL that would pre-fill values? like let's say i want to have lightning -> l-btc with destination address prefilled from url ? is this possible? |
yes, this should be possible! working on it |
closes #334 adds invoice, address, asset, sendAmount, receiveAmount
closes #334 adds invoice, address, asset, sendAmount, receiveAmount
i have created an example page for embedding where you can see which is currently possible. https://dni.github.io/boltz-webapp-embed/ with this branch #547 |
closes #334 adds invoice, address, asset, sendAmount, receiveAmount
closes #334 adds invoice, address, asset, sendAmount, receiveAmount
URL parameters (all optional, we default):
pairID
: (default:BTC/BTC
)type
: (default:reversesubmarine
)bip21
: Overwrites parameters above the same way web app swap box does. We only need address & optional amount. Let's not forgetliquidnetwork:
invoice
: overwrites parameters above. (no default)referral
: partner referral id (default: boltz_webapp_embed)css
: style sheet for swap box customizationOriginally posted by @kilrau in #328 (comment)
The text was updated successfully, but these errors were encountered: