Dfns TypeScript SDK - v0.8.35
    Preparing search index...
    type ImportWalletBody = {
        curve: "ed25519" | "secp256k1" | "stark";
        encryptedKeyShares: { encryptedKeyShare: string; signerId: string }[];
        externalId?: string;
        minSigners: number;
        name?: string;
        network: string | "KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark";
        protocol:
            | "CGGMP24"
            | "FROST"
            | "FROST_BITCOIN"
            | "GLOW20_DH"
            | "KU23"
            | "CGGMP21";
    }
    Index

    Properties

    curve: "ed25519" | "secp256k1" | "stark"

    The elliptic curve of the private key being imported.

    encryptedKeyShares: { encryptedKeyShare: string; signerId: string }[]

    One key share per signer, each encrypted to that signer.

    Type Declaration

    • encryptedKeyShare: string

      The key share encrypted to the target signer.

    • signerId: string

      ID of the signer this key share is for.

    externalId?: string
    minSigners: number

    The TSS threshold: the minimum number of key shares required to sign.

    name?: string

    Nickname for the imported key.

    network: string | "KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark"
    protocol:
        | "CGGMP24"
        | "FROST"
        | "FROST_BITCOIN"
        | "GLOW20_DH"
        | "KU23"
        | "CGGMP21"

    The MPC protocol the key shares are formatted for.