Skip to content

feat: add sdk-core vault module interfaces and scaffolding #9223

Open
davidkaplanbitgo wants to merge 4 commits into
masterfrom
WCN-1192.vault-interfaces
Open

feat: add sdk-core vault module interfaces and scaffolding #9223
davidkaplanbitgo wants to merge 4 commits into
masterfrom
WCN-1192.vault-interfaces

Conversation

@davidkaplanbitgo

Copy link
Copy Markdown
Contributor

Net-new sdk-core/src/bitgo/vault module mirroring the EnterpriseData/
Enterprise and WalletData/Wallet conventions: iVault/iVaults interfaces
(per API Changes v1 §3), the Vault and Vaults classes, and the barrel.
Vault implements getters, url(), toJSON(), and freeze/archive REST
plumbing; createWallet, member, and share methods are stubbed for
WCN-1203/WCN-1204. Vaults lifecycle methods (createVault, initialize,
finalize, list, get) are stubbed pending Phase 2/3 (WCN-1175/1177).
Wires an Enterprise.vaults() accessor and the bitgo barrel export.

WCN-1192

Net-new sdk-core/src/bitgo/vault module mirroring the EnterpriseData/
Enterprise and WalletData/Wallet conventions: iVault/iVaults interfaces
(per API Changes v1 §3), the Vault and Vaults classes, and the barrel.
Vault implements getters, url(), toJSON(), and freeze/archive REST
plumbing; createWallet, member, and share methods are stubbed for
WCN-1203/WCN-1204. Vaults lifecycle methods (createVault, initialize,
finalize, list, get) are stubbed pending Phase 2/3 (WCN-1175/1177).
Wires an Enterprise.vaults() accessor and the bitgo barrel export.

WCN-1192

TICKET: WCN-1192
@linear-code

linear-code Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

WCN-1192

@davidkaplanbitgo davidkaplanbitgo force-pushed the WCN-1192.vault-interfaces branch from 25318da to 7da4e23 Compare July 9, 2026 18:32
@rishikeshdadam136

Copy link
Copy Markdown
Contributor

Flush,CI Failing

@davidkaplanbitgo davidkaplanbitgo marked this pull request as draft July 10, 2026 00:51
@davidkaplanbitgo davidkaplanbitgo marked this pull request as ready for review July 10, 2026 01:42

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't these live in a shared package? doesn't the backend use the same types?

import { EnterpriseData, EnterpriseFeatureFlag, IEnterprise } from '../enterprise';
import { getFirstPendingTransaction } from '../internal';
import { ListWalletOptions, Wallet } from '../wallet';
import { Safes } from '../safe';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my understanding is that the name should be "Vaults" not "Safes"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants