Creates a multisig derivation helper from a configured AftermathApi.
Provider containing the shared-custody public key.
ReadonlysharedShared-custody address and base64-encoded Ed25519 public key from the provider.
Derives a deterministic 1-of-2 Sui multisig from the shared-custody key and the user's Ed25519 public key.
Each key has weight 1, and either key can authorize the multisig because
the threshold is 1. The user key may be 32 raw Ed25519 bytes or 33 bytes
with the leading Sui Ed25519 scheme flag. The configured shared-custody
key is base64 encoded and includes its scheme flag, which this method strips
before constructing the key.
User public key bytes in raw or Sui scheme-flagged format.
The derived MultiSigPublicKey and its corresponding Sui address.
Derives the Aftermath shared-custody multisig key for a user's Ed25519 key.
The derivation is local. This class does not make network requests or sign transactions.