@dfns/sdk 0.6.3-pr.1 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1998,9 +1998,11 @@ export type RegisterEndUserResponse = {
|
|
|
1998
1998
|
network: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "BerachainBArtio" | "Berachain" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | ("KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark");
|
|
1999
1999
|
address?: string | undefined;
|
|
2000
2000
|
signingKey: {
|
|
2001
|
+
id?: string | undefined;
|
|
2001
2002
|
scheme: "ECDSA" | "EdDSA" | "Schnorr";
|
|
2002
2003
|
curve: "ed25519" | "secp256k1" | "stark";
|
|
2003
2004
|
publicKey: string;
|
|
2005
|
+
delegatedTo?: string | undefined;
|
|
2004
2006
|
};
|
|
2005
2007
|
status: "Active" | "Archived";
|
|
2006
2008
|
dateCreated: string;
|
|
@@ -113,9 +113,11 @@ export type CreateWalletResponse = {
|
|
|
113
113
|
network: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "BerachainBArtio" | "Berachain" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | ("KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark");
|
|
114
114
|
address?: string | undefined;
|
|
115
115
|
signingKey: {
|
|
116
|
+
id?: string | undefined;
|
|
116
117
|
scheme: "ECDSA" | "EdDSA" | "Schnorr";
|
|
117
118
|
curve: "ed25519" | "secp256k1" | "stark";
|
|
118
119
|
publicKey: string;
|
|
120
|
+
delegatedTo?: string | undefined;
|
|
119
121
|
};
|
|
120
122
|
status: "Active" | "Archived";
|
|
121
123
|
dateCreated: string;
|
|
@@ -155,10 +157,10 @@ export type ExportWalletParams = {
|
|
|
155
157
|
};
|
|
156
158
|
export type ExportWalletResponse = {
|
|
157
159
|
publicKey: string;
|
|
158
|
-
/** The TSS threshold of the wallet private signing key shares */
|
|
159
|
-
minSigners: number;
|
|
160
160
|
protocol: "CGGMP21" | "FROST" | "FROST_BITCOIN" | "KU23";
|
|
161
161
|
curve: "ed25519" | "secp256k1" | "stark";
|
|
162
|
+
/** The TSS threshold of the wallet private signing key shares */
|
|
163
|
+
minSigners: number;
|
|
162
164
|
/** Keyshares of the exported wallet. They are encrypted with the provided encryption key. The exported private key is re-constructed from these keyshares. */
|
|
163
165
|
encryptedKeyShares: {
|
|
164
166
|
/** Base64-encoded ID of the signer exported the encrypted keyshare */
|
|
@@ -564,9 +566,11 @@ export type GetWalletResponse = {
|
|
|
564
566
|
network: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "BerachainBArtio" | "Berachain" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | ("KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark");
|
|
565
567
|
address?: string | undefined;
|
|
566
568
|
signingKey: {
|
|
569
|
+
id?: string | undefined;
|
|
567
570
|
scheme: "ECDSA" | "EdDSA" | "Schnorr";
|
|
568
571
|
curve: "ed25519" | "secp256k1" | "stark";
|
|
569
572
|
publicKey: string;
|
|
573
|
+
delegatedTo?: string | undefined;
|
|
570
574
|
};
|
|
571
575
|
status: "Active" | "Archived";
|
|
572
576
|
dateCreated: string;
|
|
@@ -1076,9 +1080,7 @@ export type GetWalletNftsResponse = {
|
|
|
1076
1080
|
};
|
|
1077
1081
|
export type GetWalletNftsRequest = GetWalletNftsParams;
|
|
1078
1082
|
export type ImportWalletBody = {
|
|
1079
|
-
network: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "BerachainBArtio" | "Berachain" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | ("KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark");
|
|
1080
1083
|
name?: string | undefined;
|
|
1081
|
-
externalId?: string | undefined;
|
|
1082
1084
|
curve: "ed25519" | "secp256k1" | "stark";
|
|
1083
1085
|
protocol: "CGGMP21" | "FROST" | "FROST_BITCOIN" | "KU23";
|
|
1084
1086
|
minSigners: number;
|
|
@@ -1086,15 +1088,19 @@ export type ImportWalletBody = {
|
|
|
1086
1088
|
signerId: string;
|
|
1087
1089
|
encryptedKeyShare: string;
|
|
1088
1090
|
}[];
|
|
1091
|
+
network: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "BerachainBArtio" | "Berachain" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | ("KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark");
|
|
1092
|
+
externalId?: string | undefined;
|
|
1089
1093
|
};
|
|
1090
1094
|
export type ImportWalletResponse = {
|
|
1091
1095
|
id: string;
|
|
1092
1096
|
network: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "BerachainBArtio" | "Berachain" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | ("KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark");
|
|
1093
1097
|
address?: string | undefined;
|
|
1094
1098
|
signingKey: {
|
|
1099
|
+
id?: string | undefined;
|
|
1095
1100
|
scheme: "ECDSA" | "EdDSA" | "Schnorr";
|
|
1096
1101
|
curve: "ed25519" | "secp256k1" | "stark";
|
|
1097
1102
|
publicKey: string;
|
|
1103
|
+
delegatedTo?: string | undefined;
|
|
1098
1104
|
};
|
|
1099
1105
|
status: "Active" | "Archived";
|
|
1100
1106
|
dateCreated: string;
|
|
@@ -1403,9 +1409,11 @@ export type ListWalletsResponse = {
|
|
|
1403
1409
|
network: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "BerachainBArtio" | "Berachain" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | ("KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark");
|
|
1404
1410
|
address?: string | undefined;
|
|
1405
1411
|
signingKey: {
|
|
1412
|
+
id?: string | undefined;
|
|
1406
1413
|
scheme: "ECDSA" | "EdDSA" | "Schnorr";
|
|
1407
1414
|
curve: "ed25519" | "secp256k1" | "stark";
|
|
1408
1415
|
publicKey: string;
|
|
1416
|
+
delegatedTo?: string | undefined;
|
|
1409
1417
|
};
|
|
1410
1418
|
status: "Active" | "Archived";
|
|
1411
1419
|
dateCreated: string;
|
|
@@ -1640,9 +1648,11 @@ export type UpdateWalletResponse = {
|
|
|
1640
1648
|
network: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "BerachainBArtio" | "Berachain" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | ("KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark");
|
|
1641
1649
|
address?: string | undefined;
|
|
1642
1650
|
signingKey: {
|
|
1651
|
+
id?: string | undefined;
|
|
1643
1652
|
scheme: "ECDSA" | "EdDSA" | "Schnorr";
|
|
1644
1653
|
curve: "ed25519" | "secp256k1" | "stark";
|
|
1645
1654
|
publicKey: string;
|
|
1655
|
+
delegatedTo?: string | undefined;
|
|
1646
1656
|
};
|
|
1647
1657
|
status: "Active" | "Archived";
|
|
1648
1658
|
dateCreated: string;
|