Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
2136fff
feat(sdk-coin-hbar): token enablement transaction verification
SimonVutovB Sep 16, 2025
4930f7a
feat(secp256k1): export factory functions
OttoAllmendinger Oct 13, 2025
b1ae0fc
feat(abstract-utxo): use secp256k1 for bip32 operations
OttoAllmendinger Oct 10, 2025
ceed183
feat(utxo-lib): use @bitgo/secp256k1 instead of internal noble_ecc
OttoAllmendinger Oct 10, 2025
8cbdf3e
feat(sdk-coin-canton): added pre-approval builder
ravibitgo Oct 7, 2025
d1dac44
fix(sdk-coin-avaxp): update utxo selection to also check STAKEABLE_LO…
noel-bitgo Sep 25, 2025
34dacbc
feat(sdk-coin-ada): fix ada build signature handling
Ranjna-G Oct 13, 2025
f098b39
fix(utxo-lib): add tests for both PSBT and PSBT-lite formats
davidkaplanbitgo Oct 13, 2025
2199a00
Merge pull request #7221 from BitGo/BTC-000.fix-logic
davidkaplanbitgo Oct 13, 2025
ecdd44a
chore: wrw support for megaeth
rohitsaw115 Oct 14, 2025
f702bcc
Merge pull request #7220 from BitGo/WIN-7548-fix-ada-build-witnesses
Ranjna-G Oct 14, 2025
49df87a
Merge pull request #7207 from BitGo/COIN-5918
ravibitgo Oct 14, 2025
72b9df7
Merge pull request #7224 from BitGo/win-7516
rohitsaw115 Oct 14, 2025
896a36d
chore: add tpolyx token without token name
nvrakesh06 Oct 14, 2025
cae56ab
feat(express): setup integration test
kaustubhbitgo Oct 14, 2025
5693e9d
Merge pull request #7226 from BitGo/WIN-7452-1
nvrakesh06 Oct 14, 2025
b72194f
feat: added canton to account-lib
ravibitgo Oct 14, 2025
3bff6cc
Merge pull request #7225 from BitGo/WP-6312-express-add-supertest-ci-…
kaustubhbitgo Oct 14, 2025
135f030
Merge pull request #7227 from BitGo/COIN-5908
ravibitgo Oct 14, 2025
e736792
feat: ofc tokens for ton
0xPrabh Oct 14, 2025
510784b
Merge pull request #7228 from BitGo/COIN-6043
prithvishet2503 Oct 14, 2025
a4d7bc7
feat: ofc tokens for ton
0xPrabh Oct 14, 2025
73ed13d
fix(sdk-coin-canton): removed the non-required export
ravibitgo Oct 14, 2025
138d63f
chore: change the 0G network ID
prithvishet2503 Oct 14, 2025
909d39d
Merge pull request #7230 from BitGo/COIN-5918-fix
ravibitgo Oct 14, 2025
b896d54
Merge pull request #7231 from BitGo/WIN-OG-NETWORK-CHANGE
prithvishet2503 Oct 14, 2025
b4f19cc
feat(sdk-coin-canton): removed non-required fields from builders
ravibitgo Oct 14, 2025
12f1fef
Merge pull request #7229 from BitGo/COIN-6043
0xPrabh Oct 14, 2025
04a19ec
Merge pull request #7232 from BitGo/COIN-6047
ravibitgo Oct 14, 2025
91c5d0b
test(express): added supertest for coin signtx
lokesh-bitgo Oct 14, 2025
431b86a
chore(statics): remove rebase feature from vtho token
at31416 Oct 14, 2025
08b17d6
Merge pull request #7096 from BitGo/SC-3257
noel-bitgo Oct 14, 2025
e4078d4
Merge pull request #7003 from BitGo/WP-5746/hbar-verify-token-enablem…
SimonVutovB Oct 14, 2025
68c0250
Merge pull request #7234 from BitGo/coin-6055
at31416 Oct 14, 2025
f00ce46
Merge pull request #7233 from BitGo/WP-6328-express-add-supertest-for…
lokesh-bitgo Oct 14, 2025
a43c22a
test(express): added supertest for wallet signtsstx
lokesh-bitgo Oct 14, 2025
ecc0db9
feat: lightning on chain intent change
parvbitgo067 Oct 13, 2025
ca817a6
feat: bump public types
parvbitgo067 Oct 14, 2025
df6850b
feat: disallow EVM_COMPATIBLE_WP feature for OFC coin
lcovar Oct 10, 2025
edeae0d
Merge pull request #7235 from BitGo/WP-6334-express-add-supertest-for…
lokesh-bitgo Oct 15, 2025
d99f3bf
docs(express): added js doc
lokesh-bitgo Oct 15, 2025
9672c67
fix(sdk-coin-canton): fix issue with beta dependency bumps
ravibitgo Oct 15, 2025
c079bae
test(express): added error and edge case tests
lokesh-bitgo Oct 15, 2025
5016e6a
Merge pull request #7241 from BitGo/WP-6367-express-fix-js-doc-to-cor…
lokesh-bitgo Oct 15, 2025
642e500
Merge pull request #7240 from BitGo/COIN-6061
ravibitgo Oct 15, 2025
64d7265
feat: add WRW support for multiple EVM coins
nayandas190 Oct 15, 2025
0a2ef3c
Merge pull request #7242 from BitGo/WP-6328-express-add-supertest-for…
lokesh-bitgo Oct 15, 2025
604af69
Merge pull request #7243 from BitGo/win-7490
nayandas190 Oct 15, 2025
09a7ce9
Merge pull request #7209 from BitGo/BTC-2668.use-secp256k1-instead-of…
OttoAllmendinger Oct 15, 2025
fcdebce
feat(sdk-coin-canton): export the wallet init transaction
ravibitgo Oct 15, 2025
5821b1e
Merge pull request #7246 from BitGo/COIN-6079
ravibitgo Oct 15, 2025
23d04cf
feat(sdk-coin-arbeth): support message signing for walletconnect
derekchen745 Oct 15, 2025
89978ff
Merge pull request #7249 from BitGo/derek/SC-3506-support-message-sig…
derekchen745 Oct 15, 2025
e8700b2
refactor(express): changed route path as per openapi
lokesh-bitgo Oct 15, 2025
b6d7524
feat(sdk-coin-sol): inject durable nonce for versioned transactions
derekchen745 Oct 14, 2025
199df9f
Merge pull request #7250 from BitGo/WP-6367-express-fix-route-path-as…
lokesh-bitgo Oct 15, 2025
a47e0b1
chore(sdk-coin-celo): remove unused files and functions
ppongbitgo Oct 14, 2025
96525af
Merge pull request #7238 from BitGo/derek/SC-3491-inject-durable-nonc…
derekchen745 Oct 15, 2025
4d0f4d1
Merge pull request #7239 from BitGo/celocleanup
ppongbitgo Oct 15, 2025
ec54517
fix(sdk-core): skip STX stake related tx
noel-bitgo Oct 15, 2025
16216b4
Merge pull request #7237 from BitGo/BTC-2638-non-compulsory-sats-per-…
parvbitgo067 Oct 15, 2025
467900e
Merge pull request #7252 from BitGo/SC-3504
noel-bitgo Oct 15, 2025
b763c3a
Merge pull request #7212 from BitGo/BTC-0-ofc
lcovar Oct 15, 2025
dc55440
Merge branch 'master' into rel/latest-resolve-conflict-WP-6380
pengyuc-bitgo Oct 15, 2025
f5eac79
fix(deps): update account-lib to canton version
pengyuc-bitgo Oct 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ COPY --from=builder /tmp/bitgo/modules/sdk-coin-baby /var/modules/sdk-coin-baby/
COPY --from=builder /tmp/bitgo/modules/sdk-coin-bera /var/modules/sdk-coin-bera/
COPY --from=builder /tmp/bitgo/modules/sdk-coin-bld /var/modules/sdk-coin-bld/
COPY --from=builder /tmp/bitgo/modules/sdk-coin-bsc /var/modules/sdk-coin-bsc/
COPY --from=builder /tmp/bitgo/modules/sdk-coin-canton /var/modules/sdk-coin-canton/
COPY --from=builder /tmp/bitgo/modules/sdk-coin-celo /var/modules/sdk-coin-celo/
COPY --from=builder /tmp/bitgo/modules/sdk-coin-coredao /var/modules/sdk-coin-coredao/
COPY --from=builder /tmp/bitgo/modules/sdk-coin-coreum /var/modules/sdk-coin-coreum/
Expand Down Expand Up @@ -123,7 +124,6 @@ COPY --from=builder /tmp/bitgo/modules/sdk-coin-bsv /var/modules/sdk-coin-bsv/
COPY --from=builder /tmp/bitgo/modules/sdk-coin-btc /var/modules/sdk-coin-btc/
COPY --from=builder /tmp/bitgo/modules/utxo-ord /var/modules/utxo-ord/
COPY --from=builder /tmp/bitgo/modules/sdk-coin-btg /var/modules/sdk-coin-btg/
COPY --from=builder /tmp/bitgo/modules/sdk-coin-canton /var/modules/sdk-coin-canton/
COPY --from=builder /tmp/bitgo/modules/sdk-coin-dash /var/modules/sdk-coin-dash/
COPY --from=builder /tmp/bitgo/modules/sdk-coin-doge /var/modules/sdk-coin-doge/
COPY --from=builder /tmp/bitgo/modules/sdk-coin-eos /var/modules/sdk-coin-eos/
Expand Down Expand Up @@ -169,6 +169,7 @@ cd /var/modules/sdk-coin-baby && yarn link && \
cd /var/modules/sdk-coin-bera && yarn link && \
cd /var/modules/sdk-coin-bld && yarn link && \
cd /var/modules/sdk-coin-bsc && yarn link && \
cd /var/modules/sdk-coin-canton && yarn link && \
cd /var/modules/sdk-coin-celo && yarn link && \
cd /var/modules/sdk-coin-coredao && yarn link && \
cd /var/modules/sdk-coin-coreum && yarn link && \
Expand Down Expand Up @@ -220,7 +221,6 @@ cd /var/modules/sdk-coin-bsv && yarn link && \
cd /var/modules/sdk-coin-btc && yarn link && \
cd /var/modules/utxo-ord && yarn link && \
cd /var/modules/sdk-coin-btg && yarn link && \
cd /var/modules/sdk-coin-canton && yarn link && \
cd /var/modules/sdk-coin-dash && yarn link && \
cd /var/modules/sdk-coin-doge && yarn link && \
cd /var/modules/sdk-coin-eos && yarn link && \
Expand Down Expand Up @@ -269,6 +269,7 @@ RUN cd /var/bitgo-express && \
yarn link @bitgo/sdk-coin-bera && \
yarn link @bitgo/sdk-coin-bld && \
yarn link @bitgo/sdk-coin-bsc && \
yarn link @bitgo/sdk-coin-canton && \
yarn link @bitgo/sdk-coin-celo && \
yarn link @bitgo/sdk-coin-coredao && \
yarn link @bitgo/sdk-coin-coreum && \
Expand Down Expand Up @@ -320,7 +321,6 @@ RUN cd /var/bitgo-express && \
yarn link @bitgo/sdk-coin-btc && \
yarn link @bitgo/utxo-ord && \
yarn link @bitgo/sdk-coin-btg && \
yarn link @bitgo/sdk-coin-canton && \
yarn link @bitgo/sdk-coin-dash && \
yarn link @bitgo/sdk-coin-doge && \
yarn link @bitgo/sdk-coin-eos && \
Expand Down
2 changes: 1 addition & 1 deletion modules/abstract-lightning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
]
},
"dependencies": {
"@bitgo/public-types": "5.29.0",
"@bitgo/public-types": "5.31.0",
"@bitgo/sdk-core": "^36.13.0",
"@bitgo/statics": "^58.5.0",
"@bitgo/utxo-lib": "^11.11.1",
Expand Down
4 changes: 3 additions & 1 deletion modules/abstract-lightning/src/wallet/lightning.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ export interface ILightningWallet {
* On chain withdrawal
* @param {LightningOnchainWithdrawParams} params - Withdraw parameters
* @param {LightningOnchainRecipient[]} params.recipients - The recipients to pay
* @param {bigint} params.satsPerVbyte - Value for sats per virtual byte
* @param {bigint} [params.satsPerVbyte] - Optional value for sats per virtual byte. If not present, it will be estimated.
* @param {number} [params.numBlocks] - Target blocks for the transaction to be confirmed
* @param {string} params.passphrase - The wallet passphrase
* @param {string} [params.sequenceId] - Optional sequence ID for the respective withdraw transfer
* @param {string} [params.comment] - Optional comment for the respective withdraw transfer
Expand Down Expand Up @@ -337,6 +338,7 @@ export class LightningWallet implements ILightningWallet {
onchainRequest: {
recipients: params.recipients,
satsPerVbyte: params.satsPerVbyte,
numBlocks: params.numBlocks,
},
intentType: 'payment',
},
Expand Down
1 change: 1 addition & 0 deletions modules/abstract-utxo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
]
},
"dependencies": {
"@bitgo/secp256k1": "^1.5.0",
"@bitgo/blockapis": "^1.12.1",
"@bitgo/sdk-api": "^1.70.2",
"@bitgo/sdk-core": "^36.13.0",
Expand Down
6 changes: 3 additions & 3 deletions modules/abstract-utxo/src/abstractUtxoCoin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { randomBytes } from 'crypto';

import _ from 'lodash';
import * as utxolib from '@bitgo/utxo-lib';
import { bip32, bitgo, getMainnet, isMainnet, isTestnet } from '@bitgo/utxo-lib';
import { bip32 } from '@bitgo/secp256k1';
import { bitgo, getMainnet, isMainnet, isTestnet } from '@bitgo/utxo-lib';
import {
AddressCoinSpecific,
AddressTypeChainMismatchError,
Expand Down Expand Up @@ -46,7 +47,6 @@ import {
Wallet,
isValidPrv,
isValidXprv,
bitcoin,
} from '@bitgo/sdk-core';

import {
Expand Down Expand Up @@ -1160,7 +1160,7 @@ export abstract class AbstractUtxoCoin extends BaseCoin {
throw new Error('invalid private key');
}
if (publicKey) {
const genPubKey = bitcoin.HDNode.fromBase58(prv).neutered().toBase58();
const genPubKey = bip32.fromBase58(prv).neutered().toBase58();
if (genPubKey !== publicKey) {
throw new Error('public key does not match private key');
}
Expand Down
5 changes: 2 additions & 3 deletions modules/abstract-utxo/src/descriptor/builder/parse.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { BIP32Interface } from '@bitgo/utxo-lib';
import * as utxolib from '@bitgo/utxo-lib';
import { BIP32Interface, bip32 } from '@bitgo/secp256k1';
import { Descriptor } from '@bitgo/wasm-miniscript';

import { DescriptorBuilder, getDescriptorFromBuilder } from './builder';
Expand Down Expand Up @@ -55,7 +54,7 @@ function parseMulti(node: unknown): {
});
return {
threshold,
keys: keyWithPath.map((k) => utxolib.bip32.fromBase58(k.xpub)),
keys: keyWithPath.map((k) => bip32.fromBase58(k.xpub)),
path: paths[0],
};
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BitGoAPI } from '@bitgo/sdk-api';
import * as utxolib from '@bitgo/utxo-lib';
import { bip32 } from '@bitgo/secp256k1';
import { Wallet } from '@bitgo/sdk-core';

import { AbstractUtxoCoin } from '../../abstractUtxoCoin';
Expand Down Expand Up @@ -56,12 +56,12 @@ export async function createDescriptorWalletWithWalletPassphrase(
if (!userKeychain.prv) {
throw new Error('Missing private key');
}
const userKey = utxolib.bip32.fromBase58(userKeychain.prv);
const userKey = bip32.fromBase58(userKeychain.prv);
const cosigners = [backupKeychain, bitgoKeychain].map((keychain) => {
if (!keychain.pub) {
throw new Error('Missing public key');
}
return utxolib.bip32.fromBase58(keychain.pub);
return bip32.fromBase58(keychain.pub);
});
return createDescriptorWallet(bitgo, coin, {
...params,
Expand Down
8 changes: 4 additions & 4 deletions modules/abstract-utxo/src/keychains.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import assert from 'assert';

import * as t from 'io-ts';
import * as utxolib from '@bitgo/utxo-lib';
import { BIP32Interface, bip32 } from '@bitgo/secp256k1';
import { IRequestTracer, IWallet, KeyIndices, promiseProps, Triple } from '@bitgo/sdk-core';

import { AbstractUtxoCoin } from './abstractUtxoCoin';
Expand Down Expand Up @@ -48,12 +48,12 @@ export function toKeychainTriple(keychains: UtxoNamedKeychains): Triple<UtxoKeyc

export function toBip32Triple(
keychains: UtxoNamedKeychains | Triple<{ pub: string }> | Triple<string>
): Triple<utxolib.BIP32Interface> {
): Triple<BIP32Interface> {
if (Array.isArray(keychains)) {
return keychains.map((keychain: { pub: string } | string) => {
const v = typeof keychain === 'string' ? keychain : keychain.pub;
return utxolib.bip32.fromBase58(v);
}) as Triple<utxolib.BIP32Interface>;
return bip32.fromBase58(v);
}) as Triple<BIP32Interface>;
}

return toBip32Triple(toKeychainTriple(keychains));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BIP32Interface, bip32 } from '@bitgo/secp256k1';
import * as utxolib from '@bitgo/utxo-lib';
import { BIP32Interface } from '@bitgo/utxo-lib';
import { BaseCoin } from '@bitgo/sdk-core';

import { getNetworkFromChain } from '../names';
Expand All @@ -23,7 +23,7 @@ export function createHalfSigned(
): OfflineVaultHalfSigned {
const network = getNetworkFromChain(coin);
if (typeof prv === 'string') {
prv = utxolib.bip32.fromBase58(prv);
prv = bip32.fromBase58(prv);
}
prv = BaseCoin.deriveKeyWithSeedBip32(prv, derivationId).key;
if (!OfflineVaultSignable.is(tx)) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as utxolib from '@bitgo/utxo-lib';
import { BIP32Interface, bip32 } from '@bitgo/secp256k1';
import { Triple } from '@bitgo/sdk-core';
import * as t from 'io-ts';

Expand Down Expand Up @@ -28,8 +28,8 @@ export type OfflineVaultUnsigned = t.TypeOf<typeof OfflineVaultSignable>;

type WithXpub = { xpub: string };
type NamedKeys = { user: WithXpub; backup: WithXpub; bitgo: WithXpub };
export function toKeyTriple(xpubs: NamedKeys): Triple<utxolib.BIP32Interface> {
export function toKeyTriple(xpubs: NamedKeys): Triple<BIP32Interface> {
return [xpubs.user.xpub, xpubs.backup.xpub, xpubs.bitgo.xpub].map((xpub) =>
utxolib.bip32.fromBase58(xpub)
) as Triple<utxolib.BIP32Interface>;
bip32.fromBase58(xpub)
) as Triple<BIP32Interface>;
}
2 changes: 1 addition & 1 deletion modules/abstract-utxo/src/recovery/crossChainRecovery.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as utxolib from '@bitgo/utxo-lib';
import { bip32, BIP32Interface } from '@bitgo/utxo-lib';
import { BIP32Interface, bip32 } from '@bitgo/secp256k1';
import { Dimensions } from '@bitgo/unspents';
import { BitGoBase, IWallet, Keychain, Triple, Wallet } from '@bitgo/sdk-core';
import { decrypt } from '@bitgo/sdk-api';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as utxolib from '@bitgo/utxo-lib';
import { bip322 } from '@bitgo/utxo-core';
import { bip32, BIP32Interface, bitgo } from '@bitgo/utxo-lib';
import { BIP32Interface, bip32 } from '@bitgo/secp256k1';
import { bitgo } from '@bitgo/utxo-lib';
import { Triple } from '@bitgo/sdk-core';
import * as utxocore from '@bitgo/utxo-core';

Expand Down Expand Up @@ -302,7 +303,7 @@ export function explainPsbt<TNumber extends number | bigint, Tx extends bitgo.Ut
utxocore.paygo.verifyPayGoAddressProof(
psbt,
payGoVerificationInfo.outputIndex,
utxolib.bip32.fromBase58(payGoVerificationInfo.verificationPubkey, utxolib.networks.bitcoin).publicKey
bip32.fromBase58(payGoVerificationInfo.verificationPubkey, utxolib.networks.bitcoin).publicKey
);
} catch (e) {
if (strict) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import assert from 'assert';

import _ from 'lodash';
import { bip32, BIP32Interface, bitgo } from '@bitgo/utxo-lib';
import { BIP32Interface, bip32 } from '@bitgo/secp256k1';
import { bitgo } from '@bitgo/utxo-lib';
import * as utxolib from '@bitgo/utxo-lib';
import { isTriple, Triple } from '@bitgo/sdk-core';

Expand Down
2 changes: 1 addition & 1 deletion modules/abstract-utxo/src/transaction/signTransaction.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import _ from 'lodash';
import { BitGoBase } from '@bitgo/sdk-core';
import * as utxolib from '@bitgo/utxo-lib';
import { bip32 } from '@bitgo/utxo-lib';
import { bip32 } from '@bitgo/secp256k1';
import buildDebug from 'debug';

import { AbstractUtxoCoin, SignTransactionOptions } from '../abstractUtxoCoin';
Expand Down
2 changes: 1 addition & 1 deletion modules/abstract-utxo/src/verifyKey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import assert from 'assert';

import buildDebug from 'debug';
import * as utxolib from '@bitgo/utxo-lib';
import { bip32 } from '@bitgo/utxo-lib';
import { bip32 } from '@bitgo/secp256k1';
import * as bitcoinMessage from 'bitcoinjs-message';
import { BitGoBase, decryptKeychainPrivateKey, KeyIndices } from '@bitgo/sdk-core';

Expand Down
1 change: 1 addition & 0 deletions modules/account-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"@bitgo/sdk-coin-bera": "^2.6.5",
"@bitgo/sdk-coin-bld": "^3.5.5",
"@bitgo/sdk-coin-bsc": "^22.8.5",
"@bitgo/sdk-coin-canton": "^1.3.0",
"@bitgo/sdk-coin-celo": "^5.3.5",
"@bitgo/sdk-coin-coredao": "^2.6.5",
"@bitgo/sdk-coin-coreum": "^21.5.5",
Expand Down
5 changes: 5 additions & 0 deletions modules/account-lib/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ export { Vet };
import * as CosmosSharedCoin from '@bitgo/sdk-coin-cosmos';
export { CosmosSharedCoin };

import * as Canton from '@bitgo/sdk-coin-canton';
export { Canton };

import { validateAgainstMessageTemplates, MIDNIGHT_TNC_HASH } from './utils';
export { MIDNIGHT_TNC_HASH };

Expand Down Expand Up @@ -315,6 +318,8 @@ const coinBuilderMap = {
tpolyx: Polyx.TransactionBuilderFactory,
vet: Vet.TransactionBuilderFactory,
tvet: Vet.TransactionBuilderFactory,
canton: Canton.TransactionBuilderFactory,
tcanton: Canton.TransactionBuilderFactory,
};

const coinMessageBuilderFactoryMap = {
Expand Down
2 changes: 1 addition & 1 deletion modules/bitgo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"superagent": "^9.0.1"
},
"devDependencies": {
"@bitgo/public-types": "5.29.0",
"@bitgo/public-types": "5.31.0",
"@bitgo/sdk-opensslbytes": "^2.1.0",
"@bitgo/sdk-test": "^9.1.5",
"@openpgp/web-stream-tools": "0.0.14",
Expand Down
2 changes: 1 addition & 1 deletion modules/express/encryptedPrivKeys.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"61f039aad587c2000745c687373e0fa9": "{\"iv\":\"W14so0ZwIVOO/5y4cl3H3g==\",\"v\":1,\"iter\":10000,\"ks\":256,\"ts\":64,\"mode\":\"ccm\",\"adata\":\"\",\"cipher\":\"aes\",\"salt\":\"Jeck6aR6egU=\",\"ct\":\"GfqFuIoLp5jOTSTTB1byjWlW4D/8WBTr35P2UDjud0b0nA0WnJVAytbNkTlSIsRemhXQrcwhA74/BwZ14zvU4Frtmt3D3tvqKtb4i1ZVPREpcsIbp9V/RC+E5acNX6+bUCMXVZMEuYEGtkDxNRSIGsRZkAeTFlg=\"}"
"61f039aad587c2000745c687373e0fa9": "{\"iv\":\"/Gnh+Ip1G+IOhy+Cms+umQ==\",\"v\":1,\"iter\":10000,\"ks\":256,\"ts\":64,\"mode\":\"ccm\",\"adata\":\"\",\"cipher\":\"aes\",\"salt\":\"FYnd1xwReTw=\",\"ct\":\"vgnCvdJ1Z9sqeV6urYxNsscwnkB/6eSPsZhzaW4Cuc7RKEY1uWNlleR0Tjtd8nlQuhsA5UXFpOID3lHHHjPDvB+jWtRm08I2F+HNGYuklWG12vIiSrY2KnkYRJkyCghn5Pq3iEimQb9M2kkwj5wf4EtfAiz9jsY=\"}"
}
2 changes: 1 addition & 1 deletion modules/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"superagent": "^9.0.1"
},
"devDependencies": {
"@bitgo/public-types": "5.29.0",
"@bitgo/public-types": "5.31.0",
"@bitgo/sdk-lib-mpc": "^10.8.1",
"@bitgo/sdk-test": "^9.1.5",
"@types/argparse": "^1.0.36",
Expand Down
1 change: 1 addition & 0 deletions modules/express/src/typedRoutes/api/v1/acceptShare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const AcceptShareRequestBody = {
* When a wallet is shared with a user, they need to accept the share to gain access
* to the wallet according to the permissions granted by the sharing user.
*
* @tag express
* @operationId express.v1.wallet.acceptShare
*/
export const PostAcceptShare = httpRoute({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,11 @@ export const ConsolidateUnspentsResponse = t.array(
* multiple inputs to a single output. This is useful for reducing the number of UTXOs in a wallet,
* which can improve performance and reduce transaction fees.
*
* @tag express
* @operationId express.v1.wallet.consolidateunspents
*/
export const PutConsolidateUnspents = httpRoute({
path: '/api/v1/wallet/:id/consolidateunspents',
path: '/api/v1/wallet/{id}/consolidateunspents',
method: 'PUT',
request: httpRequest({
params: ConsolidateUnspentsRequestParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@ export const ConstructPendingApprovalTxResponse = t.type({
* For transaction request type approvals, either a wallet passphrase or xprv must be provided to sign the transaction.
* You can optionally specify fee-related parameters to customize the transaction fee.
*
* @tag express
* @operationId express.v1.pendingapproval.constructTx
*/
export const PutConstructPendingApprovalTx = httpRoute({
path: '/api/v1/pendingapprovals/:id/constructTx',
path: '/api/v1/pendingapprovals/{id}/constructTx',
method: 'PUT',
request: httpRequest({
params: ConstructPendingApprovalTxRequestParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export const CreateLocalKeyChainResponse = t.type({
* For security reasons, it is highly recommended that you encrypt and destroy
* the original xprv immediately to prevent theft.
*
* @tag express
* @operationId express.v1.keychain.local
*/
export const PostCreateLocalKeyChain = httpRoute({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const DeriveLocalKeyChainResponse = t.type({
* both the derived xprv and xpub are returned. If xpub is provided, only the
* derived xpub is returned.
*
* @tag express
* @operationId express.v1.keychain.derive
*/
export const PostDeriveLocalKeyChain = httpRoute({
Expand Down
3 changes: 2 additions & 1 deletion modules/express/src/typedRoutes/api/v1/fanoutUnspents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@ export const FanoutUnspentsResponse = t.type({
* multiple inputs to multiple outputs. This is useful for increasing the number of UTXOs
* in a wallet, which can improve transaction parallelization.
*
* @tag express
* @operationId express.v1.wallet.fanoutunspents
*/
export const PutFanoutUnspents = httpRoute({
path: '/api/v1/wallet/:id/fanoutunspents',
path: '/api/v1/wallet/{id}/fanoutunspents',
method: 'PUT',
request: httpRequest({
params: FanoutUnspentsRequestParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export const pendingApprovalRequestBody = {
* Handles various approval scenarios including transaction approvals, policy rule changes,
* and user change requests.
*
* @tag express
* @operationId express.v1.pendingapprovals
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const signTransactionRequestBody = {
* signTransaction
* Sign a previously created transaction with a keychain
*
* @tag express
* @operationId express.v1.wallet.signTransaction
*/
export const PostSignTransaction = httpRoute({
Expand Down
1 change: 1 addition & 0 deletions modules/express/src/typedRoutes/api/v1/simpleCreate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const SimpleCreateRequestBody = {
* 4. Creates the BitGo key on the service
* 5. Creates the wallet on BitGo with the 3 public keys above
*
* @tag express
* @operationId express.v1.wallet.simplecreate
*/
export const PostSimpleCreate = httpRoute({
Expand Down
Loading