Methods
key
- key(): PublicKey
-
Returns PublicKey
keypair
- keypair(): Keypair
-
Returns Keypair
pubkey
- pubkey(): PublicKey
-
Returns PublicKey
publicKey
- publicKey(): PublicKey
-
Returns PublicKey
signer
- signer(): Signer
-
Returns Signer
toString
- toString(): string
-
Returns string
Static
fromSecretKey
- fromSecretKey(secretKey, options?): NodeWallet
-
Parameters
-
secretKey: Uint8Array
-
Optional
options: {
skipValidation?: boolean;
}
-
Optional
skipValidation?: boolean
Wrapper for Keypair resembling Solana web3 browser wallet