@deserialize/multi-vm-wallet 1.2.0 → 1.2.1

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.
@@ -1,51 +0,0 @@
1
- import { Buffer } from "buffer";
2
- import { Keypair, Connection, BlockhashWithExpiryBlockHeight } from "@solana/web3.js";
3
- export type TransactionSenderAndConfirmationWaiterArgs = {
4
- connection: Connection;
5
- serializedTransaction: Buffer;
6
- blockhashWithExpiryBlockHeight: BlockhashWithExpiryBlockHeight;
7
- };
8
- export interface Chain {
9
- name: string;
10
- symbol: string;
11
- chainDecimals: string;
12
- explorer: string;
13
- http: string[];
14
- ws: string;
15
- nativeTokenProfitSpreed: string;
16
- chainTokenExplorer: string;
17
- isEvm: boolean;
18
- isDevnet: boolean;
19
- }
20
- export declare const chain: Chain;
21
- declare class MasterSmartWalletClass {
22
- chain: Chain;
23
- connection: Connection;
24
- masterKeyPair: {
25
- privateKey: Uint8Array;
26
- publicKey: string;
27
- };
28
- isDevnet: boolean;
29
- seed: string;
30
- masterAddress: string;
31
- constructor(mnemonic: string, chain: Chain);
32
- static generateSalt(): string;
33
- static deriveKey(password: string, salt: string, iterations?: number, keySize?: number): string;
34
- static encryptSeedPhrase(seedPhrase: string, password: string): {
35
- encrypted: string;
36
- salt: string;
37
- };
38
- static decryptSeedPhrase(encryptedSeedPhrase: string, password: string, salt: string): string | null;
39
- static GenerateNewSeed(): string;
40
- solGetKeyPairFromSeed(): Keypair;
41
- deriveChildPrivateKey(index: number): {
42
- privateKey: Uint8Array<ArrayBufferLike>;
43
- publicKey: string;
44
- };
45
- deriveChildKeypair(index: number): Keypair;
46
- private derivePath;
47
- private hardenedDerivation;
48
- }
49
- export declare class SoonClass extends MasterSmartWalletClass {
50
- }
51
- export default MasterSmartWalletClass;