@solana/kit-plugins
v0.6.2
Published
Essential plugins and plugin presets for Solana Kit.
Readme
Kit Plugins ➤ Main Library
Essential plugins and plugin presets for Solana Kit that provide RPC connectivity, payer management, transaction execution, test environments and more. Choose from three ready-to-use client configurations or build your own.
Installation
pnpm install @solana/kit-pluginsDefault Clients (deprecated)
[!WARNING] The default client factories have moved to dedicated packages. The re-exports below are deprecated and will be removed in a future release.
| Deprecated re-export | Use instead | | --------------------------------- | ------------------------------------------------------------------------- | |
createDefaultRpcClient|createClientfrom@solana/kit-client-rpc| |createDefaultLocalhostRpcClient|createLocalClientfrom@solana/kit-client-rpc| |createDefaultLiteSVMClient|createClientfrom@solana/kit-client-litesvm|
Individual Plugins
This package includes and re-exports all the individual plugin packages in this monorepo. You can also install and use them separately:
| Plugin | Purpose | Package |
| -------------------- | ---------------------------------- | ----------------------------------------------------------------------- |
| RPC | Connect to Solana clusters | @solana/kit-plugin-rpc |
| Payer | Manage transaction fee payers | @solana/kit-plugin-payer |
| Airdrop | Request SOL from faucets | @solana/kit-plugin-airdrop |
| LiteSVM | Local blockchain simulation | @solana/kit-plugin-litesvm |
| Instruction Plan | Transaction planning and execution | @solana/kit-plugin-instruction-plan |
