@trustwallet/wallet-core 3.0.5 → 3.0.6
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.
- package/dist/generated/core_proto.d.ts +392 -1
- package/dist/generated/core_proto.js +1116 -13
- package/dist/lib/wallet-core.wasm +0 -0
- package/dist/src/wallet-core.d.ts +6 -0
- package/package.json +1 -1
Binary file
|
@@ -521,6 +521,7 @@ export class Derivation {
|
|
521
521
|
static custom: Derivation;
|
522
522
|
static bitcoinSegwit: Derivation;
|
523
523
|
static bitcoinLegacy: Derivation;
|
524
|
+
static bitcoinTestnet: Derivation;
|
524
525
|
static litecoinLegacy: Derivation;
|
525
526
|
static solanaSolana: Derivation;
|
526
527
|
}
|
@@ -653,6 +654,10 @@ export class HDWallet {
|
|
653
654
|
getExtendedPublicKeyDerivation(purpose: Purpose, coin: CoinType, derivation: Derivation, version: HDVersion): string;
|
654
655
|
delete(): void;
|
655
656
|
}
|
657
|
+
export class BitcoinMessageSigner {
|
658
|
+
static signMessage(privateKey: PrivateKey, address: string, message: string): string;
|
659
|
+
static verifyMessage(address: string, message: string, signature: string): boolean;
|
660
|
+
}
|
656
661
|
export class FIOAccount {
|
657
662
|
static createWithString(string: string): FIOAccount;
|
658
663
|
description(): string;
|
@@ -754,6 +759,7 @@ export interface WalletCore {
|
|
754
759
|
GroestlcoinAddress: typeof GroestlcoinAddress;
|
755
760
|
DerivationPathIndex: typeof DerivationPathIndex;
|
756
761
|
HDWallet: typeof HDWallet;
|
762
|
+
BitcoinMessageSigner: typeof BitcoinMessageSigner;
|
757
763
|
FIOAccount: typeof FIOAccount;
|
758
764
|
EthereumAbiFunction: typeof EthereumAbiFunction;
|
759
765
|
describeCurve: typeof describeCurve;
|