@tly-pay/vendure-plugin 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/LICENSE +21 -0
  3. package/README.md +192 -2
  4. package/assets/coins/arb.svg +10 -0
  5. package/assets/coins/base.svg +4 -0
  6. package/assets/coins/bln.svg +4 -0
  7. package/assets/coins/bnb.svg +13 -0
  8. package/assets/coins/btc.svg +1 -0
  9. package/assets/coins/busd.svg +7 -0
  10. package/assets/coins/coin.svg +1 -0
  11. package/assets/coins/dai.svg +1 -0
  12. package/assets/coins/doge.svg +109 -0
  13. package/assets/coins/eth.svg +10 -0
  14. package/assets/coins/jst.svg +11 -0
  15. package/assets/coins/link.svg +4 -0
  16. package/assets/coins/ltc.svg +4 -0
  17. package/assets/coins/op.svg +12 -0
  18. package/assets/coins/pol.svg +11 -0
  19. package/assets/coins/shib.svg +18 -0
  20. package/assets/coins/sol.svg +15 -0
  21. package/assets/coins/sun.svg +71 -0
  22. package/assets/coins/trx.svg +4 -0
  23. package/assets/coins/uni.svg +10 -0
  24. package/assets/coins/usdc.svg +6 -0
  25. package/assets/coins/usdd.svg +18 -0
  26. package/assets/coins/usdt.svg +1 -0
  27. package/assets/coins/wbtc.svg +16 -0
  28. package/assets/coins/weth.svg +17 -0
  29. package/assets/tly-pay-mark.svg +31 -0
  30. package/dashboard/api.ts +167 -0
  31. package/dashboard/appearance.tsx +253 -0
  32. package/dashboard/banner.tsx +72 -0
  33. package/dashboard/i18n/en.po +584 -0
  34. package/dashboard/index.tsx +33 -0
  35. package/dashboard/logic.ts +219 -0
  36. package/dashboard/messages.tsx +90 -0
  37. package/dashboard/notice.tsx +15 -0
  38. package/dashboard/order-block.tsx +21 -0
  39. package/dashboard/orders.tsx +246 -0
  40. package/dashboard/page.tsx +174 -0
  41. package/dashboard/settings.tsx +186 -0
  42. package/dashboard/use-connect.ts +46 -0
  43. package/dist/api.d.ts +169 -0
  44. package/dist/api.js +541 -0
  45. package/dist/client-ref.d.ts +75 -0
  46. package/dist/client-ref.js +165 -0
  47. package/dist/connect-flow.d.ts +65 -0
  48. package/dist/connect-flow.js +177 -0
  49. package/dist/connection-check.d.ts +28 -0
  50. package/dist/connection-check.js +49 -0
  51. package/dist/connection.d.ts +140 -0
  52. package/dist/connection.js +361 -0
  53. package/dist/contracts.d.ts +66 -0
  54. package/dist/contracts.js +151 -0
  55. package/dist/creation-service.d.ts +136 -0
  56. package/dist/creation-service.js +242 -0
  57. package/dist/handler.d.ts +13 -0
  58. package/dist/handler.js +45 -0
  59. package/dist/hosted-checkout.d.ts +3 -0
  60. package/dist/hosted-checkout.js +25 -0
  61. package/dist/index.d.ts +11 -0
  62. package/dist/index.js +32 -0
  63. package/dist/ownership.d.ts +38 -0
  64. package/dist/ownership.js +38 -0
  65. package/dist/payment-sync.d.ts +45 -0
  66. package/dist/payment-sync.js +111 -0
  67. package/dist/persistence.d.ts +104 -0
  68. package/dist/persistence.js +405 -0
  69. package/dist/plugin.d.ts +26 -0
  70. package/dist/plugin.js +112 -0
  71. package/dist/public-api.d.ts +56 -0
  72. package/dist/public-api.js +221 -0
  73. package/dist/records.d.ts +53 -0
  74. package/dist/records.js +109 -0
  75. package/dist/release-config.d.ts +55 -0
  76. package/dist/release-config.js +107 -0
  77. package/dist/release-config.json +15 -0
  78. package/dist/secret-box.d.ts +19 -0
  79. package/dist/secret-box.js +65 -0
  80. package/dist/service.d.ts +267 -0
  81. package/dist/service.js +788 -0
  82. package/dist/signed-webhook.d.ts +67 -0
  83. package/dist/signed-webhook.js +119 -0
  84. package/dist/storefront/checkout.d.mts +86 -0
  85. package/dist/storefront/checkout.mjs +149 -0
  86. package/package.json +97 -4
package/CHANGELOG.md ADDED
@@ -0,0 +1,38 @@
1
+ # Changelog
2
+
3
+ ## 1.0.0
4
+
5
+ - Initial release, for Vendure 3.8 (`>=3.8.0 <3.9.0`) with the React Dashboard.
6
+ - Ships the English catalog of the Dashboard extension (`dashboard/i18n/en.po`), so a production Dashboard
7
+ build shows its text instead of message ids.
8
+ - Cancelling an Order in Vendure cancels its TLY Pay Payment while it is still open, so a cancelled Order
9
+ cannot be paid.
10
+ - Until the store is connected, the TLY Pay page header shows Connect TLY Pay instead of Open TLY Pay
11
+ account; it is the page's only Connect button, and the empty Orders tab only explains.
12
+ - Embedded checkout accepts a return page on any HTTPS domain: the website registered on the TLY Pay
13
+ Store is optional and no longer limits the storefront.
14
+ - The connection popup relays its result (connected or cancelled) to the Dashboard tab and closes, also
15
+ after the TLY Pay app's opener policy cleared the window name; it used to open the Dashboard inside
16
+ the popup instead.
17
+ - Installs from npm as `@tly-pay/vendure-plugin`. The Vendure server packages are optional peers, so a
18
+ storefront can install the package for `@tly-pay/vendure-plugin/storefront` alone.
19
+ - Answers TLY Pay's signed connection check (`endpoint.ping`) with the plugin version, the Vendure
20
+ version and whether a TLY Pay payment method is enabled, acknowledged with the verifying Secret;
21
+ other unknown signed event types are acknowledged and ignored, and a verified body that is not a
22
+ valid Event is answered `400`.
23
+ - Settles a paid Payment of an Order that went back to `AddingItems` only when Vendure moves the Order
24
+ to `ArrangingPayment` at the paid amount. When Vendure refuses that transition
25
+ (`order_transition_refused`) or its recalculation changes the total (`amount_mismatch`), no Vendure
26
+ Payment is added and the Order keeps its state and totals.
27
+ - Continues an Order's existing Payment after the TLY Pay Store changed its pricing currency, checked
28
+ against the Payment's own Store, currency and amount, and still settles it; only a new Payment needs
29
+ the Store's current currency.
30
+ - Settings > Checkout appearance previews the payment method row and chooses its coin icons from the
31
+ coins TLY Pay supports (USDT, USDC, DAI, ETH, BTC, BNB, POL, TRX, LTC and any other coin the Store
32
+ accepts), grouped by whether the TLY Pay Store accepts them: every accepted coin until saved, saving
33
+ none shows no icons, and a selected coin is shown whether or not the Store accepts it. USDT and USDT0
34
+ share one Tether icon. "Show coin names under the title" (off by default) adds "Pay with <list>."
35
+ for the coins shown, and "Sync with TLY Pay store" selects exactly the coins the Store accepts now.
36
+ The title is the name of the Vendure payment method. The Shop API returns the row as
37
+ `tlyPayCheckout.title`, `coinNames` (null while off) and `icons` (`mark`, `label`, `iconUrl`), in
38
+ catalog order and without a "+N" remainder.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 TLY Pay
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,193 @@
1
- # Temporary Holding Version
1
+ # TLY Pay for Vendure
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ TLY Pay is a Vendure plugin for crypto payments in Vendure 3.8. Your store accepts stablecoin payments
4
+ in USDT, USDC and DAI, and coins such as BTC, LTC and ETH, on nine networks. Each payment goes
5
+ straight to your own wallet: TLY Pay is non-custodial and does not hold your funds. Screenshots,
6
+ requirements and the accepted coins are on the
7
+ [Crypto payments for Vendure](https://tlypay.com/integrations/vendure/) page.
8
+
9
+ ## Features
10
+
11
+ - A "TLY Pay crypto payment" payment method handler with an eligibility checker that offers the method
12
+ only while your TLY Pay account and wallet are ready.
13
+ - The hosted TLY Pay payment page, or the TLY Pay payment window on your own storefront.
14
+ - Your Vendure order code as the order reference on the payment page and in TLY Pay.
15
+ - Orders are settled only after TLY Pay confirms the payment through a signed notification or the
16
+ scheduled check.
17
+ - A TLY Pay page in the Vendure Dashboard: connect your account, follow every TLY Pay order with its
18
+ status, amount and payment ID, and see partial payments, overpayments and payments that need review.
19
+ - Checkout appearance: coin icons and an optional line naming the coins beside your payment method's
20
+ name.
21
+ - Shop API fields and a small browser helper for headless storefronts.
22
+
23
+ ## What customers and merchants see
24
+
25
+ **Checkout:** the customer chooses Crypto payment, shown with the coin icons you select.
26
+
27
+ ![Vendure storefront payment step with the Crypto payment option and USDT, USDC, DAI, ETH, BNB, POL and TRX icons](https://cdn.tlypay.com/assets/plugins/vendure/checkout-payment-step.png)
28
+
29
+ **Payment window:** the customer pays in the TLY Pay window on your storefront, with your order code
30
+ as the order reference.
31
+
32
+ ![TLY Pay crypto payment window over the Vendure storefront with the USDT amount and the Vendure order code](https://cdn.tlypay.com/assets/plugins/vendure/payment-window.png)
33
+
34
+ **Connection and settings:** you connect your TLY Pay account by signing in and approving it in the
35
+ Vendure Dashboard, then choose the checkout mode and appearance.
36
+
37
+ ![TLY Pay settings in the Vendure Dashboard with the connected TLY Pay store and the checkout options](https://cdn.tlypay.com/assets/plugins/vendure/dashboard-settings.png)
38
+
39
+ **Orders:** the Vendure Dashboard lists every TLY Pay order with its payment status.
40
+
41
+ ![TLY Pay order list in the Vendure Dashboard with paid, open and needs-attention crypto payments](https://cdn.tlypay.com/assets/plugins/vendure/dashboard-orders.png)
42
+
43
+ ## Requirements
44
+
45
+ - Vendure 3.8 (`>=3.8.0 <3.9.0`) with the React Dashboard (`@vendure/dashboard`), and Node.js
46
+ 20.19.0 or later.
47
+ - A scheduler that runs Vendure scheduled tasks (for example `DefaultSchedulerPlugin`) and a job queue
48
+ worker (for example `DefaultJobQueuePlugin`).
49
+ - A TLY Pay account with a store and a verified wallet.
50
+ - A Vendure server on a public HTTPS address (port 443): TLY Pay sends payment notifications to it and
51
+ returns to it after you approve the connection.
52
+ - The same currency in the Channel's default currency and your TLY Pay store.
53
+
54
+ ## Install
55
+
56
+ In your Vendure project:
57
+
58
+ ```sh
59
+ npm install @tly-pay/vendure-plugin
60
+ ```
61
+
62
+ Add the plugin to `vendure-config.ts`:
63
+
64
+ ```ts
65
+ import { TlyPayPlugin } from "@tly-pay/vendure-plugin"
66
+
67
+ export const config: VendureConfig = {
68
+ // ...
69
+ plugins: [
70
+ // ...
71
+ TlyPayPlugin.init({
72
+ // Public HTTPS URL under which this server's REST routes are reachable.
73
+ publicUrl: process.env.TLY_PAY_PUBLIC_URL!,
74
+ // At least 32 characters; keep it out of your repository.
75
+ secretKey: process.env.TLY_PAY_SECRET_KEY!,
76
+ }),
77
+ ],
78
+ }
79
+ ```
80
+
81
+ Options:
82
+
83
+ - `publicUrl`: the public HTTPS URL of your Vendure server, for example `https://shop.example.com`.
84
+ The plugin answers under it at `/tly-pay/webhook` (payment notifications), `/tly-pay/connect/return`
85
+ (the return after you approve the connection) and `/tly-pay/coins/<coin>.svg` (checkout icons).
86
+ - `secretKey`: a random value of at least 32 characters. It encrypts the saved TLY Pay credentials;
87
+ keep it the same on every server and back it up with your database. Changing it makes the saved
88
+ connection unreadable, and you connect again.
89
+
90
+ Generate the key once:
91
+
92
+ ```sh
93
+ openssl rand -base64 32
94
+ ```
95
+
96
+ The plugin adds three tables (`tlypay_vd_record`, `tlypay_vd_payment_intent`, `tlypay_vd_event`).
97
+ Generate and run a migration as you do for any plugin, for example with `npx vendure migrate`, then
98
+ rebuild the Dashboard so it includes the TLY Pay pages.
99
+
100
+ ## Connect your TLY Pay account
101
+
102
+ 1. Open the Vendure Dashboard on the public HTTPS address of your server, then **Sales > TLY Pay >
103
+ Settings**.
104
+ 2. Click **Connect TLY Pay**, sign in to TLY Pay in the window that opens and approve your store.
105
+ 3. Under **Payment method**, click **Add Crypto payment method**. It creates the Channel's payment
106
+ method with the TLY Pay handler and checker; its name is the title customers see.
107
+ 4. The page shows **Connected** once your store and wallet are ready. Choose the checkout mode (hosted
108
+ payment page, the default, or embedded payment window) and the checkout appearance (coin icons and
109
+ an optional line naming the coins).
110
+
111
+ ## Storefront
112
+
113
+ Vendure storefronts are headless. The plugin adds to the Shop API:
114
+
115
+ ```graphql
116
+ query {
117
+ tlyPayCheckout {
118
+ available checkoutMode widgetScriptUrl widgetActionTimeoutSecs paidStatuses
119
+ title coinNames icons { mark label iconUrl }
120
+ }
121
+ }
122
+
123
+ mutation {
124
+ createTlyPayPayment(returnUrl: "https://shop.example.com/checkout/confirmation/ABC123") {
125
+ paymentId checkoutMode hostedUrl returnUrl widgetScriptUrl widgetActionTimeoutSecs paidStatuses
126
+ }
127
+ }
128
+ ```
129
+
130
+ - `tlyPayCheckout` describes the payment method row: `title` (the payment method's name, plain text),
131
+ `icons` in display order and `coinNames` (`null` while you do not show it).
132
+ - `createTlyPayPayment` needs the active Order in `ArrangingPayment`. It creates the TLY Pay payment
133
+ for the Order, or returns the existing one, and its session. Do not call `addPaymentToOrder` with the
134
+ TLY Pay method: the plugin adds the settled payment itself when TLY Pay confirms it.
135
+ - Errors are `UserInputError`s with a stable code: `no_active_order`, `order_state_invalid`,
136
+ `checkout_unavailable`, `currency_mismatch`, `return_url_invalid`, `payment_rejected`,
137
+ `payment_pending` (retry later) and `connection_unavailable`.
138
+
139
+ The browser helper opens the session in its checkout mode. It has no dependencies; a storefront
140
+ installs the package without any Vendure server package.
141
+
142
+ ```ts
143
+ import { createTlyPayCheckout } from "@tly-pay/vendure-plugin/storefront"
144
+
145
+ // Checkout page: show the row and preload the payment window.
146
+ const { available, checkoutMode, widgetScriptUrl, widgetActionTimeoutSecs } = checkout
147
+ const tlyPay = createTlyPayCheckout({ scriptUrl: widgetScriptUrl, timeoutSecs: widgetActionTimeoutSecs })
148
+ if (available && checkoutMode === "embedded") void tlyPay.preload()
149
+
150
+ // Place order: move the Order to ArrangingPayment, then start the payment.
151
+ const session = await createTlyPayPayment({ returnUrl: confirmationUrl(order.code) })
152
+ const outcome = await tlyPay.open(session)
153
+ ```
154
+
155
+ `outcome` is one of:
156
+
157
+ - `hosted`: the page is leaving for the hosted payment page.
158
+ - `paid`: the window closed after payment; the page is going to `returnUrl`.
159
+ - `closed`: the window closed without payment; keep the checkout usable. Calling
160
+ `createTlyPayPayment` again returns the same payment.
161
+
162
+ In embedded mode `returnUrl` must be an HTTPS page of your storefront. Show the title
163
+ as text, then the icons, then the coin names when they are not `null`. An order is paid only when TLY
164
+ Pay confirms it, not when the customer closes the window.
165
+
166
+ ## Translations
167
+
168
+ The default title "Crypto payment" and the coin names line are English. Translate them with Vendure's
169
+ `I18nService`:
170
+
171
+ ```ts
172
+ i18nService.addTranslation("es", { tlyPay: {
173
+ title: "Pago con cripto",
174
+ coinNames: "Paga con {list}.",
175
+ coinNamesGeneric: "Paga con criptoactivos compatibles mediante TLY Pay Checkout.",
176
+ listLocale: "es",
177
+ } })
178
+ ```
179
+
180
+ ## Notes
181
+
182
+ - Refunds are not available through TLY Pay.
183
+ - Check partial payments, overpayments and payments that need review in the Dashboard before you
184
+ fulfil the order.
185
+
186
+ ## Support
187
+
188
+ Write to support@tlypay.com and include the payment ID shown in the Dashboard. Plans, security and the
189
+ TLY Pay app are on [tlypay.com](https://tlypay.com/).
190
+
191
+ ## License
192
+
193
+ MIT
@@ -0,0 +1,10 @@
1
+ <svg width="98" height="98" viewBox="0 0 98 98" fill="none" xmlns="http://www.w3.org/2000/svg"><title>Arbitrum</title>
2
+ <path d="M96.5435 60.8261C90.005 87.0601 63.4344 103.08 37.1522 96.5371C10.9182 89.9786 -5.07549 63.4078 1.46299 37.1739C8.00148 10.9399 34.5561 -5.07951 60.7741 1.46295C87.0723 7.92523 103.066 34.5761 96.5435 60.8261Z" fill="#213147"/>
3
+ <path d="M18.6041 35.0896V63.8987C18.6041 65.6646 19.6314 67.4305 21.1088 68.3077L46.0974 82.7123C47.7133 83.5895 49.6293 83.5895 51.2452 82.7123L76.2338 68.3077C77.8497 67.4305 78.7384 65.6646 78.7384 63.8987V35.0896C78.7384 33.3237 77.7112 31.5577 76.2338 30.6805L51.2336 16.276C49.6177 15.3988 47.7017 15.3988 46.0858 16.276L21.0972 30.6805C19.4813 31.5577 18.6041 33.3237 18.6041 35.0896Z" fill="#213147"/>
4
+ <path d="M60.0517 38.6215C60.3519 38.0328 61.079 38.0328 61.2291 38.6215L73.5676 72.5783L66.5152 76.6988L56.5198 49.2056C56.3699 48.917 56.3699 48.6169 56.5198 48.3284L60.0517 38.6215Z" fill="#12AAFF"/>
5
+ <path d="M50.6449 64.7874L54.1767 55.0805C54.4653 54.4919 55.204 54.4919 55.3426 55.0805L63.8721 78.3032L56.8199 82.4237L50.6449 65.6646C50.495 65.376 50.495 65.076 50.6449 64.7874Z" fill="#12AAFF"/>
6
+ <path d="M48.5904 17.3033C48.7405 17.3033 48.879 17.3033 49.029 17.4533L76.0721 33.0351C76.3607 33.1852 76.5108 33.4737 76.5108 33.9123V65.076C76.5108 65.3645 76.3607 65.8146 76.0721 65.9532L49.029 81.535C48.879 81.685 48.7405 81.685 48.5904 81.685C48.4404 81.685 48.3019 81.685 48.1518 81.535L21.1087 65.9532C20.8202 65.8031 20.6701 65.5146 20.6701 65.076V33.9123C20.6701 33.6238 20.8202 33.1736 21.1087 33.0351L48.1518 17.4533C48.2903 17.3033 48.4404 17.3033 48.5904 17.3033ZM48.5904 12.7441C47.5632 12.7441 46.6744 13.0327 45.7972 13.4828L18.7541 29.0646C16.9882 30.0919 15.9609 31.8578 15.9609 33.9123V65.076C15.9609 66.9919 16.9882 68.8964 18.7541 69.9236L45.7972 85.5054C46.6744 85.944 47.5632 86.2441 48.5904 86.2441C49.6177 86.2441 50.5064 85.9556 51.3836 85.5054L78.4267 69.9236C80.1927 68.8964 81.2199 67.1304 81.2199 65.076V33.9123C81.2199 31.9963 80.1927 30.0919 78.4267 29.0646L51.5221 13.4828C50.6449 13.0442 49.7562 12.7441 48.7289 12.7441H48.5904Z" fill="#9DCCED"/>
7
+ <path d="M30.804 76.6873L33.2971 69.9236L38.2948 74.0442L33.5972 78.4532L30.804 76.6873Z" fill="#213147"/>
8
+ <path d="M51.3722 31.7078H58.2857L58.1358 31.5693C58.5742 31.5693 58.8745 32.0079 58.7244 32.4465L40.4994 82.4237L33.4472 78.3032L50.1947 32.4465C50.3449 31.9963 50.9335 31.7078 51.3722 31.7078Z" fill="white"/>
9
+ <path d="M39.4721 31.7078H46.2357C46.6744 31.7078 46.9744 32.1464 46.8243 32.585L30.6539 76.8373L23.6017 72.7168L38.2949 32.4465C38.4448 31.9963 39.0334 31.7078 39.4721 31.7078Z" fill="white"/>
10
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="80" height="80" viewBox="0 0 80 80" fill="none" xmlns="http://www.w3.org/2000/svg"><title>Base</title>
2
+ <path d="M0 40C0 17.9086 17.9086 0 40 0C62.0914 0 80 17.9086 80 40C80 62.0914 62.0914 80 40 80C17.9086 80 0 62.0914 0 40Z" fill="white"/>
3
+ <path d="M19 23C19 20.7909 20.7909 19 23 19H57C59.2091 19 61 20.7909 61 23V57C61 59.2091 59.2091 61 57 61H23C20.7909 61 19 59.2091 19 57V23Z" fill="#1652F0"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="98" height="98" viewBox="0 0 98 98" fill="none" xmlns="http://www.w3.org/2000/svg"><title>Bitcoin Lightning</title>
2
+ <path d="M49 98C76.062 98 98 76.062 98 49C98 21.938 76.062 0 49 0C21.938 0 0 21.938 0 49C0 76.062 21.938 98 49 98Z" fill="#7B1AF7"/>
3
+ <path d="M27.7242 50.0579L60.3909 21.9088C61.8144 20.9972 63.1711 21.9088 62.3023 23.4726L51.8767 43.9763H70.4689C70.4689 43.9763 73.4228 43.9763 70.4689 46.4089L38.3235 74.7316C36.0647 76.643 34.5009 75.6004 36.0647 72.6465L46.1427 52.6643H27.7242C27.7242 52.6643 24.7703 52.6643 27.7242 50.0579Z" fill="white"/>
4
+ </svg>
@@ -0,0 +1,13 @@
1
+ <svg width="98" height="98" viewBox="0 0 98 98" fill="none" xmlns="http://www.w3.org/2000/svg"><title>BNB</title>
2
+ <path d="M96.5435 60.8261C90.005 87.0601 63.4344 103.08 37.1522 96.5371C10.9182 89.9786 -5.07549 63.4078 1.46299 37.1739C8.00148 10.9399 34.5561 -5.07951 60.7741 1.46295C87.0723 7.92523 103.066 34.5761 96.5435 60.8261Z" fill="#F0B90B"/>
3
+ <path d="M67.7447 46.6057L67.7067 38.4495H67.7362L60.8086 34.3714L48.9375 41.3708L37.1381 34.3714L30.2147 38.4495V46.6057L42.0858 53.5713V67.5365L48.9797 71.5766L55.8735 67.5365V53.5713L67.7447 46.6057Z" fill="white"/>
4
+ <path d="M48.9417 13.4785L30.2104 24.5223L37.1043 28.6004L48.9417 21.6009L60.8128 28.6004L67.7067 24.5223L48.9417 13.4785Z" fill="white"/>
5
+ <path d="M25.2639 63.4245L25.2259 49.4932L18.3363 45.4193V67.5406L37.1013 78.5464V70.3902L25.2639 63.4245Z" fill="white"/>
6
+ <path d="M25.2259 43.68V35.5618L32.1535 31.4837L25.2259 27.4056L18.332 31.4837V39.6019L25.2259 43.68Z" fill="white"/>
7
+ <path d="M48.9386 27.4056L42.0448 31.4837L48.9386 35.5618L55.8663 31.4837L48.9386 27.4056Z" fill="white"/>
8
+ <path d="M37.1043 56.4589L30.2104 52.3808V60.5369L37.1043 64.5771V56.4589Z" fill="white"/>
9
+ <path d="M48.9417 77.3897L42.0478 73.3116V81.4298L48.9417 85.5079L55.8693 81.4298V73.3116L48.9417 77.3897Z" fill="white"/>
10
+ <path d="M72.6502 27.4056L65.7563 31.4837L72.6502 35.5618V43.68L79.5778 39.6019V31.4837L72.6502 27.4056Z" fill="white"/>
11
+ <path d="M79.582 45.4151L72.6882 49.4932L72.6502 63.4245L60.817 70.386V78.5422L79.582 67.5364V45.4151Z" fill="white"/>
12
+ <path d="M67.7082 60.5367L60.8143 64.5768V56.4586L67.7082 52.3805V60.5367Z" fill="white"/>
13
+ </svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="98" height="98"><title>Bitcoin</title><g fill="none" fill-rule="evenodd"><circle cx="16" cy="16" r="16" fill="#F7931A"/><path fill="#FFF" fill-rule="nonzero" d="M23.189 14.02c.314-2.096-1.283-3.223-3.465-3.975l.708-2.84-1.728-.43-.69 2.765c-.454-.114-.92-.22-1.385-.326l.695-2.783L15.596 6l-.708 2.839c-.376-.086-.746-.17-1.104-.26l.002-.009-2.384-.595-.46 1.846s1.283.294 1.256.312c.7.175.826.638.805 1.006l-.806 3.235c.048.012.11.03.18.057l-.183-.045-1.13 4.532c-.086.212-.303.531-.793.41.018.025-1.256-.313-1.256-.313l-.858 1.978 2.25.561c.418.105.828.215 1.231.318l-.715 2.872 1.727.43.708-2.84c.472.127.93.245 1.378.357l-.706 2.828 1.728.43.715-2.866c2.948.558 5.164.333 6.097-2.333.752-2.146-.037-3.385-1.588-4.192 1.13-.26 1.98-1.003 2.207-2.538zm-3.95 5.538c-.533 2.147-4.148.986-5.32.695l.95-3.805c1.172.293 4.929.872 4.37 3.11zm.535-5.569c-.487 1.953-3.495.96-4.47.717l.86-3.45c.975.243 4.118.696 3.61 2.733z"/></g></svg>
@@ -0,0 +1,7 @@
1
+ <svg width="98" height="98" viewBox="0 0 98 98" fill="none" xmlns="http://www.w3.org/2000/svg"><title>Binance USD</title>
2
+ <path d="M96.5435 60.8261C90.005 87.0601 63.4344 103.08 37.1522 96.5371C10.9182 89.9786 -5.07549 63.4078 1.46299 37.1739C8.00148 10.9399 34.5561 -5.07951 60.7741 1.46295C87.0723 7.92523 103.066 34.5761 96.5435 60.8261Z" fill="#F0B90B"/>
3
+ <path d="M56.7669 25.7708L49.2018 18.0234L30.1523 37.2552L37.7174 44.8203L56.7669 25.7708Z" fill="white"/>
4
+ <path d="M68.2513 37.2552L60.6862 29.5078L30.1523 60.224L37.7174 67.7891L68.2513 37.2552Z" fill="white"/>
5
+ <path d="M26.2331 40.9922L33.7982 48.7396L26.2331 56.3047L18.668 48.7396L26.2331 40.9922Z" fill="white"/>
6
+ <path d="M79.7357 48.7396L72.1706 40.9922L41.6367 71.7083L49.2018 79.2734L79.7357 48.7396Z" fill="white"/>
7
+ </svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="98" height="98"><title>Crypto asset</title><g fill="none" fill-rule="evenodd"><circle cx="16" cy="16" r="16" fill="#8A94A6"/><circle cx="16" cy="16" r="9.5" stroke="#FFF" stroke-width="2.5"/><circle cx="16" cy="16" r="3.5" fill="#FFF"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="98" height="98" viewBox="0 0 32 32"><title>Dai</title><g fill="none" fill-rule="evenodd"><circle fill="#F4B731" fill-rule="nonzero" cx="16" cy="16" r="16"/><path d="M9.277 8h6.552c3.985 0 7.006 2.116 8.13 5.194H26v1.861h-1.611c.031.294.047.594.047.898v.046c0 .342-.02.68-.06 1.01H26v1.86h-2.08C22.767 21.905 19.77 24 15.83 24H9.277v-5.131H7v-1.86h2.277v-1.954H7v-1.86h2.277V8zm1.831 10.869v3.462h4.72c2.914 0 5.078-1.387 6.085-3.462H11.108zm11.366-1.86H11.108v-1.954h11.37c.041.307.063.622.063.944v.045c0 .329-.023.65-.067.964zM15.83 9.665c2.926 0 5.097 1.424 6.098 3.528h-10.82V9.666h4.72z" fill="#FFF"/></g></svg>