@bitgo-beta/abstract-utxo 1.1.1-beta.33 → 1.1.1-beta.331
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 +226 -0
- package/dist/src/abstractUtxoCoin.d.ts +107 -27
- package/dist/src/abstractUtxoCoin.d.ts.map +1 -1
- package/dist/src/abstractUtxoCoin.js +225 -196
- package/dist/src/config.d.ts +1 -0
- package/dist/src/config.d.ts.map +1 -1
- package/dist/src/config.js +4 -3
- package/dist/src/parseOutput.d.ts.map +1 -1
- package/dist/src/parseOutput.js +20 -8
- package/dist/src/recovery/RecoveryProvider.d.ts +6 -5
- package/dist/src/recovery/RecoveryProvider.d.ts.map +1 -1
- package/dist/src/recovery/RecoveryProvider.js +1 -2
- package/dist/src/recovery/backupKeyRecovery.d.ts +21 -11
- package/dist/src/recovery/backupKeyRecovery.d.ts.map +1 -1
- package/dist/src/recovery/backupKeyRecovery.js +79 -75
- package/dist/src/recovery/crossChainRecovery.d.ts +11 -23
- package/dist/src/recovery/crossChainRecovery.d.ts.map +1 -1
- package/dist/src/recovery/crossChainRecovery.js +21 -65
- package/dist/src/recovery/index.d.ts +0 -1
- package/dist/src/recovery/index.d.ts.map +1 -1
- package/dist/src/recovery/index.js +1 -2
- package/dist/src/sign.d.ts +26 -3
- package/dist/src/sign.d.ts.map +1 -1
- package/dist/src/sign.js +68 -2
- package/dist/src/transaction.d.ts +36 -0
- package/dist/src/transaction.d.ts.map +1 -0
- package/dist/src/transaction.js +221 -0
- package/dist/tsconfig.tsbuildinfo +1 -7600
- package/package.json +8 -8
- package/dist/src/recovery/smartbitApi.d.ts +0 -11
- package/dist/src/recovery/smartbitApi.d.ts.map +0 -1
- package/dist/src/recovery/smartbitApi.js +0 -36
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,232 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.5.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.3.0...@bitgo/abstract-utxo@3.5.0) (2023-08-04)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **abstract-utxo:** add psbt support backup recovery ([b312a86](https://github.com/BitGo/BitGoJS/commit/b312a86091c1320b4d7a02bd1ca5c3d2056c00c6))
|
|
11
|
+
- **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
|
|
12
|
+
- **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
|
|
13
|
+
- **utxo-lib:** extract half signed tx from psbt ([3145474](https://github.com/BitGo/BitGoJS/commit/31454748fcea6df7fbbf886937abc48b36fb9cbd))
|
|
14
|
+
|
|
15
|
+
# [3.4.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.3.0...@bitgo/abstract-utxo@3.4.0) (2023-07-28)
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
- **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
|
|
20
|
+
- **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
|
|
21
|
+
- **utxo-lib:** extract half signed tx from psbt ([3145474](https://github.com/BitGo/BitGoJS/commit/31454748fcea6df7fbbf886937abc48b36fb9cbd))
|
|
22
|
+
|
|
23
|
+
# [3.3.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.2.0...@bitgo/abstract-utxo@3.3.0) (2023-07-18)
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
- **abstract-utxo:** always use bitcoin network for validating secondary key signatures ([d9b7022](https://github.com/BitGo/BitGoJS/commit/d9b7022832ed38d8661b842add34caa97f340d31))
|
|
28
|
+
- **abstract-utxo:** move keysSignatures test to separate file ([b9fa5c5](https://github.com/BitGo/BitGoJS/commit/b9fa5c57ae6207974612c96c4cf0941665703a4e))
|
|
29
|
+
|
|
30
|
+
# [3.2.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.1.2...@bitgo/abstract-utxo@3.2.0) (2023-06-21)
|
|
31
|
+
|
|
32
|
+
### Features
|
|
33
|
+
|
|
34
|
+
- **abstract-utxo:** support express external signer for musig2 inputs ([4401367](https://github.com/BitGo/BitGoJS/commit/44013673d564c976ae7b55788369dc48acbec64f))
|
|
35
|
+
- **utxo-lib:** add extractTransaction to UtxoPsbt ([0c41982](https://github.com/BitGo/BitGoJS/commit/0c41982de5b9397e69b314272c4e0f38bb6f69c3))
|
|
36
|
+
|
|
37
|
+
## [3.1.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.1.1...@bitgo/abstract-utxo@3.1.2) (2023-06-14)
|
|
38
|
+
|
|
39
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
40
|
+
|
|
41
|
+
## [3.1.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.1.0...@bitgo/abstract-utxo@3.1.1) (2023-06-13)
|
|
42
|
+
|
|
43
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
44
|
+
|
|
45
|
+
# [3.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.0.0...@bitgo/abstract-utxo@3.1.0) (2023-06-07)
|
|
46
|
+
|
|
47
|
+
### Features
|
|
48
|
+
|
|
49
|
+
- **abstract-utxo:** make walletId param optional for signtx ([f5aff50](https://github.com/BitGo/BitGoJS/commit/f5aff5087727fb1842dc7cda64756553ab364c2b))
|
|
50
|
+
|
|
51
|
+
# [3.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@2.3.0...@bitgo/abstract-utxo@3.0.0) (2023-06-05)
|
|
52
|
+
|
|
53
|
+
### Bug Fixes
|
|
54
|
+
|
|
55
|
+
- **utxo-lib:** use PsbtInput instead of UtxoPsbt ([1f73539](https://github.com/BitGo/BitGoJS/commit/1f73539409cf69fc55ab8aedb9d8873bb82bc375))
|
|
56
|
+
|
|
57
|
+
### Features
|
|
58
|
+
|
|
59
|
+
- **abstract-utxo:** add psbt support to explain and verify Tx ([4189659](https://github.com/BitGo/BitGoJS/commit/41896593cdc180cb5a60145a8d31fdf55dba6bb2))
|
|
60
|
+
|
|
61
|
+
### BREAKING CHANGES
|
|
62
|
+
|
|
63
|
+
- **utxo-lib:** functions signature is changed
|
|
64
|
+
|
|
65
|
+
# [2.3.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@2.2.1...@bitgo/abstract-utxo@2.3.0) (2023-05-25)
|
|
66
|
+
|
|
67
|
+
### Features
|
|
68
|
+
|
|
69
|
+
- **abstract-utxo:** add psbt and musig2 support for sdk-api ([7a23991](https://github.com/BitGo/BitGoJS/commit/7a23991079e5609d43d7483f8137189163943dfc))
|
|
70
|
+
|
|
71
|
+
## [2.2.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@2.2.0...@bitgo/abstract-utxo@2.2.1) (2023-05-17)
|
|
72
|
+
|
|
73
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
74
|
+
|
|
75
|
+
# [2.2.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@2.1.3...@bitgo/abstract-utxo@2.2.0) (2023-05-10)
|
|
76
|
+
|
|
77
|
+
### Features
|
|
78
|
+
|
|
79
|
+
- **sdk-coin-btc:** find & use supplementary unspents in case ([fc321ee](https://github.com/BitGo/BitGoJS/commit/fc321ee1fccfae2d6676070fb32d8d4dee531aaf))
|
|
80
|
+
|
|
81
|
+
## [2.1.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@2.1.2...@bitgo/abstract-utxo@2.1.3) (2023-05-03)
|
|
82
|
+
|
|
83
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
84
|
+
|
|
85
|
+
## [2.1.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@2.1.1...@bitgo/abstract-utxo@2.1.2) (2023-04-25)
|
|
86
|
+
|
|
87
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
88
|
+
|
|
89
|
+
## [2.1.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@2.1.0...@bitgo/abstract-utxo@2.1.1) (2023-04-20)
|
|
90
|
+
|
|
91
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
92
|
+
|
|
93
|
+
# [2.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@2.0.1...@bitgo/abstract-utxo@2.1.0) (2023-04-13)
|
|
94
|
+
|
|
95
|
+
### Bug Fixes
|
|
96
|
+
|
|
97
|
+
- **sdk-coin-btc:** get rootwalletkeys for inscription transfer ([b160186](https://github.com/BitGo/BitGoJS/commit/b16018643273e20ea6908f51149139def7209932))
|
|
98
|
+
|
|
99
|
+
### Features
|
|
100
|
+
|
|
101
|
+
- **utxo-lib:** create p2tr address using musig2 ([699e829](https://github.com/BitGo/BitGoJS/commit/699e8291f4a205ba0b2071c6369f2c8843b8a945))
|
|
102
|
+
|
|
103
|
+
## [2.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@2.0.0...@bitgo/abstract-utxo@2.0.1) (2023-02-17)
|
|
104
|
+
|
|
105
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
106
|
+
|
|
107
|
+
# [2.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.10.5...@bitgo/abstract-utxo@2.0.0) (2023-02-16)
|
|
108
|
+
|
|
109
|
+
### Bug Fixes
|
|
110
|
+
|
|
111
|
+
- accept apiKey for recoverFromWrongChain ([3f27775](https://github.com/BitGo/BitGoJS/commit/3f2777506326ae08d0e5d211146522af0d15c3f2))
|
|
112
|
+
- convert addr to canonical addr during wrongChainRecovery ([2089596](https://github.com/BitGo/BitGoJS/commit/20895964eeac1eedc9f859f0ce9b607313cc6568))
|
|
113
|
+
- **sdk-core:** mark pub as optional in Keychain interface ([7d6012c](https://github.com/BitGo/BitGoJS/commit/7d6012cf1058e43d96e129dc2b1607b5316dca1c))
|
|
114
|
+
|
|
115
|
+
### Features
|
|
116
|
+
|
|
117
|
+
- update tests for crossChainRecovery ([6cdd3a9](https://github.com/BitGo/BitGoJS/commit/6cdd3a94baa4427412d06e3e151096feea5e26ff))
|
|
118
|
+
- use UtxoApi to facilitate cross chain recoveries ([61151aa](https://github.com/BitGo/BitGoJS/commit/61151aa2634b7fa89f995a85940fd680f87cf854))
|
|
119
|
+
|
|
120
|
+
### BREAKING CHANGES
|
|
121
|
+
|
|
122
|
+
- **sdk-core:** Keychain.pub is now optional
|
|
123
|
+
|
|
124
|
+
# [1.12.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.10.5...@bitgo/abstract-utxo@1.12.0) (2023-02-08)
|
|
125
|
+
|
|
126
|
+
### Bug Fixes
|
|
127
|
+
|
|
128
|
+
- accept apiKey for recoverFromWrongChain ([3f27775](https://github.com/BitGo/BitGoJS/commit/3f2777506326ae08d0e5d211146522af0d15c3f2))
|
|
129
|
+
- convert addr to canonical addr during wrongChainRecovery ([2089596](https://github.com/BitGo/BitGoJS/commit/20895964eeac1eedc9f859f0ce9b607313cc6568))
|
|
130
|
+
|
|
131
|
+
### Features
|
|
132
|
+
|
|
133
|
+
- update tests for crossChainRecovery ([6cdd3a9](https://github.com/BitGo/BitGoJS/commit/6cdd3a94baa4427412d06e3e151096feea5e26ff))
|
|
134
|
+
- use UtxoApi to facilitate cross chain recoveries ([61151aa](https://github.com/BitGo/BitGoJS/commit/61151aa2634b7fa89f995a85940fd680f87cf854))
|
|
135
|
+
|
|
136
|
+
# [1.11.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.10.5...@bitgo/abstract-utxo@1.11.0) (2023-01-30)
|
|
137
|
+
|
|
138
|
+
### Features
|
|
139
|
+
|
|
140
|
+
- update tests for crossChainRecovery ([6cdd3a9](https://github.com/BitGo/BitGoJS/commit/6cdd3a94baa4427412d06e3e151096feea5e26ff))
|
|
141
|
+
- use UtxoApi to facilitate cross chain recoveries ([61151aa](https://github.com/BitGo/BitGoJS/commit/61151aa2634b7fa89f995a85940fd680f87cf854))
|
|
142
|
+
|
|
143
|
+
## [1.10.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.10.4...@bitgo/abstract-utxo@1.10.5) (2023-01-25)
|
|
144
|
+
|
|
145
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
146
|
+
|
|
147
|
+
## [1.10.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.10.3...@bitgo/abstract-utxo@1.10.4) (2022-12-23)
|
|
148
|
+
|
|
149
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
150
|
+
|
|
151
|
+
## [1.10.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.10.2...@bitgo/abstract-utxo@1.10.3) (2022-12-20)
|
|
152
|
+
|
|
153
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
154
|
+
|
|
155
|
+
## [1.10.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.10.1...@bitgo/abstract-utxo@1.10.2) (2022-12-09)
|
|
156
|
+
|
|
157
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
158
|
+
|
|
159
|
+
## [1.10.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.10.0...@bitgo/abstract-utxo@1.10.1) (2022-12-06)
|
|
160
|
+
|
|
161
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
162
|
+
|
|
163
|
+
# [1.10.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.9.0...@bitgo/abstract-utxo@1.10.0) (2022-12-01)
|
|
164
|
+
|
|
165
|
+
### Features
|
|
166
|
+
|
|
167
|
+
- **abstract-utxo:** add valueString to unspents for doge recovery flow ([439f95c](https://github.com/BitGo/BitGoJS/commit/439f95c4e337e33a0812ac28b03e46b52e4a9fde))
|
|
168
|
+
|
|
169
|
+
# [1.9.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.4.0...@bitgo/abstract-utxo@1.9.0) (2022-11-29)
|
|
170
|
+
|
|
171
|
+
### Bug Fixes
|
|
172
|
+
|
|
173
|
+
- fix unit-test-all errors ([4adab4d](https://github.com/BitGo/BitGoJS/commit/4adab4dd363cdd4c21bd964fd3b6d5581bd63e46))
|
|
174
|
+
- **sdk-coin-doge:** minor change in types ([db18dd9](https://github.com/BitGo/BitGoJS/commit/db18dd9f8a62432c89db76a9dbd81c7b3c586fc2))
|
|
175
|
+
- **utxo-lib:** fixed unchecked cast to Number ([2f1d962](https://github.com/BitGo/BitGoJS/commit/2f1d9628bd9ec51a12d0c8dc0adeb60e94f32b1d))
|
|
176
|
+
|
|
177
|
+
### Features
|
|
178
|
+
|
|
179
|
+
- **abstract-utxo:** allow for override in isValidAddress ([1d02d98](https://github.com/BitGo/BitGoJS/commit/1d02d988401b6abc00336f67687a7b01d682989e))
|
|
180
|
+
- **root:** add support for cross chain recovery for bcha ([f9ab941](https://github.com/BitGo/BitGoJS/commit/f9ab941055eaf79f6623b40e9aac982124f78843))
|
|
181
|
+
- **utxo-lib:** bigintify dogecoin specific functions ([d5830a6](https://github.com/BitGo/BitGoJS/commit/d5830a6d6c17de5cefb138a639b94c0cbb37f5f0))
|
|
182
|
+
- **utxo-lib:** simplify isValidAddress ([cf826fe](https://github.com/BitGo/BitGoJS/commit/cf826fe4d0a32f09888d2218028b24ce33a6aa92))
|
|
183
|
+
|
|
184
|
+
# [1.8.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.4.0...@bitgo/abstract-utxo@1.8.0) (2022-11-04)
|
|
185
|
+
|
|
186
|
+
### Bug Fixes
|
|
187
|
+
|
|
188
|
+
- fix unit-test-all errors ([4adab4d](https://github.com/BitGo/BitGoJS/commit/4adab4dd363cdd4c21bd964fd3b6d5581bd63e46))
|
|
189
|
+
- **sdk-coin-doge:** minor change in types ([db18dd9](https://github.com/BitGo/BitGoJS/commit/db18dd9f8a62432c89db76a9dbd81c7b3c586fc2))
|
|
190
|
+
- **utxo-lib:** fixed unchecked cast to Number ([2f1d962](https://github.com/BitGo/BitGoJS/commit/2f1d9628bd9ec51a12d0c8dc0adeb60e94f32b1d))
|
|
191
|
+
|
|
192
|
+
### Features
|
|
193
|
+
|
|
194
|
+
- **utxo-lib:** bigintify dogecoin specific functions ([d5830a6](https://github.com/BitGo/BitGoJS/commit/d5830a6d6c17de5cefb138a639b94c0cbb37f5f0))
|
|
195
|
+
|
|
196
|
+
# [1.6.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.4.0...@bitgo/abstract-utxo@1.6.0) (2022-10-27)
|
|
197
|
+
|
|
198
|
+
### Bug Fixes
|
|
199
|
+
|
|
200
|
+
- **sdk-coin-doge:** minor change in types ([db18dd9](https://github.com/BitGo/BitGoJS/commit/db18dd9f8a62432c89db76a9dbd81c7b3c586fc2))
|
|
201
|
+
- **utxo-lib:** fixed unchecked cast to Number ([2f1d962](https://github.com/BitGo/BitGoJS/commit/2f1d9628bd9ec51a12d0c8dc0adeb60e94f32b1d))
|
|
202
|
+
|
|
203
|
+
### Features
|
|
204
|
+
|
|
205
|
+
- **utxo-lib:** bigintify dogecoin specific functions ([d5830a6](https://github.com/BitGo/BitGoJS/commit/d5830a6d6c17de5cefb138a639b94c0cbb37f5f0))
|
|
206
|
+
|
|
207
|
+
# [1.5.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.4.0...@bitgo/abstract-utxo@1.5.0) (2022-10-25)
|
|
208
|
+
|
|
209
|
+
### Bug Fixes
|
|
210
|
+
|
|
211
|
+
- **sdk-coin-doge:** minor change in types ([db18dd9](https://github.com/BitGo/BitGoJS/commit/db18dd9f8a62432c89db76a9dbd81c7b3c586fc2))
|
|
212
|
+
- **utxo-lib:** fixed unchecked cast to Number ([2f1d962](https://github.com/BitGo/BitGoJS/commit/2f1d9628bd9ec51a12d0c8dc0adeb60e94f32b1d))
|
|
213
|
+
|
|
214
|
+
### Features
|
|
215
|
+
|
|
216
|
+
- **utxo-lib:** bigintify dogecoin specific functions ([d5830a6](https://github.com/BitGo/BitGoJS/commit/d5830a6d6c17de5cefb138a639b94c0cbb37f5f0))
|
|
217
|
+
|
|
218
|
+
# [1.4.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.1.0-rc.6...@bitgo/abstract-utxo@1.4.0) (2022-10-18)
|
|
219
|
+
|
|
220
|
+
### Bug Fixes
|
|
221
|
+
|
|
222
|
+
- **core:** fix bip32/ecpair, API vs Interface ([bec9c1e](https://github.com/BitGo/BitGoJS/commit/bec9c1e6ff0c23108dc27e171abdd3e4d2cfdfb1))
|
|
223
|
+
|
|
224
|
+
### Features
|
|
225
|
+
|
|
226
|
+
- **abstract-utxo:** add support for bigints from new utxo-lib ([77c60dd](https://github.com/BitGo/BitGoJS/commit/77c60ddd4d0ddd1e82a8b1bb041686a9c7f39fae))
|
|
227
|
+
- **abstract-utxo:** backup key recovery service for doge ([612be53](https://github.com/BitGo/BitGoJS/commit/612be533836f33fdecb9584ddc0f5674df31dcb0))
|
|
228
|
+
- **abstract-utxo:** cross chain recovery support for bigint coins (doge) ([ad6bf71](https://github.com/BitGo/BitGoJS/commit/ad6bf71f58a4bae79f3bb014ee947a878f4b89d2))
|
|
229
|
+
- **sdk-core:** added large value support while calling WP ([870621e](https://github.com/BitGo/BitGoJS/commit/870621e2bc93d15ed6f040379353d039eb17e609))
|
|
230
|
+
- **utxo-lib:** export BIP32/ECPair interfaces ([8628507](https://github.com/BitGo/BitGoJS/commit/862850781b2e8b36c71608c5ae71424b9ebe9dee))
|
|
231
|
+
|
|
6
232
|
# [1.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.1.0-rc.6...@bitgo/abstract-utxo@1.1.0) (2022-07-19)
|
|
7
233
|
|
|
8
234
|
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
@@ -5,10 +5,34 @@
|
|
|
5
5
|
import * as utxolib from '@bitgo-beta/utxo-lib';
|
|
6
6
|
import { bitgo } from '@bitgo-beta/utxo-lib';
|
|
7
7
|
import { backupKeyRecovery, RecoverParams } from './recovery/backupKeyRecovery';
|
|
8
|
-
import { CrossChainRecoverySigned, CrossChainRecoveryUnsigned } from './recovery';
|
|
9
|
-
import { AddressCoinSpecific, BaseCoin, BitGoBase, ExtraPrebuildParamsOptions, HalfSignedUtxoTransaction, IRequestTracer, ITransactionExplanation as BaseTransactionExplanation,
|
|
8
|
+
import { CrossChainRecoverySigned, CrossChainRecoveryUnsigned, RecoveryProvider } from './recovery';
|
|
9
|
+
import { AddressCoinSpecific, BaseCoin, BitGoBase, ExtraPrebuildParamsOptions, HalfSignedUtxoTransaction, IBaseCoin, IRequestTracer, ITransactionExplanation as BaseTransactionExplanation, Keychain, KeychainsTriplet, ParsedTransaction as BaseParsedTransaction, ParseTransactionOptions as BaseParseTransactionOptions, PrecreateBitGoOptions, PresignTransactionOptions, RequestTracer, SignedTransaction, SignTransactionOptions as BaseSignTransactionOptions, SupplementGenerateWalletOptions, TransactionParams as BaseTransactionParams, TransactionPrebuild as BaseTransactionPrebuild, Triple, VerificationOptions, VerifyAddressOptions as BaseVerifyAddressOptions, VerifyTransactionOptions as BaseVerifyTransactionOptions, Wallet, WalletData } from '@bitgo-beta/sdk-core';
|
|
10
10
|
import { CustomChangeOptions } from './parseOutput';
|
|
11
11
|
import ScriptType2Of3 = utxolib.bitgo.outputScripts.ScriptType2Of3;
|
|
12
|
+
declare type UtxoCustomSigningFunction<TNumber extends number | bigint> = {
|
|
13
|
+
(params: {
|
|
14
|
+
coin: IBaseCoin;
|
|
15
|
+
txPrebuild: TransactionPrebuild<TNumber>;
|
|
16
|
+
pubs?: string[];
|
|
17
|
+
/**
|
|
18
|
+
* signingStep flag becomes applicable when both of the following conditions are met:
|
|
19
|
+
* 1) When the external express signer is activated
|
|
20
|
+
* 2) When the PSBT includes at least one taprootKeyPathSpend input.
|
|
21
|
+
*
|
|
22
|
+
* The signing process of a taprootKeyPathSpend input is a 4-step sequence:
|
|
23
|
+
* i) user nonce generation - signerNonce - this is the first call to external express signer signTransaction
|
|
24
|
+
* ii) bitgo nonce generation - cosignerNonce - this is the first and only call to local signTransaction
|
|
25
|
+
* iii) user signature - signerSignature - this is the second call to external express signer signTransaction
|
|
26
|
+
* iv) bitgo signature - not in signTransaction method’s scope
|
|
27
|
+
*
|
|
28
|
+
* In the absence of this flag, the aforementioned first three sequence is executed in a single signTransaction call.
|
|
29
|
+
*
|
|
30
|
+
* NOTE: We make a strong assumption that the external express signer and its caller uses sticky sessions,
|
|
31
|
+
* since PSBTs are cached in step 1 to be used in step 3 for MuSig2 user secure nonce access.
|
|
32
|
+
*/
|
|
33
|
+
signingStep?: 'signerNonce' | 'signerSignature' | 'cosignerNonce';
|
|
34
|
+
}): Promise<SignedTransaction>;
|
|
35
|
+
};
|
|
12
36
|
declare type Unspent<TNumber extends number | bigint = number> = bitgo.Unspent<TNumber>;
|
|
13
37
|
export interface VerifyAddressOptions extends BaseVerifyAddressOptions {
|
|
14
38
|
chain: number;
|
|
@@ -37,7 +61,8 @@ export interface TransactionInfo<TNumber extends number | bigint = number> {
|
|
|
37
61
|
/** Maps txid to txhex. Required for offline signing. */
|
|
38
62
|
txHexes?: Record<string, string>;
|
|
39
63
|
changeAddresses?: string[];
|
|
40
|
-
unspents
|
|
64
|
+
/** psbt does not require unspents. */
|
|
65
|
+
unspents?: Unspent<TNumber>[];
|
|
41
66
|
}
|
|
42
67
|
export interface ExplainTransactionOptions<TNumber extends number | bigint = number> {
|
|
43
68
|
txHex: string;
|
|
@@ -54,10 +79,21 @@ export interface TransactionParams extends BaseTransactionParams {
|
|
|
54
79
|
walletPassphrase?: string;
|
|
55
80
|
changeAddress?: string;
|
|
56
81
|
}
|
|
82
|
+
export interface AbstractUtxoCoinWalletData extends WalletData {
|
|
83
|
+
customChangeKeySignatures: {
|
|
84
|
+
user: string;
|
|
85
|
+
backup: string;
|
|
86
|
+
bitgo: string;
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
export declare class AbstractUtxoCoinWallet extends Wallet {
|
|
90
|
+
_wallet: AbstractUtxoCoinWalletData;
|
|
91
|
+
constructor(bitgo: BitGoBase, baseCoin: IBaseCoin, walletData: any);
|
|
92
|
+
}
|
|
57
93
|
export interface ParseTransactionOptions<TNumber extends number | bigint = number> extends BaseParseTransactionOptions {
|
|
58
94
|
txParams: TransactionParams;
|
|
59
95
|
txPrebuild: TransactionPrebuild<TNumber>;
|
|
60
|
-
wallet:
|
|
96
|
+
wallet: AbstractUtxoCoinWallet;
|
|
61
97
|
verification?: VerificationOptions;
|
|
62
98
|
reqId?: IRequestTracer;
|
|
63
99
|
}
|
|
@@ -101,16 +137,20 @@ export interface AddressDetails {
|
|
|
101
137
|
coinSpecific: AddressCoinSpecific;
|
|
102
138
|
addressType?: string;
|
|
103
139
|
}
|
|
104
|
-
|
|
140
|
+
declare type UtxoBaseSignTransactionOptions<TNumber extends number | bigint = number> = BaseSignTransactionOptions & {
|
|
105
141
|
/** Transaction prebuild from bitgo server */
|
|
106
142
|
txPrebuild: {
|
|
143
|
+
/**
|
|
144
|
+
* walletId is required in following 2 scenarios.
|
|
145
|
+
* 1. External signer express mode is used.
|
|
146
|
+
* 2. bitgo MuSig2 nonce is requested
|
|
147
|
+
*/
|
|
148
|
+
walletId?: string;
|
|
107
149
|
txHex: string;
|
|
108
|
-
txInfo
|
|
150
|
+
txInfo?: TransactionInfo<TNumber>;
|
|
109
151
|
};
|
|
110
|
-
/**
|
|
111
|
-
|
|
112
|
-
/** xpubs triple for wallet (user, backup, bitgo) */
|
|
113
|
-
pubs: Triple<string>;
|
|
152
|
+
/** xpubs triple for wallet (user, backup, bitgo). Required only when txPrebuild.txHex is not a PSBT */
|
|
153
|
+
pubs?: Triple<string>;
|
|
114
154
|
/** xpub for cosigner (defaults to bitgo) */
|
|
115
155
|
cosignerPub?: string;
|
|
116
156
|
/**
|
|
@@ -118,7 +158,13 @@ export interface SignTransactionOptions<TNumber extends number | bigint = number
|
|
|
118
158
|
* When false, creates half-signed transaction with placeholder signatures.
|
|
119
159
|
*/
|
|
120
160
|
isLastSignature?: boolean;
|
|
121
|
-
}
|
|
161
|
+
};
|
|
162
|
+
export declare type SignTransactionOptions<TNumber extends number | bigint = number> = UtxoBaseSignTransactionOptions<TNumber> & ({
|
|
163
|
+
prv: string;
|
|
164
|
+
signingStep?: 'signerNonce' | 'signerSignature';
|
|
165
|
+
} | {
|
|
166
|
+
signingStep: 'cosignerNonce';
|
|
167
|
+
});
|
|
122
168
|
export interface MultiSigAddress {
|
|
123
169
|
outputScript: Buffer;
|
|
124
170
|
redeemScript?: Buffer;
|
|
@@ -131,15 +177,20 @@ export interface RecoverFromWrongChainOptions {
|
|
|
131
177
|
wallet: string;
|
|
132
178
|
walletPassphrase?: string;
|
|
133
179
|
xprv?: string;
|
|
180
|
+
apiKey?: string;
|
|
134
181
|
/** @deprecated */
|
|
135
182
|
coin?: AbstractUtxoCoin;
|
|
136
183
|
recoveryCoin?: AbstractUtxoCoin;
|
|
137
184
|
signed?: boolean;
|
|
138
185
|
}
|
|
139
186
|
export interface VerifyKeySignaturesOptions {
|
|
140
|
-
userKeychain
|
|
141
|
-
|
|
142
|
-
|
|
187
|
+
userKeychain: {
|
|
188
|
+
pub?: string;
|
|
189
|
+
};
|
|
190
|
+
keychainToVerify: {
|
|
191
|
+
pub?: string;
|
|
192
|
+
};
|
|
193
|
+
keySignature: string;
|
|
143
194
|
}
|
|
144
195
|
export interface VerifyUserPublicKeyOptions {
|
|
145
196
|
userKeychain?: Keychain;
|
|
@@ -148,6 +199,13 @@ export interface VerifyUserPublicKeyOptions {
|
|
|
148
199
|
}
|
|
149
200
|
export interface VerifyTransactionOptions<TNumber extends number | bigint = number> extends BaseVerifyTransactionOptions {
|
|
150
201
|
txPrebuild: TransactionPrebuild<TNumber>;
|
|
202
|
+
wallet: AbstractUtxoCoinWallet;
|
|
203
|
+
}
|
|
204
|
+
export interface SignPsbtRequest {
|
|
205
|
+
psbt: string;
|
|
206
|
+
}
|
|
207
|
+
export interface SignPsbtResponse {
|
|
208
|
+
psbt: string;
|
|
151
209
|
}
|
|
152
210
|
export declare abstract class AbstractUtxoCoin extends BaseCoin {
|
|
153
211
|
altScriptHash?: number;
|
|
@@ -155,6 +213,15 @@ export declare abstract class AbstractUtxoCoin extends BaseCoin {
|
|
|
155
213
|
readonly amountType: 'number' | 'bigint';
|
|
156
214
|
private readonly _network;
|
|
157
215
|
protected constructor(bitgo: BitGoBase, network: utxolib.Network, amountType?: 'number' | 'bigint');
|
|
216
|
+
/**
|
|
217
|
+
* Key Value: Unsigned tx id => PSBT
|
|
218
|
+
* It is used to cache PSBTs with taproot key path (MuSig2) inputs during external express signer is activated.
|
|
219
|
+
* Reason: MuSig2 signer secure nonce is cached in the UtxoPsbt object. It will be required during the signing step.
|
|
220
|
+
* For more info, check SignTransactionOptions.signingStep
|
|
221
|
+
*
|
|
222
|
+
* TODO BTC-276: This cache may need to be done with LRU like memory safe caching if memory issues comes up.
|
|
223
|
+
*/
|
|
224
|
+
private static readonly PSBT_CACHE;
|
|
158
225
|
get network(): utxolib.Network;
|
|
159
226
|
sweepWithSendMany(): boolean;
|
|
160
227
|
/** @deprecated */
|
|
@@ -168,20 +235,14 @@ export declare abstract class AbstractUtxoCoin extends BaseCoin {
|
|
|
168
235
|
* @deprecated
|
|
169
236
|
*/
|
|
170
237
|
getCoinLibrary(): typeof utxolib;
|
|
171
|
-
/**
|
|
172
|
-
* Helper to get the version number for an address
|
|
173
|
-
*/
|
|
174
|
-
protected getAddressVersion(address: string): number | undefined;
|
|
175
|
-
/**
|
|
176
|
-
* Helper to get the bech32 prefix for an address
|
|
177
|
-
*/
|
|
178
|
-
protected getAddressPrefix(address: string): string | undefined;
|
|
179
238
|
/**
|
|
180
239
|
* Check if an address is valid
|
|
181
240
|
* @param address
|
|
182
|
-
* @param
|
|
241
|
+
* @param param
|
|
183
242
|
*/
|
|
184
|
-
isValidAddress(address: string,
|
|
243
|
+
isValidAddress(address: string, param?: {
|
|
244
|
+
anyFormat: boolean;
|
|
245
|
+
} | /* legacy parameter */ boolean): boolean;
|
|
185
246
|
/**
|
|
186
247
|
* Return boolean indicating whether input is valid public key for the coin.
|
|
187
248
|
*
|
|
@@ -234,7 +295,7 @@ export declare abstract class AbstractUtxoCoin extends BaseCoin {
|
|
|
234
295
|
* @param {VerifyKeySignaturesOptions} params
|
|
235
296
|
* @return {{backup: boolean, bitgo: boolean}}
|
|
236
297
|
*/
|
|
237
|
-
|
|
298
|
+
verifyKeySignature(params: VerifyKeySignaturesOptions): boolean;
|
|
238
299
|
/**
|
|
239
300
|
* Verify signatures against the user private key over the change wallet extended keys
|
|
240
301
|
* @param {ParsedTransaction} tx
|
|
@@ -276,7 +337,7 @@ export declare abstract class AbstractUtxoCoin extends BaseCoin {
|
|
|
276
337
|
* @throws {InvalidAddressDerivationPropertyError}
|
|
277
338
|
* @throws {UnexpectedAddressError}
|
|
278
339
|
*/
|
|
279
|
-
isWalletAddress(params: VerifyAddressOptions): boolean
|
|
340
|
+
isWalletAddress(params: VerifyAddressOptions): Promise<boolean>;
|
|
280
341
|
/**
|
|
281
342
|
* Indicates whether coin supports a block target
|
|
282
343
|
* @returns {boolean}
|
|
@@ -307,12 +368,29 @@ export declare abstract class AbstractUtxoCoin extends BaseCoin {
|
|
|
307
368
|
* @returns {{chain: number, index: number, coin: number, coinSpecific: {outputScript, redeemScript}}}
|
|
308
369
|
*/
|
|
309
370
|
generateAddress(params: GenerateAddressOptions): AddressDetails;
|
|
371
|
+
/**
|
|
372
|
+
* @returns input psbt added with deterministic MuSig2 nonce for bitgo key for each MuSig2 inputs.
|
|
373
|
+
* @param psbtHex all MuSig2 inputs should contain user MuSig2 nonce
|
|
374
|
+
* @param walletId
|
|
375
|
+
*/
|
|
376
|
+
signPsbt(psbtHex: string, walletId: string): Promise<SignPsbtResponse>;
|
|
310
377
|
/**
|
|
311
378
|
* Assemble keychain and half-sign prebuilt transaction
|
|
312
379
|
* @param params - {@see SignTransactionOptions}
|
|
313
380
|
* @returns {Promise<SignedTransaction | HalfSignedUtxoTransaction>}
|
|
314
381
|
*/
|
|
315
382
|
signTransaction<TNumber extends number | bigint = number>(params: SignTransactionOptions<TNumber>): Promise<SignedTransaction | HalfSignedUtxoTransaction>;
|
|
383
|
+
/**
|
|
384
|
+
* Sign a transaction with a custom signing function. Example use case is express external signer
|
|
385
|
+
* @param customSigningFunction custom signing function that returns a single signed transaction
|
|
386
|
+
* @param signTransactionParams parameters for custom signing function. Includes txPrebuild and pubs (for legacy tx only).
|
|
387
|
+
*
|
|
388
|
+
* @returns signed transaction as hex string
|
|
389
|
+
*/
|
|
390
|
+
signWithCustomSigningFunction<TNumber extends number | bigint>(customSigningFunction: UtxoCustomSigningFunction<TNumber>, signTransactionParams: {
|
|
391
|
+
txPrebuild: TransactionPrebuild<TNumber>;
|
|
392
|
+
pubs?: string[];
|
|
393
|
+
}): Promise<SignedTransaction>;
|
|
316
394
|
/**
|
|
317
395
|
* @param unspent
|
|
318
396
|
* @returns {boolean}
|
|
@@ -331,7 +409,7 @@ export declare abstract class AbstractUtxoCoin extends BaseCoin {
|
|
|
331
409
|
publicKey?: string;
|
|
332
410
|
}): boolean;
|
|
333
411
|
/**
|
|
334
|
-
* Decompose a raw transaction into useful information, such as the total amounts,
|
|
412
|
+
* Decompose a raw psbt/transaction into useful information, such as the total amounts,
|
|
335
413
|
* change amounts, and transaction outputs.
|
|
336
414
|
* @param params
|
|
337
415
|
*/
|
|
@@ -359,6 +437,7 @@ export declare abstract class AbstractUtxoCoin extends BaseCoin {
|
|
|
359
437
|
* @param params.signed return a half-signed transaction (default=true)
|
|
360
438
|
* @param params.walletPassphrase the wallet passphrase
|
|
361
439
|
* @param params.xprv the unencrypted xprv (used instead of wallet passphrase)
|
|
440
|
+
* @param params.apiKey for utxo coins other than [BTC,TBTC] this is a Block Chair api key
|
|
362
441
|
* @returns {*}
|
|
363
442
|
*/
|
|
364
443
|
recoverFromWrongChain<TNumber extends number | bigint = number>(params: RecoverFromWrongChainOptions): Promise<CrossChainRecoverySigned<TNumber> | CrossChainRecoveryUnsigned<TNumber>>;
|
|
@@ -378,6 +457,7 @@ export declare abstract class AbstractUtxoCoin extends BaseCoin {
|
|
|
378
457
|
supplementGenerateWallet(walletParams: SupplementGenerateWalletOptions, keychains: KeychainsTriplet): Promise<any>;
|
|
379
458
|
transactionDataAllowed(): boolean;
|
|
380
459
|
valuelessTransferAllowed(): boolean;
|
|
460
|
+
getRecoveryProvider(apiToken?: string): RecoveryProvider;
|
|
381
461
|
}
|
|
382
462
|
export {};
|
|
383
463
|
//# sourceMappingURL=abstractUtxoCoin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abstractUtxoCoin.d.ts","sourceRoot":"","sources":["../../src/abstractUtxoCoin.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAyB,KAAK,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"abstractUtxoCoin.d.ts","sourceRoot":"","sources":["../../src/abstractUtxoCoin.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAyB,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAQpE,OAAO,EAAE,iBA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