gill/node
Functions and utilities designed for interacting with the Solana blockchain using JavaScript server backends and runtimes.
Variables
| Variable | Description |
|---|---|
| DEFAULT_CLI_KEYPAIR_PATH | Default Solana tool suite local keypair path |
Functions
| Function | Description |
|---|---|
| loadKeypairFromEnvironment | Load a CryptoKeyPair from an environment variable (i.e. those generated by the solana-keygen command) |
| loadKeypairFromEnvironmentBase58 | Load a CryptoKeyPair from an environment variable containing a base58 encoded keypair |
| loadKeypairFromFile | Load a CryptoKeyPair from a filesystem wallet json file (i.e. those generated by the solana-keygen command) |
| loadKeypairSignerFromEnvironment | Load a KeyPairSigner from a environment variable (i.e. those generated by the solana-keygen command) |
| loadKeypairSignerFromEnvironmentBase58 | Load a KeyPairSigner from an environment variable containing a base58 encoded keypair |
| loadKeypairSignerFromFile | Load a KeyPairSigner from a filesystem wallet json file (i.e. those generated by the solana-keygen command) |
| saveKeypairSignerToEnvFile | Save an extractable KeyPairSigner to a filesystem wallet json file (i.e. same format as those generated by the solana-keygen command) |
| saveKeypairSignerToFile | Save an extractable KeyPairSigner to a filesystem wallet json file (i.e. same format as those generated by the solana-keygen command) |
| saveKeypairToEnvFile | Save an extractable CryptoKeyPair to a local environment file (e.g. .env) (i.e. same format as those generated by the solana-keygen command) |
| saveKeypairToFile | Save an extractable CryptoKeyPair to a filesystem wallet json file (i.e. same format as those generated by the solana-keygen command) |