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

feat: improve embedding of swapbox #547

Merged
merged 2 commits into from
Aug 16, 2024
Merged

feat: improve embedding of swapbox #547

merged 2 commits into from
Aug 16, 2024

Conversation

dni
Copy link
Member

@dni dni commented Mar 31, 2024

closes #334

adds invoice, address, asset, sendAmount, receiveAmount

Copy link

vercel bot commented Mar 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
webapp ✅ Ready (Inspect) Visit Preview Aug 16, 2024 2:44pm
webapp-mainnet ✅ Ready (Inspect) Visit Preview Aug 16, 2024 2:44pm

@kilrau
Copy link
Member

kilrau commented Jul 16, 2024

Shall we push this one over the finish line? We recently had an integration that wanted "a simplified webview with prefilled swap data"

@dni
Copy link
Member Author

dni commented Aug 13, 2024

created an example embed page https://dni.github.io/boltz-webapp-embed/

@tohrxyz
Copy link

tohrxyz commented Aug 13, 2024

really looking forward to this merging to main, because it's one of the fundamental parts that our project needs right now! :)

@kilrau kilrau self-requested a review August 13, 2024 19:42
Copy link
Member

@kilrau kilrau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • setInvoice / setAddress -> setDestination
  • assetSend / assetReceive -> sendAsset / receiveAsset to bring naming in line

Copy link
Member

@michael1011 michael1011 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All URL query params we want people to use need to be documented

src/context/Global.tsx Outdated Show resolved Hide resolved
src/utils/urlparams.ts Outdated Show resolved Hide resolved
src/context/Global.tsx Show resolved Hide resolved
src/context/Create.tsx Outdated Show resolved Hide resolved
src/context/Create.tsx Outdated Show resolved Hide resolved
src/context/Create.tsx Outdated Show resolved Hide resolved
@kilrau
Copy link
Member

kilrau commented Aug 14, 2024

Let's go @dni , @tohrxyz and team are waiting for this

@tohrxyz
Copy link

tohrxyz commented Aug 15, 2024

I'm looking forward to have a few examples ready of URLs with different strategies for swaps. This will help also future devs with integrating with Boltz.

So far good job and I'm super happy with the responsiveness of you guys! :)

@michael1011 michael1011 merged commit 4c713b7 into main Aug 16, 2024
8 checks passed
@michael1011 michael1011 deleted the feat-url-params-3 branch August 16, 2024 16:22
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

Successfully merging this pull request may close these issues.

Embed: add url parameters
5 participants