deepbookv3-sdk-balance-manager
Installation
SKILL.md
DeepBook V3: BalanceManager SDK
The BalanceManager is the core on-chain object that holds user funds. The @mysten/deepbook-v3 SDK provides simple wrappers to manage these accounts, deposit/withdraw assets, delegate access via capabilities (caps), and generate TradeProof tokens.
1. Primary SDK Methods
Creation & Sharing
createAndShareBalanceManager()(tx)Creates a newBalanceManagershared object.createBalanceManagerWithOwner(ownerAddress)(tx)Creates aBalanceManagerwith a custom owner address. Returns the manager object.shareBalanceManager(manager)(tx)Shares a previously created (but unshared)BalanceManagerobject.