@swapkit/toolboxes 4.17.4 → 4.17.6
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.
- package/CHANGELOG.md +789 -0
- package/dist/src/index.cjs +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/sui/index.cjs +1 -1
- package/dist/src/sui/index.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,789 @@
|
|
|
1
|
+
# @swapkit/toolboxes
|
|
2
|
+
|
|
3
|
+
## 4.17.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#277](https://github.com/swapkit/sdk/pull/277) [`731e9c1`](https://github.com/swapkit/sdk/commit/731e9c18dfa8bb9b289699a9baee8456d4e4ad30) Thanks [@GiMa-SwapKit](https://github.com/GiMa-SwapKit)! - Optimize Sui `createTransaction` by setting gas price, gas budget, and gas payment refs before building transactions, reducing internal Sui SDK RPC round trips for native and token transfers.
|
|
8
|
+
- [#278](https://github.com/swapkit/sdk/pull/278) [`02cec19`](https://github.com/swapkit/sdk/commit/02cec190fa5688a75be4ec00d9fdf33f871a7962) Thanks [@towanTG](https://github.com/towanTG)! - Add `localMode` to SKConfig for routing quote and swap requests to locally running API services. When enabled, quote requests go to `http://localhost:3000` and swap requests to `http://localhost:3001` by default (both configurable via `quoteUrl`/`swapUrl`), while all other endpoints keep using the configured `apiUrl`. (via @swapkit/helpers@4.15.0)
|
|
9
|
+
|
|
10
|
+
## 4.17.5
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#274](https://github.com/swapkit/sdk/pull/274) [`d0a20af`](https://github.com/swapkit/sdk/commit/d0a20afe503343174c792a74f20102d9d06baa64) Thanks [@towanTG](https://github.com/towanTG)! - Ship `CHANGELOG.md` in the published package. Each package now lists `CHANGELOG.md` in its `files`, so the changelog ships in the npm tarball alongside `dist/`. Consumers (e.g. the wallets release tooling) can read the underlying SDK changes directly from `node_modules` instead of fetching them from the private GitHub repo.
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [[`d0a20af`](https://github.com/swapkit/sdk/commit/d0a20afe503343174c792a74f20102d9d06baa64)]:
|
|
17
|
+
- @swapkit/helpers@4.14.1
|
|
18
|
+
- @swapkit/utxo-signer@2.2.2
|
|
19
|
+
|
|
20
|
+
## 4.17.4
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- [#272](https://github.com/swapkit/sdk/pull/272) [`5708090`](https://github.com/swapkit/sdk/commit/57080902b1a377dc5f2dd1c99101da0f5ab63de2) Thanks [@towanTG](https://github.com/towanTG)! - Prefer a user-configured TON RPC URL (via SKConfig) over the Orbs-discovered endpoint. Previously the TON toolbox always used Orbs and only fell back to the configured URL when Orbs failed, so a configured endpoint was ignored. Orbs auto-discovery remains the default when no TON RPC URL is configured (the chain-config default is empty).
|
|
25
|
+
|
|
26
|
+
- Updated dependencies []:
|
|
27
|
+
- @swapkit/helpers@4.14.0
|
|
28
|
+
|
|
29
|
+
## 4.17.3
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- [#269](https://github.com/swapkit/sdk/pull/269) [`d62628e`](https://github.com/swapkit/sdk/commit/d62628ec4e3791cfff7844720a87918db6494749) Thanks [@towanTG](https://github.com/towanTG)! - Resolve the Sui client RPC endpoint via getRPCUrl(Chain.Sui) so SKConfig-configured URLs are respected, instead of hardcoding the @mysten/sui public fullnode.
|
|
34
|
+
|
|
35
|
+
- [#271](https://github.com/swapkit/sdk/pull/271) [`fe7a345`](https://github.com/swapkit/sdk/commit/fe7a3455b1e5d3123aeb59705f85f66220899960) Thanks [@towanTG](https://github.com/towanTG)! - Resolve the Sui client RPC endpoint with getRPCUrlSync (configured URL, no network health-check) instead of getRPCUrl, which could throw helpers_chain_rpc_connection_failed when the health-check failed.
|
|
36
|
+
|
|
37
|
+
- Updated dependencies []:
|
|
38
|
+
- @swapkit/helpers@4.14.0
|
|
39
|
+
|
|
40
|
+
## 4.17.2
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- [#267](https://github.com/swapkit/sdk/pull/267) [`92a0d2f`](https://github.com/swapkit/sdk/commit/92a0d2fc96c1815c2c098d357a5ff633afb5d5d9) Thanks [@towanTG](https://github.com/towanTG)! - Update the default Zcash consensus branch ID to NU6.2 (`0x5437f330`), which activated on mainnet at block height 3,364,600 (~2026-06-03) as an emergency hard fork. Transparent Zcash transactions are now signed against the active NU6.2 branch so they validate post-upgrade. Adds the `NU6_2` entry to `ZcashConsensusBranchId`; the PCZT path continues to read the branch ID embedded in the payload.
|
|
45
|
+
|
|
46
|
+
- Updated dependencies [[`92a0d2f`](https://github.com/swapkit/sdk/commit/92a0d2fc96c1815c2c098d357a5ff633afb5d5d9)]:
|
|
47
|
+
- @swapkit/utxo-signer@2.2.1
|
|
48
|
+
- @swapkit/helpers@4.14.0
|
|
49
|
+
|
|
50
|
+
## 4.17.1
|
|
51
|
+
|
|
52
|
+
### Patch Changes
|
|
53
|
+
|
|
54
|
+
- [#265](https://github.com/swapkit/sdk/pull/265) [`de87335`](https://github.com/swapkit/sdk/commit/de87335a63018b10180dbaecf7ed9e090073b788) Thanks [@towanTG](https://github.com/towanTG)! - Fix Cardano keystore derivation to pass raw mnemonic entropy into the CIP-3 Icarus root key instead of deriving from the 64-byte BIP39 seed.
|
|
55
|
+
|
|
56
|
+
- Updated dependencies []:
|
|
57
|
+
- @swapkit/helpers@4.14.0
|
|
58
|
+
|
|
59
|
+
## 4.17.0
|
|
60
|
+
|
|
61
|
+
### Minor Changes
|
|
62
|
+
|
|
63
|
+
- [#262](https://github.com/swapkit/sdk/pull/262) [`9e84c7a`](https://github.com/swapkit/sdk/commit/9e84c7a0cce9ecd662c1b8cee49f1781271bc49f) Thanks [@towanTG](https://github.com/towanTG)! - Rename the HyperCore chain identifier to HYPE. Adds Chain.Hype and ChainId.Hype as the canonical enum members, keeps deprecated Chain.HyperCore aliases, and updates Hype asset identifiers to use the HYPE chain prefix.
|
|
64
|
+
|
|
65
|
+
### Patch Changes
|
|
66
|
+
|
|
67
|
+
- [#261](https://github.com/swapkit/sdk/pull/261) [`2136f71`](https://github.com/swapkit/sdk/commit/2136f7181a9a097eee4f584a4f16b677d38f0dd3) Thanks [@towanTG](https://github.com/towanTG)! - Declare @ton/core as a toolbox peer dependency so TON wallet signing resolves the domainSign API required by @ton/ton.
|
|
68
|
+
|
|
69
|
+
- Updated dependencies [[`9e84c7a`](https://github.com/swapkit/sdk/commit/9e84c7a0cce9ecd662c1b8cee49f1781271bc49f)]:
|
|
70
|
+
- @swapkit/helpers@4.14.0
|
|
71
|
+
|
|
72
|
+
## 4.16.2
|
|
73
|
+
|
|
74
|
+
### Patch Changes
|
|
75
|
+
|
|
76
|
+
- Updated dependencies [[`3623906`](https://github.com/swapkit/sdk/commit/3623906834927abfe6265fa91c21568da6adb852)]:
|
|
77
|
+
- @swapkit/helpers@4.13.13
|
|
78
|
+
|
|
79
|
+
## 4.16.1
|
|
80
|
+
|
|
81
|
+
### Patch Changes
|
|
82
|
+
|
|
83
|
+
- [#257](https://github.com/swapkit/sdk/pull/257) [`8d33750`](https://github.com/swapkit/sdk/commit/8d33750f2c3e7c1cb6353c2a4dcfffe7936207c1) Thanks [@towanTG](https://github.com/towanTG)! - Fix Stellar Horizon handling, reduce EVM balance scam-filter false positives, and allow swap to accept route-with-transaction response types.
|
|
84
|
+
|
|
85
|
+
- Updated dependencies [[`8d33750`](https://github.com/swapkit/sdk/commit/8d33750f2c3e7c1cb6353c2a4dcfffe7936207c1)]:
|
|
86
|
+
- @swapkit/helpers@4.13.12
|
|
87
|
+
|
|
88
|
+
## 4.16.0
|
|
89
|
+
|
|
90
|
+
### Minor Changes
|
|
91
|
+
|
|
92
|
+
- [#255](https://github.com/swapkit/sdk/pull/255) [`6c76854`](https://github.com/swapkit/sdk/commit/6c768542d9488f112735be960b375ab8bb52fb76) Thanks [@towanTG](https://github.com/towanTG)! - Add transparent Zcash PSBT support by converting BitGo-style PSBT payloads into PCZT before signing.
|
|
93
|
+
|
|
94
|
+
### Patch Changes
|
|
95
|
+
|
|
96
|
+
- Updated dependencies [[`6c76854`](https://github.com/swapkit/sdk/commit/6c768542d9488f112735be960b375ab8bb52fb76)]:
|
|
97
|
+
- @swapkit/utxo-signer@2.2.0
|
|
98
|
+
- @swapkit/helpers@4.13.11
|
|
99
|
+
|
|
100
|
+
## 4.15.15
|
|
101
|
+
|
|
102
|
+
### Patch Changes
|
|
103
|
+
|
|
104
|
+
- [#253](https://github.com/swapkit/sdk/pull/253) [`53882f1`](https://github.com/swapkit/sdk/commit/53882f116feff4eabf7bb714dddf4261f6f640d9) Thanks [@towanTG](https://github.com/towanTG)! - Expose NEAR `signAndBroadcastTransaction` in the toolbox type contract, rehydrate decoded route transaction public keys before signing, and prevent keystore signing failures from returning `undefined`.
|
|
105
|
+
|
|
106
|
+
- Updated dependencies [[`53882f1`](https://github.com/swapkit/sdk/commit/53882f116feff4eabf7bb714dddf4261f6f640d9)]:
|
|
107
|
+
- @swapkit/helpers@4.13.11
|
|
108
|
+
|
|
109
|
+
## 4.15.14
|
|
110
|
+
|
|
111
|
+
### Patch Changes
|
|
112
|
+
|
|
113
|
+
- [#244](https://github.com/swapkit/sdk/pull/244) [`0fc9c45`](https://github.com/swapkit/sdk/commit/0fc9c459da1005a017757eb21c80a36634b3c021) Thanks [@towanTG](https://github.com/towanTG)! - Exclude unsupported chains from typed wallet/toolbox resolution.
|
|
114
|
+
|
|
115
|
+
- Updated dependencies [[`fe496eb`](https://github.com/swapkit/sdk/commit/fe496ebc69e24fb8679e13f0a9ff4ee10ce54699)]:
|
|
116
|
+
- @swapkit/helpers@4.13.10
|
|
117
|
+
|
|
118
|
+
## 4.15.13
|
|
119
|
+
|
|
120
|
+
### Patch Changes
|
|
121
|
+
|
|
122
|
+
- Updated dependencies [[`dfdd850`](https://github.com/swapkit/sdk/commit/dfdd850f10d010f14187983f2082486333df4cd7)]:
|
|
123
|
+
- @swapkit/helpers@4.13.9
|
|
124
|
+
|
|
125
|
+
## 4.15.12
|
|
126
|
+
|
|
127
|
+
### Patch Changes
|
|
128
|
+
|
|
129
|
+
- [#236](https://github.com/swapkit/sdk/pull/236) [`f4ba6d5`](https://github.com/swapkit/sdk/commit/f4ba6d564ea2c6352e021e00845f67b2190c3765) Thanks [@towanTG](https://github.com/towanTG)! - Improve TRON fee estimation by preferring `/wallet/estimateenergy`, falling back to `triggerconstantcontract.energy_used`, accounting for inactive TRC-20 recipient activation energy, and including memo fees in native and TRC-20 estimates.
|
|
130
|
+
|
|
131
|
+
- Updated dependencies []:
|
|
132
|
+
- @swapkit/helpers@4.13.8
|
|
133
|
+
|
|
134
|
+
## 4.15.11
|
|
135
|
+
|
|
136
|
+
### Patch Changes
|
|
137
|
+
|
|
138
|
+
- [#221](https://github.com/swapkit/sdk/pull/221) [`8cac8c3`](https://github.com/swapkit/sdk/commit/8cac8c34153c3620f186d614cf412700b8a1f44b) Thanks [@ice-chillios](https://github.com/ice-chillios)! - Dependencies bump & installation cleanup
|
|
139
|
+
|
|
140
|
+
- [#237](https://github.com/swapkit/sdk/pull/237) [`2174a5d`](https://github.com/swapkit/sdk/commit/2174a5d9fe27ddc02ef9ad8eebdf372aa66bf8ee) Thanks [@towanTG](https://github.com/towanTG)! - Route UTXO sign-and-broadcast flows through public signTransaction and support injected external signers.
|
|
141
|
+
|
|
142
|
+
- Updated dependencies [[`8cac8c3`](https://github.com/swapkit/sdk/commit/8cac8c34153c3620f186d614cf412700b8a1f44b)]:
|
|
143
|
+
- @swapkit/utxo-signer@2.1.3
|
|
144
|
+
- @swapkit/helpers@4.13.8
|
|
145
|
+
|
|
146
|
+
## 4.15.10
|
|
147
|
+
|
|
148
|
+
### Patch Changes
|
|
149
|
+
|
|
150
|
+
- Updated dependencies [[`1bb5e02`](https://github.com/swapkit/sdk/commit/1bb5e023c929fd4772bfe2d639e624fcb038dd2c)]:
|
|
151
|
+
- @swapkit/helpers@4.13.7
|
|
152
|
+
|
|
153
|
+
## 4.15.9
|
|
154
|
+
|
|
155
|
+
### Patch Changes
|
|
156
|
+
|
|
157
|
+
- Updated dependencies [[`13273d5`](https://github.com/swapkit/sdk/commit/13273d52ec6db5aa779e6a940c904f9ecb6a0821)]:
|
|
158
|
+
- @swapkit/helpers@4.13.6
|
|
159
|
+
- @swapkit/utxo-signer@2.1.2
|
|
160
|
+
|
|
161
|
+
## 4.15.8
|
|
162
|
+
|
|
163
|
+
### Patch Changes
|
|
164
|
+
|
|
165
|
+
- [#219](https://github.com/swapkit/sdk/pull/219) [`b2803ad`](https://github.com/swapkit/sdk/commit/b2803ad51c7160e981a0977c3af1ecc5956d9c66) Thanks [@mfaizan1](https://github.com/mfaizan1)! - fix(utxo): BCH swap signing via SwapKitPlugin
|
|
166
|
+
|
|
167
|
+
The BCH toolbox inherited `signAndBroadcastTransaction` from the generic UTXO
|
|
168
|
+
toolbox, which was constructed without the phrase (no signer) and — even with
|
|
169
|
+
one — signs without BCH's mandatory `SIGHASH_FORKID` flag. This caused
|
|
170
|
+
`toolbox_utxo_no_signer` on any BCH swap routed through direct signing.
|
|
171
|
+
|
|
172
|
+
Add a BCH-specific `signAndBroadcastTransaction` that uses the BCH signer
|
|
173
|
+
(SIGHASH_FORKID = 0x41) and the BCH broadcast endpoint.
|
|
174
|
+
|
|
175
|
+
- Updated dependencies [[`377c3d7`](https://github.com/swapkit/sdk/commit/377c3d75b8b8097794fa6913ea9662627ec4a55a)]:
|
|
176
|
+
- @swapkit/helpers@4.13.5
|
|
177
|
+
|
|
178
|
+
## 4.15.7
|
|
179
|
+
|
|
180
|
+
### Patch Changes
|
|
181
|
+
|
|
182
|
+
- [#215](https://github.com/swapkit/sdk/pull/215) [`240410b`](https://github.com/swapkit/sdk/commit/240410b79327232c88e6d7101725855e9decdbab) Thanks [@towanTG](https://github.com/towanTG)! - Use the THORChain and MAYA registry-aware signing client for direct Cosmos transaction signing and broadcasting.
|
|
183
|
+
|
|
184
|
+
- Updated dependencies []:
|
|
185
|
+
- @swapkit/helpers@4.13.4
|
|
186
|
+
|
|
187
|
+
## 4.15.6
|
|
188
|
+
|
|
189
|
+
### Patch Changes
|
|
190
|
+
|
|
191
|
+
- [`7714d82`](https://github.com/swapkit/sdk/commit/7714d82679f6713e33e71d91aeeabdf7eb135082) Thanks [@towanTG](https://github.com/towanTG)! - Retrigger the toolbox release flow so the NEAR static `near-seed-phrase` import change is included in the next published package.
|
|
192
|
+
|
|
193
|
+
- Updated dependencies []:
|
|
194
|
+
- @swapkit/helpers@4.13.4
|
|
195
|
+
|
|
196
|
+
## 4.15.5
|
|
197
|
+
|
|
198
|
+
### Patch Changes
|
|
199
|
+
|
|
200
|
+
- [`fbd9fdb`](https://github.com/swapkit/sdk/commit/fbd9fdb2f6aab81c1785c1d596bda6f670d3340e) Thanks [@towanTG](https://github.com/towanTG)! - Use a static `near-seed-phrase` import in the NEAR toolbox phrase signer helper.
|
|
201
|
+
|
|
202
|
+
- [`195323d`](https://github.com/swapkit/sdk/commit/195323d775117b0909d8e9b34b6716456c3e1f7b) Thanks [@towanTG](https://github.com/towanTG)! - Revert the toolboxes CommonJS minification workaround now that the NEAR keystore issue is handled in Vite CommonJS interop.
|
|
203
|
+
|
|
204
|
+
- Updated dependencies []:
|
|
205
|
+
- @swapkit/helpers@4.13.4
|
|
206
|
+
|
|
207
|
+
## 4.15.4
|
|
208
|
+
|
|
209
|
+
### Patch Changes
|
|
210
|
+
|
|
211
|
+
- [#207](https://github.com/swapkit/sdk/pull/207) [`fc37241`](https://github.com/swapkit/sdk/commit/fc37241ed4a13d4da6da2d7c3ac7dd6691fa9707) Thanks [@towanTG](https://github.com/towanTG)! - Fix the CommonJS NEAR toolbox build so phrase signers with derivation paths no longer fail at runtime.
|
|
212
|
+
|
|
213
|
+
- Updated dependencies [[`5cb7567`](https://github.com/swapkit/sdk/commit/5cb75672bc705fb82f35770dc1b33d3b87ab2dcf)]:
|
|
214
|
+
- @swapkit/helpers@4.13.4
|
|
215
|
+
|
|
216
|
+
## 4.15.3
|
|
217
|
+
|
|
218
|
+
### Patch Changes
|
|
219
|
+
|
|
220
|
+
- Updated dependencies [[`b57e263`](https://github.com/swapkit/sdk/commit/b57e263961827fa95b9fbe5f83f12897026fad13)]:
|
|
221
|
+
- @swapkit/helpers@4.13.3
|
|
222
|
+
|
|
223
|
+
## 4.15.2
|
|
224
|
+
|
|
225
|
+
### Patch Changes
|
|
226
|
+
|
|
227
|
+
- [#202](https://github.com/swapkit/sdk/pull/202) [`a1b9497`](https://github.com/swapkit/sdk/commit/a1b94971173e9499f48f20836b480908ed05149a) Thanks [@ice-chillios](https://github.com/ice-chillios)! - replace tc thornode and rpc default url + add thornode config
|
|
228
|
+
|
|
229
|
+
- Updated dependencies [[`a1b9497`](https://github.com/swapkit/sdk/commit/a1b94971173e9499f48f20836b480908ed05149a)]:
|
|
230
|
+
- @swapkit/helpers@4.13.2
|
|
231
|
+
|
|
232
|
+
## 4.15.1
|
|
233
|
+
|
|
234
|
+
### Patch Changes
|
|
235
|
+
|
|
236
|
+
- Updated dependencies [[`1f80e1d`](https://github.com/swapkit/sdk/commit/1f80e1d78b9d6397a027ece5f410ccb5341dd7ba)]:
|
|
237
|
+
- @swapkit/helpers@4.13.1
|
|
238
|
+
|
|
239
|
+
## 4.15.0
|
|
240
|
+
|
|
241
|
+
### Minor Changes
|
|
242
|
+
|
|
243
|
+
- [#199](https://github.com/swapkit/sdk/pull/199) [`7b163b6`](https://github.com/swapkit/sdk/commit/7b163b678d633a2258fccc28e07bb8ea2af1aea7) Thanks [@towanTG](https://github.com/towanTG)! - Add account-aware UTXO HD discovery helpers and metadata APIs. `getExtendedPublicKey()` remains backwards compatible and still returns the bare xpub string; new callers can use `getExtendedPublicKeyInfo({ accountIndex })` for `{ xpub, path, accountIndex }` metadata and `deriveAddressAtIndex`/`deriveAddresses` now accept `accountIndex`.
|
|
244
|
+
|
|
245
|
+
### Patch Changes
|
|
246
|
+
|
|
247
|
+
- Updated dependencies []:
|
|
248
|
+
- @swapkit/helpers@4.13.0
|
|
249
|
+
|
|
250
|
+
## 4.14.5
|
|
251
|
+
|
|
252
|
+
### Patch Changes
|
|
253
|
+
|
|
254
|
+
- Updated dependencies [[`616a3cb`](https://github.com/swapkit/sdk/commit/616a3cbf37fd9bd40e4412928e36859de24129de)]:
|
|
255
|
+
- @swapkit/helpers@4.13.0
|
|
256
|
+
|
|
257
|
+
## 4.14.4
|
|
258
|
+
|
|
259
|
+
### Patch Changes
|
|
260
|
+
|
|
261
|
+
- [#192](https://github.com/swapkit/sdk/pull/192) [`ea63723`](https://github.com/swapkit/sdk/commit/ea63723b0b9b0d48f64612d22cc37e0ef43f2b07) Thanks [@ice-chillios](https://github.com/ice-chillios)! - Release builder tools
|
|
262
|
+
|
|
263
|
+
- Updated dependencies [[`ea63723`](https://github.com/swapkit/sdk/commit/ea63723b0b9b0d48f64612d22cc37e0ef43f2b07)]:
|
|
264
|
+
- @swapkit/utxo-signer@2.1.1
|
|
265
|
+
- @swapkit/helpers@4.12.9
|
|
266
|
+
|
|
267
|
+
## 4.14.3
|
|
268
|
+
|
|
269
|
+
### Patch Changes
|
|
270
|
+
|
|
271
|
+
- [#190](https://github.com/swapkit/sdk/pull/190) [`acc279b`](https://github.com/swapkit/sdk/commit/acc279b4f7c7d6914df4cabf8115e487c1ce376e) Thanks [@towanTG](https://github.com/towanTG)! - Add FLASHNET to ProviderName enum, improve invalid asset identifier error message, and fix Arbitrum gas estimation (apply buffer + fee multipliers to prevent `maxFeePerGas < baseFee` errors)
|
|
272
|
+
|
|
273
|
+
- Updated dependencies [[`acc279b`](https://github.com/swapkit/sdk/commit/acc279b4f7c7d6914df4cabf8115e487c1ce376e)]:
|
|
274
|
+
- @swapkit/helpers@4.12.8
|
|
275
|
+
|
|
276
|
+
## 4.14.2
|
|
277
|
+
|
|
278
|
+
### Patch Changes
|
|
279
|
+
|
|
280
|
+
- [#187](https://github.com/swapkit/sdk/pull/187) [`8e6532b`](https://github.com/swapkit/sdk/commit/8e6532beec425e35f9d5454cd2ec976516cbd7d5) Thanks [@towanTG](https://github.com/towanTG)! - fix(hypercore): use spotSend for all transfers including USDC
|
|
281
|
+
|
|
282
|
+
USDC transfers were using `usdSend` (perp-side) instead of `spotSend`, causing "Insufficient balance for withdrawal" errors when sending spot USDC. Now fetches token metadata from `spotMeta` API to build proper AssetValue identifiers with token IDs, ensuring all transfers route through `spotSend`. Also adds a static HyperCore token list with HYPE and USDC.
|
|
283
|
+
|
|
284
|
+
- Updated dependencies []:
|
|
285
|
+
- @swapkit/helpers@4.12.7
|
|
286
|
+
|
|
287
|
+
## 4.14.1
|
|
288
|
+
|
|
289
|
+
### Patch Changes
|
|
290
|
+
|
|
291
|
+
- [#185](https://github.com/swapkit/sdk/pull/185) [`a05324b`](https://github.com/swapkit/sdk/commit/a05324b355e7ad36fce6d98c087f4ce1844e5b50) Thanks [@towanTG](https://github.com/towanTG)! - fix(cardano): add witness size buffer to fee calculation to prevent FeeTooSmallUTxO errors
|
|
292
|
+
|
|
293
|
+
- Updated dependencies []:
|
|
294
|
+
- @swapkit/helpers@4.12.6
|
|
295
|
+
|
|
296
|
+
## 4.14.0
|
|
297
|
+
|
|
298
|
+
### Minor Changes
|
|
299
|
+
|
|
300
|
+
- [#176](https://github.com/swapkit/sdk/pull/176) [`21447e8`](https://github.com/swapkit/sdk/commit/21447e8f43862c8a2775a5e89287e65aa2fad66d) Thanks [@towanTG](https://github.com/towanTG)! - feat: add HyperCore (Hyperliquid L1) chain integration
|
|
301
|
+
|
|
302
|
+
- Add Chain.HyperCore enum and chain configuration
|
|
303
|
+
- Add gas asset recognition, common asset info, and asset type detection for HYPE on HyperCore
|
|
304
|
+
- Create HyperCore toolbox with balance fetching, spot transfers, and address validation
|
|
305
|
+
- Wire toolbox into main routing and package exports
|
|
306
|
+
|
|
307
|
+
### Patch Changes
|
|
308
|
+
|
|
309
|
+
- Updated dependencies [[`21447e8`](https://github.com/swapkit/sdk/commit/21447e8f43862c8a2775a5e89287e65aa2fad66d)]:
|
|
310
|
+
- @swapkit/helpers@4.12.6
|
|
311
|
+
|
|
312
|
+
## 4.13.3
|
|
313
|
+
|
|
314
|
+
### Patch Changes
|
|
315
|
+
|
|
316
|
+
- Updated dependencies [[`8a71a23`](https://github.com/swapkit/sdk/commit/8a71a232510c57fad651e84b1b6877269209856d)]:
|
|
317
|
+
- @swapkit/helpers@4.12.5
|
|
318
|
+
|
|
319
|
+
## 4.13.2
|
|
320
|
+
|
|
321
|
+
### Patch Changes
|
|
322
|
+
|
|
323
|
+
- Updated dependencies [[`23f7099`](https://github.com/swapkit/sdk/commit/23f7099450b674b106b611c2a7166a12895e5686)]:
|
|
324
|
+
- @swapkit/helpers@4.12.4
|
|
325
|
+
|
|
326
|
+
## 4.13.1
|
|
327
|
+
|
|
328
|
+
### Patch Changes
|
|
329
|
+
|
|
330
|
+
- [#168](https://github.com/swapkit/sdk/pull/168) [`df5c67c`](https://github.com/swapkit/sdk/commit/df5c67cb9af27fe625959113bad47a74ad7cca58) Thanks [@towanTG](https://github.com/towanTG)! - fix: complete HyperEVM chain integration - gas asset recognition, common asset info, token address resolution, and chainId verification
|
|
331
|
+
|
|
332
|
+
- Updated dependencies [[`df5c67c`](https://github.com/swapkit/sdk/commit/df5c67cb9af27fe625959113bad47a74ad7cca58)]:
|
|
333
|
+
- @swapkit/helpers@4.12.3
|
|
334
|
+
|
|
335
|
+
## 4.13.0
|
|
336
|
+
|
|
337
|
+
### Minor Changes
|
|
338
|
+
|
|
339
|
+
- [#155](https://github.com/swapkit/sdk/pull/155) [`551d65f`](https://github.com/swapkit/sdk/commit/551d65f8c761a7ff9a720ca54254f418a23d8dcd) Thanks [@towanTG](https://github.com/towanTG)! - feat: add ADI Chain support (zkSync zkStack L2, chain ID 36900)
|
|
340
|
+
|
|
341
|
+
### Patch Changes
|
|
342
|
+
|
|
343
|
+
- Updated dependencies []:
|
|
344
|
+
- @swapkit/helpers@4.12.2
|
|
345
|
+
|
|
346
|
+
## 4.12.1
|
|
347
|
+
|
|
348
|
+
### Patch Changes
|
|
349
|
+
|
|
350
|
+
- Updated dependencies [[`674bce5`](https://github.com/swapkit/sdk/commit/674bce5d834ed6cf416282e60729fe9bd24fa698)]:
|
|
351
|
+
- @swapkit/helpers@4.12.1
|
|
352
|
+
|
|
353
|
+
## 4.12.0
|
|
354
|
+
|
|
355
|
+
### Minor Changes
|
|
356
|
+
|
|
357
|
+
- [#136](https://github.com/swapkit/sdk/pull/136) [`e770e34`](https://github.com/swapkit/sdk/commit/e770e34f008e9c96738ed9d445dc5680927ad719) Thanks [@ice-chillios](https://github.com/ice-chillios)! - Add EIP-712 signTypedData handler
|
|
358
|
+
|
|
359
|
+
### Patch Changes
|
|
360
|
+
|
|
361
|
+
- Updated dependencies [[`e770e34`](https://github.com/swapkit/sdk/commit/e770e34f008e9c96738ed9d445dc5680927ad719)]:
|
|
362
|
+
- @swapkit/helpers@4.12.0
|
|
363
|
+
|
|
364
|
+
## 4.11.2
|
|
365
|
+
|
|
366
|
+
### Patch Changes
|
|
367
|
+
|
|
368
|
+
- [#144](https://github.com/swapkit/sdk/pull/144) [`686341c`](https://github.com/swapkit/sdk/commit/686341cc66cc09b6389d19f57787203c72566ff8) Thanks [@towanTG](https://github.com/towanTG)! - Integrate Orbs TON Access as dynamic RPC endpoint for TON toolbox
|
|
369
|
+
|
|
370
|
+
- Updated dependencies []:
|
|
371
|
+
- @swapkit/helpers@4.11.0
|
|
372
|
+
|
|
373
|
+
## 4.11.1
|
|
374
|
+
|
|
375
|
+
### Patch Changes
|
|
376
|
+
|
|
377
|
+
- [#137](https://github.com/swapkit/sdk/pull/137) [`f661bbe`](https://github.com/swapkit/sdk/commit/f661bbe11f4b4562ecebbfd1f6a024f5ecbb35ad) Thanks [@olegpetroveth](https://github.com/olegpetroveth)! - Add `pureLovelaceOnly` option to Cardano `createTransaction` to filter out token-bearing UTXOs, ensuring only pure lovelace UTXOs are used as inputs.
|
|
378
|
+
|
|
379
|
+
- Updated dependencies []:
|
|
380
|
+
- @swapkit/helpers@4.11.0
|
|
381
|
+
|
|
382
|
+
## 4.11.0
|
|
383
|
+
|
|
384
|
+
### Minor Changes
|
|
385
|
+
|
|
386
|
+
- [`9804504`](https://github.com/swapkit/sdk/commit/9804504d0500d2a30dcc2677dba084a8a77cbcc7) Thanks [@towanTG](https://github.com/towanTG)! - refactor(tron): replace tronweb SDK with direct HTTP API and noble crypto for proto handling
|
|
387
|
+
|
|
388
|
+
### Patch Changes
|
|
389
|
+
|
|
390
|
+
- [`9804504`](https://github.com/swapkit/sdk/commit/9804504d0500d2a30dcc2677dba084a8a77cbcc7) Thanks [@towanTG](https://github.com/towanTG)! - chore: automatic tokenlist update
|
|
391
|
+
|
|
392
|
+
- [#140](https://github.com/swapkit/sdk/pull/140) [`997361a`](https://github.com/swapkit/sdk/commit/997361a6dabb079731268785c76d92e8e022b2be) Thanks [@towanTG](https://github.com/towanTG)! - fix(ton): use SwapKit API for balance queries instead of direct RPC
|
|
393
|
+
|
|
394
|
+
- Updated dependencies [[`9804504`](https://github.com/swapkit/sdk/commit/9804504d0500d2a30dcc2677dba084a8a77cbcc7)]:
|
|
395
|
+
- @swapkit/helpers@4.11.0
|
|
396
|
+
|
|
397
|
+
## 4.10.3
|
|
398
|
+
|
|
399
|
+
### Patch Changes
|
|
400
|
+
|
|
401
|
+
- [`c2de41f`](https://github.com/swapkit/sdk/commit/c2de41f9773f0814a11d3ec0d191598b253d67da) Thanks [@towanTG](https://github.com/towanTG)! - Uses API to fetch solana balance
|
|
402
|
+
|
|
403
|
+
- Updated dependencies []:
|
|
404
|
+
- @swapkit/helpers@4.10.7
|
|
405
|
+
|
|
406
|
+
## 4.10.2
|
|
407
|
+
|
|
408
|
+
### Patch Changes
|
|
409
|
+
|
|
410
|
+
- Updated dependencies []:
|
|
411
|
+
- @swapkit/helpers@4.10.6
|
|
412
|
+
|
|
413
|
+
## 4.10.1
|
|
414
|
+
|
|
415
|
+
### Patch Changes
|
|
416
|
+
|
|
417
|
+
- [#127](https://github.com/swapkit/sdk/pull/127) [`6346a4a`](https://github.com/swapkit/sdk/commit/6346a4a3c5cdde95f282b841d80d79c8eece47a8) Thanks [@towanTG](https://github.com/towanTG)! - Fix Solana RPC requests failing with CORS errors due to non-standard headers. The @solana/web3.js Connection sends `Pragma` and `solana-client` headers that trigger CORS preflight failures on many RPC providers. Added a fetchMiddleware to strip these headers before requests are sent, and used optional chaining to handle cases where the init parameter may be undefined.
|
|
418
|
+
|
|
419
|
+
- Updated dependencies [[`6346a4a`](https://github.com/swapkit/sdk/commit/6346a4a3c5cdde95f282b841d80d79c8eece47a8)]:
|
|
420
|
+
- @swapkit/helpers@4.10.5
|
|
421
|
+
|
|
422
|
+
## 4.10.0
|
|
423
|
+
|
|
424
|
+
### Minor Changes
|
|
425
|
+
|
|
426
|
+
- [#120](https://github.com/swapkit/sdk/pull/120) [`0fd10ee`](https://github.com/swapkit/sdk/commit/0fd10eedd1c39324d4559c3e44f94ab1d55e644a) Thanks [@towanTG](https://github.com/towanTG)! - feat(utxo): replace bitcoinjs-lib with scure-btc-signer for all UTXO chains
|
|
427
|
+
|
|
428
|
+
Introduces @swapkit/utxo-signer as a standalone signing package built on @noble/hashes and @scure/btc-signer. Refactors UTXO toolbox with HD wallet derivation, RBF (replace-by-fee) support, Zcash PCZT transaction builder, improved fee estimation, and batch UTXO fetching for Dogecoin. Hardware wallets (Ledger, Trezor, KeepKey) and keystore wallet updated to use the new signer.
|
|
429
|
+
|
|
430
|
+
### Patch Changes
|
|
431
|
+
|
|
432
|
+
- Updated dependencies [[`0fd10ee`](https://github.com/swapkit/sdk/commit/0fd10eedd1c39324d4559c3e44f94ab1d55e644a)]:
|
|
433
|
+
- @swapkit/utxo-signer@2.1.0
|
|
434
|
+
- @swapkit/helpers@4.10.4
|
|
435
|
+
|
|
436
|
+
## 4.9.7
|
|
437
|
+
|
|
438
|
+
### Patch Changes
|
|
439
|
+
|
|
440
|
+
- [#115](https://github.com/swapkit/sdk/pull/115) [`365fd35`](https://github.com/swapkit/sdk/commit/365fd35f35e9ad171509ead07c234244187e0a1c) Thanks [@towanTG](https://github.com/towanTG)! - fix(cardano): sort UTXOs so lovelace-only are preferred, use token UTXOs as fallback with proper change
|
|
441
|
+
|
|
442
|
+
Previously, createTransaction used all UTXOs indiscriminately. Now lovelace-only UTXOs are sorted first so the coin selector prefers them, avoiding unnecessary token change outputs. When lovelace-only UTXOs are insufficient, token-bearing UTXOs are used and native tokens are returned as change to the sender.
|
|
443
|
+
|
|
444
|
+
- Updated dependencies []:
|
|
445
|
+
- @swapkit/helpers@4.10.3
|
|
446
|
+
|
|
447
|
+
## 4.9.6
|
|
448
|
+
|
|
449
|
+
### Patch Changes
|
|
450
|
+
|
|
451
|
+
- Updated dependencies [[`cb3f8b4`](https://github.com/swapkit/sdk/commit/cb3f8b426eda4e65513b0d1fbfc263dff961a30d)]:
|
|
452
|
+
- @swapkit/helpers@4.10.3
|
|
453
|
+
|
|
454
|
+
## 4.9.5
|
|
455
|
+
|
|
456
|
+
### Patch Changes
|
|
457
|
+
|
|
458
|
+
- [#89](https://github.com/swapkit/sdk/pull/89) [`36f0c95`](https://github.com/swapkit/sdk/commit/36f0c9535bec4d608a853d5a00f178b4f4cc09f4) Thanks [@mfaizan1](https://github.com/mfaizan1)! - add sui support for ledger
|
|
459
|
+
|
|
460
|
+
- [#101](https://github.com/swapkit/sdk/pull/101) [`3fbec61`](https://github.com/swapkit/sdk/commit/3fbec61cf9b4a5a6b8604c6c3b94d15a3e9de0d7) Thanks [@towanTG](https://github.com/towanTG)! - feat(ton): add TON transaction schema, plugin support, and refactor toolbox to message-based API with separate sign/broadcastTransaction
|
|
461
|
+
|
|
462
|
+
- Updated dependencies [[`3fbec61`](https://github.com/swapkit/sdk/commit/3fbec61cf9b4a5a6b8604c6c3b94d15a3e9de0d7)]:
|
|
463
|
+
- @swapkit/helpers@4.10.2
|
|
464
|
+
|
|
465
|
+
## 4.9.4
|
|
466
|
+
|
|
467
|
+
### Patch Changes
|
|
468
|
+
|
|
469
|
+
- Updated dependencies [[`d49a4f2`](https://github.com/swapkit/sdk/commit/d49a4f21cd8929212161321f3ed9956dceb8d7c1)]:
|
|
470
|
+
- @swapkit/helpers@4.10.1
|
|
471
|
+
|
|
472
|
+
## 4.9.3
|
|
473
|
+
|
|
474
|
+
### Patch Changes
|
|
475
|
+
|
|
476
|
+
- [`2a3f741`](https://github.com/swapkit/sdk/commit/2a3f74120c83724dc61360ac3bcae848683218c1) Thanks [@towanTG](https://github.com/towanTG)! - Cardano: Remove transaction cache and sign directly from CBOR string
|
|
477
|
+
|
|
478
|
+
- Removed in-memory transaction cache that didn't work across contexts (e.g., backend)
|
|
479
|
+
- Sign transactions directly from CBOR hex string without needing the Transaction object
|
|
480
|
+
- Dynamic import of `@stricahq/cbors` for CBOR parsing (lazy loaded on sign)
|
|
481
|
+
- Simplified signer type to `ChainSigner<string, string>`
|
|
482
|
+
|
|
483
|
+
- [#92](https://github.com/swapkit/sdk/pull/92) [`6b26d26`](https://github.com/swapkit/sdk/commit/6b26d26ab61fa4a05021bae1055fbefca14516f2) Thanks [@towanTG](https://github.com/towanTG)! - Rewrite Cardano toolbox to use @stricahq/typhonjs instead of @harmoniclabs/cardano-ledger-ts. This eliminates the UPLC/Plutus dependency entirely by switching to a pure JavaScript Cardano library with NO plutus-machine dependencies.
|
|
484
|
+
|
|
485
|
+
**Key Changes:**
|
|
486
|
+
|
|
487
|
+
- Replaced @harmoniclabs/cardano-ledger-ts with @stricahq/typhonjs (pure JavaScript, no UPLC)
|
|
488
|
+
- Uses typhonjs Transaction class with paymentTransaction() helper for simplified transaction building
|
|
489
|
+
- Automatic UTxO selection and fee calculation via prepareTransaction()
|
|
490
|
+
- Automatic change output handling
|
|
491
|
+
- Protocol parameters fetched from Blockfrost on-demand
|
|
492
|
+
- Kept @stricahq/bip32ed25519 for CIP-1852 key derivation
|
|
493
|
+
- Maintained identical public API signatures for all 8 toolbox methods
|
|
494
|
+
- CIP-20 metadata support for transaction memos
|
|
495
|
+
|
|
496
|
+
**Dependencies:**
|
|
497
|
+
|
|
498
|
+
- Removed: @harmoniclabs/cardano-ledger-ts@^0.3.2
|
|
499
|
+
- Added: @stricahq/typhonjs@~3.0.1
|
|
500
|
+
- Kept: @stricahq/bip32ed25519@1.1.2
|
|
501
|
+
|
|
502
|
+
**Bundle Size Impact:**
|
|
503
|
+
|
|
504
|
+
- Eliminated UPLC peer dependency entirely
|
|
505
|
+
- Pure JavaScript transaction building without Plutus dependencies
|
|
506
|
+
- Smaller bundle with automatic transaction preparation
|
|
507
|
+
|
|
508
|
+
**Cleanup:**
|
|
509
|
+
|
|
510
|
+
- Remove ESM/CJS workarounds no longer needed after migration (bech32 alias, serialize-error shim, require() workarounds)
|
|
511
|
+
- Clean up Vite configs to remove old Cardano library externals (@blaze-cardano, @emurgo, @cardano-sdk)
|
|
512
|
+
|
|
513
|
+
- Updated dependencies [[`6b26d26`](https://github.com/swapkit/sdk/commit/6b26d26ab61fa4a05021bae1055fbefca14516f2), [`6b26d26`](https://github.com/swapkit/sdk/commit/6b26d26ab61fa4a05021bae1055fbefca14516f2), [`f041b69`](https://github.com/swapkit/sdk/commit/f041b69431a9c891780c931e591b8691a2a85daa)]:
|
|
514
|
+
- @swapkit/helpers@4.10.0
|
|
515
|
+
|
|
516
|
+
## 4.9.2
|
|
517
|
+
|
|
518
|
+
### Patch Changes
|
|
519
|
+
|
|
520
|
+
- Updated dependencies [[`61296c8`](https://github.com/swapkit/sdk/commit/61296c81f33981c96bfba590c98298ee5629a06f)]:
|
|
521
|
+
- @swapkit/helpers@4.9.5
|
|
522
|
+
|
|
523
|
+
## 4.9.1
|
|
524
|
+
|
|
525
|
+
### Patch Changes
|
|
526
|
+
|
|
527
|
+
- [#9](https://github.com/swapkit/sdk/pull/9) [`01cfad6`](https://github.com/swapkit/sdk/commit/01cfad601398e39fb852f97f4fa6dbf6309bb680) Thanks [@towanTG](https://github.com/towanTG)! - Rewrite Cardano toolbox to use @stricahq/typhonjs instead of @harmoniclabs/cardano-ledger-ts. This eliminates the UPLC/Plutus dependency entirely by switching to a pure JavaScript Cardano library with NO plutus-machine dependencies.
|
|
528
|
+
|
|
529
|
+
**Key Changes:**
|
|
530
|
+
|
|
531
|
+
- Replaced @harmoniclabs/cardano-ledger-ts with @stricahq/typhonjs (pure JavaScript, no UPLC)
|
|
532
|
+
- Uses typhonjs Transaction class with paymentTransaction() helper for simplified transaction building
|
|
533
|
+
- Automatic UTxO selection and fee calculation via prepareTransaction()
|
|
534
|
+
- Automatic change output handling
|
|
535
|
+
- Protocol parameters fetched from Blockfrost on-demand
|
|
536
|
+
- Kept @stricahq/bip32ed25519 for CIP-1852 key derivation
|
|
537
|
+
- Maintained identical public API signatures for all 8 toolbox methods
|
|
538
|
+
- CIP-20 metadata support for transaction memos
|
|
539
|
+
|
|
540
|
+
**Dependencies:**
|
|
541
|
+
|
|
542
|
+
- Removed: @harmoniclabs/cardano-ledger-ts@^0.3.2
|
|
543
|
+
- Added: @stricahq/typhonjs@~3.0.1
|
|
544
|
+
- Kept: @stricahq/bip32ed25519@1.1.2
|
|
545
|
+
|
|
546
|
+
**Bundle Size Impact:**
|
|
547
|
+
|
|
548
|
+
- Eliminated UPLC peer dependency entirely
|
|
549
|
+
- Pure JavaScript transaction building without Plutus dependencies
|
|
550
|
+
- Smaller bundle with automatic transaction preparation
|
|
551
|
+
|
|
552
|
+
**Cleanup:**
|
|
553
|
+
|
|
554
|
+
- Remove ESM/CJS workarounds no longer needed after migration (bech32 alias, serialize-error shim, require() workarounds)
|
|
555
|
+
- Clean up Vite configs to remove old Cardano library externals (@blaze-cardano, @emurgo, @cardano-sdk)
|
|
556
|
+
|
|
557
|
+
- [#85](https://github.com/swapkit/sdk/pull/85) [`bdd6a23`](https://github.com/swapkit/sdk/commit/bdd6a237c41cb6a14465b04c9acbc3fbe2899be4) Thanks [@towanTG](https://github.com/towanTG)! - Fixes cardanao low level toolbox implementation
|
|
558
|
+
|
|
559
|
+
- Updated dependencies [[`01cfad6`](https://github.com/swapkit/sdk/commit/01cfad601398e39fb852f97f4fa6dbf6309bb680), [`01cfad6`](https://github.com/swapkit/sdk/commit/01cfad601398e39fb852f97f4fa6dbf6309bb680)]:
|
|
560
|
+
- @swapkit/helpers@4.9.4
|
|
561
|
+
|
|
562
|
+
## 4.9.0
|
|
563
|
+
|
|
564
|
+
### Minor Changes
|
|
565
|
+
|
|
566
|
+
- [#47](https://github.com/swapkit/sdk/pull/47) [`8e2587a`](https://github.com/swapkit/sdk/commit/8e2587a0bfcd41a1023fadb821903a4961d0aeef) Thanks [@ice-chillios](https://github.com/ice-chillios)! - feat: Add EIP-7702 (Set EOA account code) transaction support
|
|
567
|
+
|
|
568
|
+
- Add Type 4 transaction detection and handling in EVM toolbox
|
|
569
|
+
- Add `signAuthorization` helper for signing EIP-7702 authorizations
|
|
570
|
+
- Export `Authorization` type from ethers for external use
|
|
571
|
+
- Integrate EIP-7702 support in Chainflip plugin for smart account features
|
|
572
|
+
|
|
573
|
+
- [#54](https://github.com/swapkit/sdk/pull/54) [`123f2d6`](https://github.com/swapkit/sdk/commit/123f2d6454e8023d28d0d878f95c876ca5738d10) Thanks [@ice-chillios](https://github.com/ice-chillios)! - feat(ripple): add XRPL token support with trust line management
|
|
574
|
+
|
|
575
|
+
- Add token transfer support for XRPL issued currencies
|
|
576
|
+
- Add trust line management: `getTrustLines`, `hasTrustLine`, `setTrustLine`, `setTrustLineAndBroadcast`
|
|
577
|
+
- Add currency encoding utilities for hex/ASCII XRPL currency codes
|
|
578
|
+
- Add known tokens list with verified issuers (USDC, RLUSD, Bitstamp, GateHub, Sologenic)
|
|
579
|
+
- Add Xaman wallet support for token transfers and trust line operations
|
|
580
|
+
- Add new Ripple-specific error codes
|
|
581
|
+
- Mark Ripple as case-sensitive chain for asset identifiers
|
|
582
|
+
|
|
583
|
+
### Patch Changes
|
|
584
|
+
|
|
585
|
+
- [#51](https://github.com/swapkit/sdk/pull/51) [`1640cd7`](https://github.com/swapkit/sdk/commit/1640cd7ba5ff3397d278ce6a08f84ee98cfd356f) Thanks [@ice-chillios](https://github.com/ice-chillios)! - chore: improve fee estimation for Cardano, NEAR, and TON
|
|
586
|
+
|
|
587
|
+
- Add dynamic fee estimation for TON using estimateExternalMessageFee
|
|
588
|
+
- Add dynamic fee estimation for Cardano using protocol parameters and tx size
|
|
589
|
+
- Add dynamic fee estimation for NEAR using EXPERIMENTAL_protocol_config
|
|
590
|
+
- Fix BigInt conversions for TON and Starknet
|
|
591
|
+
- Consolidate fee estimation error codes
|
|
592
|
+
- NEAR: Add `estimateGasLimit` (replaces `estimateGas` which is now deprecated)
|
|
593
|
+
|
|
594
|
+
- Updated dependencies [[`1640cd7`](https://github.com/swapkit/sdk/commit/1640cd7ba5ff3397d278ce6a08f84ee98cfd356f), [`123f2d6`](https://github.com/swapkit/sdk/commit/123f2d6454e8023d28d0d878f95c876ca5738d10)]:
|
|
595
|
+
- @swapkit/helpers@4.9.3
|
|
596
|
+
|
|
597
|
+
## 4.8.1
|
|
598
|
+
|
|
599
|
+
### Patch Changes
|
|
600
|
+
|
|
601
|
+
- Updated dependencies []:
|
|
602
|
+
- @swapkit/helpers@4.9.2
|
|
603
|
+
|
|
604
|
+
## 4.8.0
|
|
605
|
+
|
|
606
|
+
### Minor Changes
|
|
607
|
+
|
|
608
|
+
- [`8d9fd7d`](https://github.com/swapkit/sdk/commit/8d9fd7d56dbfe57638204060d029680452e08c39) Thanks [@towanTG](https://github.com/towanTG)! - feat(toolbox): add Starknet chain support
|
|
609
|
+
|
|
610
|
+
### Patch Changes
|
|
611
|
+
|
|
612
|
+
- Updated dependencies [[`8d9fd7d`](https://github.com/swapkit/sdk/commit/8d9fd7d56dbfe57638204060d029680452e08c39)]:
|
|
613
|
+
- @swapkit/helpers@4.9.1
|
|
614
|
+
|
|
615
|
+
## 4.7.0
|
|
616
|
+
|
|
617
|
+
### Minor Changes
|
|
618
|
+
|
|
619
|
+
- [#13](https://github.com/swapkit/sdk/pull/13) [`08d41d2`](https://github.com/swapkit/sdk/commit/08d41d2476c56a6f81f5ea83902e6c497278c995) Thanks [@towanTG](https://github.com/towanTG)! - feat: Add V3 swap flow support with SwapKitPlugin
|
|
620
|
+
|
|
621
|
+
### New Features
|
|
622
|
+
|
|
623
|
+
- **SwapKitPlugin**: New plugin for signing raw SwapKit API transactions directly
|
|
624
|
+
|
|
625
|
+
- Supports UTXO chains (BTC, BCH, LTC, DOGE, DASH, ZEC) via PSBT
|
|
626
|
+
- Supports all EVM chains via eth_sendTransaction
|
|
627
|
+
- Supports Cosmos chains, Solana, Near, Ripple, Tron, Sui, Cardano
|
|
628
|
+
- Includes transaction parsing validation with proper error handling
|
|
629
|
+
|
|
630
|
+
- **V3SwapFlowSupport**: Registry mapping chains to supported wallets for V3 flow
|
|
631
|
+
|
|
632
|
+
- Enables detection of wallet/chain capability for raw transaction signing
|
|
633
|
+
- Automatic fallback to named plugins when V3 not supported
|
|
634
|
+
|
|
635
|
+
- **signAndBroadcastTransaction**: New method on toolboxes for signing pre-built transactions
|
|
636
|
+
- Added to Cosmos, Cardano, Tron, Sui, Near, Ripple toolboxes
|
|
637
|
+
- Enables direct signing of API-provided transactions
|
|
638
|
+
|
|
639
|
+
### Improvements
|
|
640
|
+
|
|
641
|
+
- Added new error key `plugin_swapkit_invalid_transaction` for better error handling
|
|
642
|
+
- Improved test coverage across toolboxes (Near, Ripple, Solana, Substrate, Tron, UTXO)
|
|
643
|
+
- Enhanced UTXO coin selection and transaction size estimation
|
|
644
|
+
- Code cleanup in Cosmos toolbox (removed dead code)
|
|
645
|
+
|
|
646
|
+
### API Types
|
|
647
|
+
|
|
648
|
+
- Added `QuoteResponseRoute` schema for V3 quote responses
|
|
649
|
+
- Added transaction schemas for EVM, Cosmos, and Tron validation
|
|
650
|
+
|
|
651
|
+
### Patch Changes
|
|
652
|
+
|
|
653
|
+
- Updated dependencies [[`08d41d2`](https://github.com/swapkit/sdk/commit/08d41d2476c56a6f81f5ea83902e6c497278c995)]:
|
|
654
|
+
- @swapkit/helpers@4.9.0
|
|
655
|
+
|
|
656
|
+
## 4.6.7
|
|
657
|
+
|
|
658
|
+
### Patch Changes
|
|
659
|
+
|
|
660
|
+
- [#48](https://github.com/swapkit/sdk/pull/48) [`e8b5bd5`](https://github.com/swapkit/sdk/commit/e8b5bd5e2cb9709265a488b2a0201077342c89b4) Thanks [@towanTG](https://github.com/towanTG)! - Fix UTXO fee calculation bugs that caused ~80% fee overpayment for SegWit transactions:
|
|
661
|
+
|
|
662
|
+
- **Fee rate rounding**: Remove `Math.ceil(feeRate)` which incorrectly rounded rates like 1.1 sat/byte to 2 sat/byte. Now only the final fee amount is ceiled to ensure proper satoshi rounding.
|
|
663
|
+
|
|
664
|
+
- **Output sizing**: Fix output size detection to use each output's address type instead of the input type. Previously, P2PKH outputs (34 bytes) were incorrectly sized as P2WPKH (31 bytes) when inputs were SegWit.
|
|
665
|
+
|
|
666
|
+
These fixes result in accurate fee calculations matching the actual transaction virtual size (vsize).
|
|
667
|
+
|
|
668
|
+
- Updated dependencies []:
|
|
669
|
+
- @swapkit/helpers@4.8.4
|
|
670
|
+
|
|
671
|
+
## 4.6.6
|
|
672
|
+
|
|
673
|
+
### Patch Changes
|
|
674
|
+
|
|
675
|
+
- [#45](https://github.com/swapkit/sdk/pull/45) [`f220ae3`](https://github.com/swapkit/sdk/commit/f220ae38a32408093cebddc10b68a40bd088a64e) Thanks [@towanTG](https://github.com/towanTG)! - Fix UTXO transaction size calculation for SegWit transactions:
|
|
676
|
+
- Add SegWit marker/flag overhead (0.5 vBytes rounded up) to transaction size
|
|
677
|
+
- Detect output script type from address for accurate size calculation
|
|
678
|
+
- Fixes "min relay fee not met" errors for LTC/BTC SegWit transactions with mixed output types
|
|
679
|
+
- Updated dependencies []:
|
|
680
|
+
- @swapkit/helpers@4.8.4
|
|
681
|
+
|
|
682
|
+
## 4.6.5
|
|
683
|
+
|
|
684
|
+
### Patch Changes
|
|
685
|
+
|
|
686
|
+
- [`71d84ca`](https://github.com/swapkit/sdk/commit/71d84ca4c243cbce6617cfdea7ea2f0feb696fd7) Thanks [@towanTG](https://github.com/towanTG)! - Fixes Tron Smart Contract Fee Limit determination
|
|
687
|
+
|
|
688
|
+
- Updated dependencies []:
|
|
689
|
+
- @swapkit/helpers@4.8.4
|
|
690
|
+
|
|
691
|
+
## 4.6.4
|
|
692
|
+
|
|
693
|
+
### Patch Changes
|
|
694
|
+
|
|
695
|
+
- [#40](https://github.com/swapkit/sdk/pull/40) [`fd43ab5`](https://github.com/swapkit/sdk/commit/fd43ab57e16d4ebac6960afc507678d427edf278) Thanks [@towanTG](https://github.com/towanTG)! - Fixes Tron transaction id computation after transaction mutation
|
|
696
|
+
|
|
697
|
+
- Updated dependencies [[`c11cd18`](https://github.com/swapkit/sdk/commit/c11cd18052ca4e2f8c8fe0d678378e8d880073cd), [`5d34cc2`](https://github.com/swapkit/sdk/commit/5d34cc2feb111517058a355d5215c66658469df6)]:
|
|
698
|
+
- @swapkit/helpers@4.8.4
|
|
699
|
+
|
|
700
|
+
## 4.6.3
|
|
701
|
+
|
|
702
|
+
### Patch Changes
|
|
703
|
+
|
|
704
|
+
- [#34](https://github.com/swapkit/sdk/pull/34) [`34c9a02`](https://github.com/swapkit/sdk/commit/34c9a024716424e6b1ad0afe1d13097aca8aaca3) Thanks [@towanTG](https://github.com/towanTG)! - Adds XRP tx extension param to createTransaction. Fixes getMaxSendableAmount for UTXO toolboxes. Cleans up code.
|
|
705
|
+
|
|
706
|
+
- [#36](https://github.com/swapkit/sdk/pull/36) [`c79c65a`](https://github.com/swapkit/sdk/commit/c79c65ab5aabde6219e017501e7b1e3238ea316c) Thanks [@towanTG](https://github.com/towanTG)! - Fixes Tron getBalance call to correctly return TRX + USDT (if in wallet)
|
|
707
|
+
|
|
708
|
+
- [#26](https://github.com/swapkit/sdk/pull/26) [`63c9069`](https://github.com/swapkit/sdk/commit/63c9069c76004e08beb42d289ed6d046c79e4e7f) Thanks [@towanTG](https://github.com/towanTG)! - Adds signer cache to reduce heave calculations of getSigner calls
|
|
709
|
+
|
|
710
|
+
- Updated dependencies [[`34c9a02`](https://github.com/swapkit/sdk/commit/34c9a024716424e6b1ad0afe1d13097aca8aaca3)]:
|
|
711
|
+
- @swapkit/helpers@4.8.3
|
|
712
|
+
|
|
713
|
+
## 4.6.2
|
|
714
|
+
|
|
715
|
+
### Patch Changes
|
|
716
|
+
|
|
717
|
+
- [#32](https://github.com/swapkit/sdk/pull/32) [`38b55e7`](https://github.com/swapkit/sdk/commit/38b55e7e1455149f932a575cac4837d2b0a144db) Thanks [@towanTG](https://github.com/towanTG)! - Improves code quality, removes decprecated providers and tokenlists and uses low lever ethers Provider for EVM toolboxes
|
|
718
|
+
|
|
719
|
+
- Updated dependencies [[`38b55e7`](https://github.com/swapkit/sdk/commit/38b55e7e1455149f932a575cac4837d2b0a144db)]:
|
|
720
|
+
- @swapkit/helpers@4.8.2
|
|
721
|
+
|
|
722
|
+
## 4.6.1
|
|
723
|
+
|
|
724
|
+
### Patch Changes
|
|
725
|
+
|
|
726
|
+
- [#30](https://github.com/swapkit/sdk/pull/30) [`49f58fb`](https://github.com/swapkit/sdk/commit/49f58fb78fd08c82bccae0d49d6f9eb9e9e04b2a) Thanks [@ice-chillios](https://github.com/ice-chillios)! - Fix tron getBalance and client cache
|
|
727
|
+
|
|
728
|
+
- [`50c49f8`](https://github.com/swapkit/sdk/commit/50c49f88c22c149fede95b109bab1b3ea0b300c4) Thanks [@ice-chillios](https://github.com/ice-chillios)! - Bump
|
|
729
|
+
|
|
730
|
+
- Updated dependencies [[`50c49f8`](https://github.com/swapkit/sdk/commit/50c49f88c22c149fede95b109bab1b3ea0b300c4)]:
|
|
731
|
+
- @swapkit/helpers@4.8.1
|
|
732
|
+
|
|
733
|
+
## 4.6.0
|
|
734
|
+
|
|
735
|
+
### Minor Changes
|
|
736
|
+
|
|
737
|
+
- [`a4402e9`](https://github.com/swapkit/sdk/commit/a4402e91de5d634da24aa0c752f5e473132a4c71) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - Removes async toolboxes and adapts code for it
|
|
738
|
+
|
|
739
|
+
- [#19](https://github.com/swapkit/sdk/pull/19) [`941d648`](https://github.com/swapkit/sdk/commit/941d648516ce8aca2c5e21827a27f75b34163cee) Thanks [@ice-chillios](https://github.com/ice-chillios)! - Add sync resolving for toolboxes and server sync methods
|
|
740
|
+
|
|
741
|
+
### Patch Changes
|
|
742
|
+
|
|
743
|
+
- Updated dependencies [[`a4402e9`](https://github.com/swapkit/sdk/commit/a4402e91de5d634da24aa0c752f5e473132a4c71), [`941d648`](https://github.com/swapkit/sdk/commit/941d648516ce8aca2c5e21827a27f75b34163cee)]:
|
|
744
|
+
- @swapkit/helpers@4.8.0
|
|
745
|
+
|
|
746
|
+
## 4.5.3
|
|
747
|
+
|
|
748
|
+
### Patch Changes
|
|
749
|
+
|
|
750
|
+
- [#21](https://github.com/swapkit/sdk/pull/21) [`148cd88`](https://github.com/swapkit/sdk/commit/148cd88c64ad573514454334e392bd7c65bb62e2) Thanks [@0xepicode](https://github.com/0xepicode)! - Fix UTXO max sendable calculation
|
|
751
|
+
|
|
752
|
+
- [#24](https://github.com/swapkit/sdk/pull/24) [`81936df`](https://github.com/swapkit/sdk/commit/81936df75586c2686ffd4b7b228f47b7461fa8d9) Thanks [@towanTG](https://github.com/towanTG)! - Validates Tron address before fetching balance
|
|
753
|
+
|
|
754
|
+
## 4.5.2
|
|
755
|
+
|
|
756
|
+
### Patch Changes
|
|
757
|
+
|
|
758
|
+
- [`799ccc8`](https://github.com/swapkit/sdk/commit/799ccc82896823a3233a48f97745b979622d5076) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - Manual update to fix release
|
|
759
|
+
|
|
760
|
+
- Updated dependencies [[`799ccc8`](https://github.com/swapkit/sdk/commit/799ccc82896823a3233a48f97745b979622d5076)]:
|
|
761
|
+
- @swapkit/helpers@4.7.2
|
|
762
|
+
|
|
763
|
+
## 4.5.1
|
|
764
|
+
|
|
765
|
+
### Patch Changes
|
|
766
|
+
|
|
767
|
+
- [#16](https://github.com/swapkit/sdk/pull/16) [`14d610a`](https://github.com/swapkit/sdk/commit/14d610affddd04b432826d0fe51cf8617d737f70) Thanks [@towanTG](https://github.com/towanTG)! - Fixes transaction creation for TRON and ADA and token balances on SUI
|
|
768
|
+
|
|
769
|
+
- Updated dependencies [[`14d610a`](https://github.com/swapkit/sdk/commit/14d610affddd04b432826d0fe51cf8617d737f70)]:
|
|
770
|
+
- @swapkit/helpers@4.7.1
|
|
771
|
+
|
|
772
|
+
## 4.5.0
|
|
773
|
+
|
|
774
|
+
### Minor Changes
|
|
775
|
+
|
|
776
|
+
- [#8](https://github.com/swapkit/sdk/pull/8) [`f6d9e39`](https://github.com/swapkit/sdk/commit/f6d9e390a3dc47d777c934d891626c2e8e97e45b) Thanks [@towanTG](https://github.com/towanTG)! - Adds SUI token transaction support
|
|
777
|
+
|
|
778
|
+
### Patch Changes
|
|
779
|
+
|
|
780
|
+
- [`4d60682`](https://github.com/swapkit/sdk/commit/4d606827eda5a8e1842cad9bcf1c88ff0d6f5517) Thanks [@towanTG](https://github.com/towanTG)! - Releases latest changes from public repo - enables monad for some wallets, fixes sui tokens tx building and fixes vultisig
|
|
781
|
+
|
|
782
|
+
- Updated dependencies [[`4d60682`](https://github.com/swapkit/sdk/commit/4d606827eda5a8e1842cad9bcf1c88ff0d6f5517), [`f6d9e39`](https://github.com/swapkit/sdk/commit/f6d9e390a3dc47d777c934d891626c2e8e97e45b)]:
|
|
783
|
+
- @swapkit/helpers@4.6.0
|
|
784
|
+
|
|
785
|
+
## 4.4.0
|
|
786
|
+
|
|
787
|
+
### Minor Changes
|
|
788
|
+
|
|
789
|
+
- [#2](https://github.com/swapkit/sdk/pull/2) [`52014f5`](https://github.com/swapkit/sdk/commit/52014f5033b228e07214d0400827a9fd43611e4d) Thanks [@ice-chillios](https://github.com/ice-chillios)! - Add sync validateChainAddress function for server usage
|