Business Accounts are in early access. See the overview for the model.
Only an owner or admin can add signers, and the caller must already be an active signer on that wallet. This operation requires step-up authentication.
Add a signer
addBusinessAccountSigner grants signing access to a user and returns a shareSetId. Identify them by a known userId, or by an identifier + identifierType. For example, when you provide an email, the user is created if they do not exist yet.
- JavaScript
- React
WalletAccount
required
The wallet to add a signer to, from the caller’s
getWalletAccounts().{ userId } | { identifier, identifierType }
required
Who to add: a known
userId, or an identifier (e.g. email) plus its identifierType.'endUser' | 'server'
Whether the new signer is an end user or a server signer.
string
Your password, when your key share is password-encrypted and you have not already unlocked it this session. It unlocks your own key share, and is never applied to the new signer’s share.
string
A separate developer-managed value that encrypts the new signer’s key share before backup. It is required when wallet passwords are required by your environment, and optional otherwise.
To set an initial policy for the new signer after creation, use the
shareSetId returned by addBusinessAccountSigner with createPolicy. addBusinessAccountSigner does not accept initialSignerRules at creation time.Passwords when adding a signer
A password encrypts one person’s key share, not the wallet.password and targetSignerPassword protect different shares.
passwordunlocks your own key share so the reshare can run. If the share is already unlocked for this session, you can omit it.- The reshare mints a new key share for the signer you add. Your own share set is untouched.
- The SDK encrypts the new share locally with
targetSignerPassword, then sends only the encrypted share to Dynamic for backup. - Your application makes
targetSignerPasswordavailable to the target signer after authentication. They use it to recover their share, then replace it with a user-controlled password by callingsetWaasWalletAccountPassword.
targetSignerPassword. Derive it per signer, for example from a per-signer salt and a server-side secret held in your backend, and return it only over an authenticated request. Do not reuse the current signer’s password. Dynamic’s backup service does not receive the raw value. See Creating a wallet with a developer-provided salt for a derivation pattern you can reuse.
Remove a signer
removeBusinessAccountSigner revokes a signer’s access to a wallet. The wallet and every other signer are untouched.
- JavaScript
- React
Next steps
Members & roles
Administer who can manage the account.
Sign transactions
Use a signer’s share to sign.