You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Above code throws Error: cannot generate user keypair without passphrase when I do not pass passphrase.
And it throws ApiResponseError: There is no need to pass any keys or keySignatures nor is it required to pass m or n. when I uncomment and do pass passphrase.
Call stack for when I don't pass passphrase:
at userKeychainPromise (/home/preetam/my_stuff/nodejs/playground/node_modules/@bitgo/sdk-core/dist/src/bitgo/wallet/wallets.js:344:27)
at Wallets.generateWallet (/home/preetam/my_stuff/nodejs/playground/node_modules/@bitgo/sdk-core/dist/src/bitgo/wallet/wallets.js:388:27)
The text was updated successfully, but these errors were encountered:
Using bitgo-express throws the same error, even though from UI I'm able to create the wallet. In the Network tab of Browser Dev tools, I can see same payload being sent to server. Can't seem to understand why isn't it working through SDK or Bitgo-Express.
Custodial wallet generation is currently missing in the SDK/Express for onchain multisig type since we recently added the possibility for MPC wallets, i will put a fix soon but in the meantime you can try to create custodial wallets using BitGO API directly with:
POST /api/v2/{coin}/wallet
Request Body
{
"label": "Wallet label",
"enterprise": "62c...df7",
"multisigType": "onchain",
"type": "custodial",
"version":"2",
}
Above code throws
Error: cannot generate user keypair without passphrase
when I do not passpassphrase
.And it throws
ApiResponseError: There is no need to pass any keys or keySignatures nor is it required to pass m or n.
when I uncomment and do passpassphrase
.Call stack for when I don't pass
passphrase
:The text was updated successfully, but these errors were encountered: