spl-forge
Simple CLI to create and manage SPL assets on Solana.
What It Does
- Setup and manage local CLI config
- Create mint accounts
- Create token/NFT flows (market/pool/launch planned)
Quick Start
Build and run:
On first run, config is auto-created under ~/.config/spl-forge/.
Command Usage
General form:
Commands
help
config
Get current config:
Quick network switch (recommended):
These presets update RPC URL, WebSocket URL, and commitment together.
Set custom RPC URL:
Use Solana CLI wallet keypair:
Reset config:
wallet
Show active wallet address:
Show active wallet balance:
Show balance for any wallet:
Show full wallet status:
Request SOL airdrop (devnet/localnet only):
create mint
create metadata
create token
create nft
Planned (not implemented yet)
create marketcreate poolcreate launch
Testing
Quick compile check:
Run normal smoke tests:
Run aggressive localnet sweep:
Notes:
- Localnet tests expect
solana-test-validatoron127.0.0.1:8899. commands_smokeskips localnet-only create checks if validator is not reachable.create metadata,create token, andcreate nftare currently expected to fail in tests until metadata support is re-enabled.