1.3.4 • Published 1 year ago

solpilot v1.3.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

SolPilot

=================

SolPilot is a command-line interface (CLI) tool designed to interact with the Solana blockchain. It allows users to perform essential wallet operations such as generating keypairs, requesting airdrops of SOL tokens, and sending SOL tokens to other wallets. The tool is built using the Oclif framework and leverages Solana's Web3.js library for blockchain interactions.

oclif Version Downloads/week

Usage

$ npm install -g solpilot
$ solpilot COMMAND
running command...
$ solpilot (--version)
solpilot/1.1.0 linux-x64 node-v18.20.4
$ solpilot --help [COMMAND]
USAGE
  $ solpilot COMMAND
...

Commands

solpilot airdrop

Request an airdrop to a provided Solana address.

Usage

solpilot airdrop --address <wallet_address> --amount <amount>

Flags

  • --address, -a: Solana wallet address to receive the airdrop.
  • --amount, -m: Amount of SOL to airdrop.

Description

Request an airdrop to a provided Solana address.

Example

solpilot airdrop --address <wallet_address> --amount <amount>

See code: src/commands/airdrop.ts

solpilot generate-keypair

Generate a Solana keypair and save it as one of the user's wallets.

Usage

solpilot generate-keypair --file <path/to/save/keypair.json>

Flags

  • --file, -f: Path to the directory to save the keypair (optional).

Description

Generate a Solana keypair and save it as one of the user's wallets.

Example

solpilot generate-keypair --file ./wallets/my-keypair.json

See code: src/commands/generate-keypair.ts

solpilot help [COMMAND]

Display help for solpilot.

Usage

solpilot help [COMMAND...]

Arguments

  • COMMAND...: Command to show help for.

Flags

  • --nested-commands, -n: Include all nested commands in the output.

Description

Display help for solpilot.

Example

solpilot help airdrop

See code: @oclif/plugin-help

solpilot list-selected-wallet

List the details of the selected wallet.

Usage

solpilot list-selected-wallet --file <path/to/wallets>

Flags

  • --file, -f: Path to the directory where the selected wallet is saved (optional).

Description

List the details of the selected wallet.

Example

solpilot list-selected-wallet --file ./wallets

See code: src/commands/list-selected-wallet.ts

solpilot list-wallets

List all wallets and their data.

Usage

solpilot list-wallets --file <path/to/wallets>

Flags

  • --file, -f: Path to the directory where wallets are saved (optional).

Description

List all wallets and their data.

Example

solpilot list-wallets --file ./wallets

See code: src/commands/list-wallets.ts

solpilot select-wallet

Select a wallet to use.

Usage

solpilot select-wallet --file <path/to/wallets>

Flags

  • --file, -f: Path to the directory where wallets are saved (optional).

Description

Select a wallet to use.

Example

solpilot select-wallet --file ./wallets

See code: src/commands/select-wallet.ts

solpilot send

Send SOL to a specified address.

Usage

solpilot send --to <to_wallet> --amount <amount>

Flags

  • --amount, -a: Amount of SOL to send (optional).
  • --to, -t: Recipient Solana wallet address (optional).

Description

Send SOL to a specified address.

Example

solpilot send --to <to_wallet> --amount <amount>

See code: src/commands/send.ts

solpilot set-config

Set the network configuration to devnet, testnet, or mainnet.

Usage

solpilot set-config --network <network>

Flags

  • --network, -n: Network to set (devnet, testnet, mainnet).

Description

Set the network configuration to devnet, testnet, or mainnet.

Example

solpilot set-config --network devnet

See code: src/commands/set-config.ts

solpilot show-private-key

Show the private key of a selected wallet.

Usage

solpilot show-private-key --file <path/to/wallets>

Flags

  • --file, -f: Path to the directory where wallets are saved (optional).

Description

Show the private key of a selected wallet.

Example

solpilot show-private-key --file ./wallets

See code: src/commands/show-private-key.ts


1.3.4

1 year ago

1.3.2

1 year ago

1.3.0

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago