Skip to main content

GitHub Repository

Dependencies

Features

Private Key Parsing

Usage

JSON Configuration

If the base58 encoded public key is configured via pubKey it will be used to further validate the public key derived from the private key.

Solana CLI Key Pair JSON Array

By default, if only an array is configured, the assumption is that it is a key pair generated by the Solana CLI.

JSON Array

Key Pair

Encoded 64 byte private/public key pair. Derived public key will be validated.
  • base64KeyPair
  • base58KeyPair

Private Key Only

Encoded 32 byte private key.
  • base64PrivateKey
  • base58PrivateKey

Transaction Deserialization

The TransactionSkeleton interface provides a lightweight view over transaction data. Allowing for partial introspection or complete reconstruction of a Transaction.

Legacy

Versioned

Creating Transactions

See the IDL clients docs for typical transaction flows.