aftermath-ts-sdk - v3.3.3
    Preparing search index...

    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.

    Index
    sharedCustodyAddresses: SharedCustodyAddresses

    Shared-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.

      Parameters

      Returns MultisigData

      The derived MultiSigPublicKey and its corresponding Sui address.

      Error when either public key is missing or has an invalid length.