Skip to content

Commit 71f5e13

Browse files
committed
TICKET: WP-5417
2 parents 0915878 + d3b9823 commit 71f5e13

File tree

444 files changed

+22596
-3780
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

444 files changed

+22596
-3780
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ jobs:
315315
path: |
316316
node_modules
317317
modules/*/node_modules
318-
key: ${{ runner.os }}-node22-${{ hashFiles('yarn.lock') }}-${{ hashFiles('tsconfig.packages.json') }}-${{ hashFiles('package.json') }}
318+
key: ${{ runner.os }}-node22-${{ hashFiles('yarn.lock') }}-${{ hashFiles('tsconfig.packages.json')}}-${{ hashFiles('**/package.json') }}
319319

320320
- name: Install Packages
321321
if: steps.lerna-cache.outputs.cache-hit != 'true' || contains( github.event.pull_request.labels.*.name, 'SKIP_CACHE')

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
/modules/sdk-coin-baby/ @BitGo/ethalt-team
6161
/modules/sdk-coin-bera/ @BitGo/ethalt-team
6262
/modules/sdk-coin-bsc/ @BitGo/ethalt-team
63+
/module/sdk-coin-canton/ @BitGo/ethalt-team
6364
/modules/sdk-coin-coredao/ @BitGo/ethalt-team
6465
/modules/sdk-coin-cosmos/ @BitGo/ethalt-team
6566
/modules/sdk-coin-cronos/ @BitGo/ethalt-team

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ COPY --from=builder /tmp/bitgo/modules/sdk-coin-baby /var/modules/sdk-coin-baby/
7272
COPY --from=builder /tmp/bitgo/modules/sdk-coin-bera /var/modules/sdk-coin-bera/
7373
COPY --from=builder /tmp/bitgo/modules/sdk-coin-bld /var/modules/sdk-coin-bld/
7474
COPY --from=builder /tmp/bitgo/modules/sdk-coin-bsc /var/modules/sdk-coin-bsc/
75+
COPY --from=builder /tmp/bitgo/modules/sdk-coin-canton /var/modules/sdk-coin-canton/
7576
COPY --from=builder /tmp/bitgo/modules/sdk-coin-celo /var/modules/sdk-coin-celo/
7677
COPY --from=builder /tmp/bitgo/modules/sdk-coin-coredao /var/modules/sdk-coin-coredao/
7778
COPY --from=builder /tmp/bitgo/modules/sdk-coin-coreum /var/modules/sdk-coin-coreum/
@@ -123,7 +124,6 @@ COPY --from=builder /tmp/bitgo/modules/sdk-coin-bsv /var/modules/sdk-coin-bsv/
123124
COPY --from=builder /tmp/bitgo/modules/sdk-coin-btc /var/modules/sdk-coin-btc/
124125
COPY --from=builder /tmp/bitgo/modules/utxo-ord /var/modules/utxo-ord/
125126
COPY --from=builder /tmp/bitgo/modules/sdk-coin-btg /var/modules/sdk-coin-btg/
126-
COPY --from=builder /tmp/bitgo/modules/sdk-coin-canton /var/modules/sdk-coin-canton/
127127
COPY --from=builder /tmp/bitgo/modules/sdk-coin-dash /var/modules/sdk-coin-dash/
128128
COPY --from=builder /tmp/bitgo/modules/sdk-coin-doge /var/modules/sdk-coin-doge/
129129
COPY --from=builder /tmp/bitgo/modules/sdk-coin-eos /var/modules/sdk-coin-eos/
@@ -169,6 +169,7 @@ cd /var/modules/sdk-coin-baby && yarn link && \
169169
cd /var/modules/sdk-coin-bera && yarn link && \
170170
cd /var/modules/sdk-coin-bld && yarn link && \
171171
cd /var/modules/sdk-coin-bsc && yarn link && \
172+
cd /var/modules/sdk-coin-canton && yarn link && \
172173
cd /var/modules/sdk-coin-celo && yarn link && \
173174
cd /var/modules/sdk-coin-coredao && yarn link && \
174175
cd /var/modules/sdk-coin-coreum && yarn link && \
@@ -220,7 +221,6 @@ cd /var/modules/sdk-coin-bsv && yarn link && \
220221
cd /var/modules/sdk-coin-btc && yarn link && \
221222
cd /var/modules/utxo-ord && yarn link && \
222223
cd /var/modules/sdk-coin-btg && yarn link && \
223-
cd /var/modules/sdk-coin-canton && yarn link && \
224224
cd /var/modules/sdk-coin-dash && yarn link && \
225225
cd /var/modules/sdk-coin-doge && yarn link && \
226226
cd /var/modules/sdk-coin-eos && yarn link && \
@@ -269,6 +269,7 @@ RUN cd /var/bitgo-express && \
269269
yarn link @bitgo/sdk-coin-bera && \
270270
yarn link @bitgo/sdk-coin-bld && \
271271
yarn link @bitgo/sdk-coin-bsc && \
272+
yarn link @bitgo/sdk-coin-canton && \
272273
yarn link @bitgo/sdk-coin-celo && \
273274
yarn link @bitgo/sdk-coin-coredao && \
274275
yarn link @bitgo/sdk-coin-coreum && \
@@ -320,7 +321,6 @@ RUN cd /var/bitgo-express && \
320321
yarn link @bitgo/sdk-coin-btc && \
321322
yarn link @bitgo/utxo-ord && \
322323
yarn link @bitgo/sdk-coin-btg && \
323-
yarn link @bitgo/sdk-coin-canton && \
324324
yarn link @bitgo/sdk-coin-dash && \
325325
yarn link @bitgo/sdk-coin-doge && \
326326
yarn link @bitgo/sdk-coin-eos && \

modules/abstract-cosmos/CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,36 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [11.15.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-13)
7+
8+
**Note:** Version bump only for package @bitgo/abstract-cosmos
9+
10+
11+
12+
13+
14+
## [11.15.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-09)
15+
16+
17+
### Bug Fixes
18+
19+
* run check-fmt on code files only ([9745196](https://github.com/BitGo/BitGoJS/commit/9745196b02b9678c740d290a4638ceb153a8fd75))
20+
21+
22+
23+
24+
25+
## [11.15.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-08)
26+
27+
28+
### Bug Fixes
29+
30+
* add explicit 'files' in package json ([3b00373](https://github.com/BitGo/BitGoJS/commit/3b0037396f6ac16bb9380bd85bf37f2b133068f4))
31+
32+
33+
34+
35+
636
## [11.15.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-02)
737

838
**Note:** Version bump only for package @bitgo/abstract-cosmos

modules/abstract-cosmos/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "@bitgo/abstract-cosmos",
3-
"version": "11.15.2",
3+
"version": "11.15.5",
44
"description": "BitGo SDK coin library for COSMOS base implementation",
55
"main": "./dist/src/index.js",
66
"types": "./dist/src/index.d.ts",
77
"scripts": {
88
"build": "npm run prepare",
99
"build-ts": "yarn tsc --build --incremental --verbose .",
1010
"fmt": "prettier --write .",
11-
"check-fmt": "prettier --check .",
11+
"check-fmt": "prettier --check '**/*.{ts,js,json}'",
1212
"clean": "rm -r ./dist",
1313
"lint": "eslint --quiet .",
1414
"prepare": "npm run build-ts && shx cp -r ./resources ./dist"
@@ -38,10 +38,10 @@
3838
]
3939
},
4040
"dependencies": {
41-
"@bitgo/sdk-core": "^36.10.1",
42-
"@bitgo/sdk-lib-mpc": "^10.7.0",
41+
"@bitgo/sdk-core": "^36.13.0",
42+
"@bitgo/sdk-lib-mpc": "^10.8.1",
4343
"@bitgo/secp256k1": "^1.5.0",
44-
"@bitgo/statics": "^58.2.0",
44+
"@bitgo/statics": "^58.5.0",
4545
"@cosmjs/amino": "^0.29.5",
4646
"@cosmjs/crypto": "^0.30.1",
4747
"@cosmjs/encoding": "^0.29.5",

modules/abstract-eth/CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,36 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [24.13.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-13)
7+
8+
**Note:** Version bump only for package @bitgo/abstract-eth
9+
10+
11+
12+
13+
14+
## [24.13.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-09)
15+
16+
17+
### Bug Fixes
18+
19+
* run check-fmt on code files only ([9745196](https://github.com/BitGo/BitGoJS/commit/9745196b02b9678c740d290a4638ceb153a8fd75))
20+
21+
22+
23+
24+
25+
## [24.13.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-08)
26+
27+
28+
### Bug Fixes
29+
30+
* add explicit 'files' in package json ([3b00373](https://github.com/BitGo/BitGoJS/commit/3b0037396f6ac16bb9380bd85bf37f2b133068f4))
31+
32+
33+
34+
35+
636
## [24.13.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-02)
737

838
**Note:** Version bump only for package @bitgo/abstract-eth

modules/abstract-eth/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "@bitgo/abstract-eth",
3-
"version": "24.13.2",
3+
"version": "24.13.5",
44
"description": "BitGo SDK coin library for ETH base implementation",
55
"main": "./dist/src/index.js",
66
"types": "./dist/src/index.d.ts",
77
"scripts": {
88
"build": "yarn tsc --build --incremental --verbose .",
99
"fmt": "prettier --write .",
10-
"check-fmt": "prettier --check .",
10+
"check-fmt": "prettier --check '**/*.{ts,js,json}'",
1111
"clean": "rm -r ./dist",
1212
"lint": "eslint --quiet .",
1313
"prepare": "npm run build",
@@ -40,10 +40,10 @@
4040
]
4141
},
4242
"dependencies": {
43-
"@bitgo/sdk-core": "^36.10.1",
44-
"@bitgo/sdk-lib-mpc": "^10.7.0",
43+
"@bitgo/sdk-core": "^36.13.0",
44+
"@bitgo/sdk-lib-mpc": "^10.8.1",
4545
"@bitgo/secp256k1": "^1.5.0",
46-
"@bitgo/statics": "^58.2.0",
46+
"@bitgo/statics": "^58.5.0",
4747
"@ethereumjs/common": "^2.6.5",
4848
"@ethereumjs/rlp": "^4.0.0",
4949
"@ethereumjs/tx": "^3.3.0",
@@ -60,8 +60,8 @@
6060
"superagent": "^9.0.1"
6161
},
6262
"devDependencies": {
63-
"@bitgo/sdk-api": "^1.69.2",
64-
"@bitgo/sdk-test": "^9.1.2",
63+
"@bitgo/sdk-api": "^1.70.2",
64+
"@bitgo/sdk-test": "^9.1.5",
6565
"@types/keccak": "^3.0.5"
6666
},
6767
"gitHead": "18e460ddf02de2dbf13c2aa243478188fb539f0c",

modules/abstract-lightning/CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,48 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [7.2.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-13)
7+
8+
**Note:** Version bump only for package @bitgo/abstract-lightning
9+
10+
11+
12+
13+
14+
## [7.2.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-10)
15+
16+
17+
### Bug Fixes
18+
19+
* upgrade public types version ([49cb5b1](https://github.com/BitGo/BitGoJS/commit/49cb5b1f07bf63ae0fab7feb5f55457f641ada9f))
20+
21+
22+
23+
24+
25+
## [7.2.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-09)
26+
27+
28+
### Bug Fixes
29+
30+
* run check-fmt on code files only ([9745196](https://github.com/BitGo/BitGoJS/commit/9745196b02b9678c740d290a4638ceb153a8fd75))
31+
32+
33+
34+
35+
36+
## [7.2.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-08)
37+
38+
39+
### Bug Fixes
40+
41+
* add explicit 'files' in package json ([3b00373](https://github.com/BitGo/BitGoJS/commit/3b0037396f6ac16bb9380bd85bf37f2b133068f4))
42+
* convert unsupported utxolib prefixes ([3c5b4ba](https://github.com/BitGo/BitGoJS/commit/3c5b4ba4c11dbadb5dc2d47fa7d8b47d8ada512b))
43+
44+
45+
46+
47+
648
# [7.2.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2025-10-02)
749

850
### Features

modules/abstract-lightning/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bitgo/abstract-lightning",
3-
"version": "7.2.0",
3+
"version": "7.2.4",
44
"description": "BitGo SDK coin library for base Lightning Network coin implementation",
55
"main": "./dist/src/index.js",
66
"types": "./dist/src/index.d.ts",
@@ -9,7 +9,7 @@
99
"test": "yarn unit-test",
1010
"unit-test": "nyc -- mocha --recursive test",
1111
"fmt": "prettier --write .",
12-
"check-fmt": "prettier --check .",
12+
"check-fmt": "prettier --check '**/*.{ts,js,json}'",
1313
"clean": "rm -r ./dist",
1414
"lint": "eslint --quiet .",
1515
"prepare": "npm run build"
@@ -39,10 +39,10 @@
3939
]
4040
},
4141
"dependencies": {
42-
"@bitgo/public-types": "5.22.0",
43-
"@bitgo/sdk-core": "^36.10.1",
44-
"@bitgo/statics": "^58.2.0",
45-
"@bitgo/utxo-lib": "^11.11.0",
42+
"@bitgo/public-types": "5.31.0",
43+
"@bitgo/sdk-core": "^36.13.0",
44+
"@bitgo/statics": "^58.5.0",
45+
"@bitgo/utxo-lib": "^11.11.1",
4646
"bip174": "npm:@bitgo-forks/[email protected]",
4747
"bs58check": "^2.1.2",
4848
"fp-ts": "^2.12.2",

modules/abstract-lightning/src/wallet/lightning.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ export interface ILightningWallet {
165165
* On chain withdrawal
166166
* @param {LightningOnchainWithdrawParams} params - Withdraw parameters
167167
* @param {LightningOnchainRecipient[]} params.recipients - The recipients to pay
168-
* @param {bigint} params.satsPerVbyte - Value for sats per virtual byte
168+
* @param {bigint} [params.satsPerVbyte] - Optional value for sats per virtual byte. If not present, it will be estimated.
169+
* @param {number} [params.numBlocks] - Target blocks for the transaction to be confirmed
169170
* @param {string} params.passphrase - The wallet passphrase
170171
* @param {string} [params.sequenceId] - Optional sequence ID for the respective withdraw transfer
171172
* @param {string} [params.comment] - Optional comment for the respective withdraw transfer
@@ -337,6 +338,7 @@ export class LightningWallet implements ILightningWallet {
337338
onchainRequest: {
338339
recipients: params.recipients,
339340
satsPerVbyte: params.satsPerVbyte,
341+
numBlocks: params.numBlocks,
340342
},
341343
intentType: 'payment',
342344
},

0 commit comments

Comments
 (0)