Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.solidscipt.zoracle.xyz/llms.txt

Use this file to discover all available pages before exploring further.

The config command reads and writes user-level settings stored in ~/.solidscript/config.json with file permissions set to 0600. Use it to persist your Etherscan API key, default network, and preferred RPC URL so you do not have to pass them as flags on every command invocation.
solidscript config set <key> <value>
solidscript config get <key>
solidscript config list
solidscript config unset <key>

Subcommands

SubcommandDescription
config set <key> <value>Write a value for the given key
config get <key>Print the current value for the given key
config listPrint all stored key-value pairs
config unset <key>Remove a key from the config file

Known keys

KeyPurpose
etherscan-keyEtherscan v2 API key used by verify-source for source verification
default-networkPreferred network name when a command supports a default
default-rpcPreferred RPC URL

Examples

# Store your Etherscan API key
npx solidscript config set etherscan-key YOUR_KEY

# Check the currently configured default network
npx solidscript config get default-network

# List all stored settings
npx solidscript config list

# Remove the default RPC override
npx solidscript config unset default-rpc