config

View and modify StarkFi CLI configuration — set custom RPC URLs, switch networks, manage gas settings, and check transaction status. Use this skill when the user mentions RPC, rate limits, network settings, gas mode, gas token, configuration, settings, preferences, or wants to check a transaction hash. Also trigger when the user wants to customize their setup, troubleshoot connection issues, switch between mainnet and testnet, change how gas is paid, or verify whether a transaction succeeded — even if they don't say "config".

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "config" with this command: npx skills add ahmetenesdur/starkfi/ahmetenesdur-starkfi-config

Configuration & Utilities

Manage local configuration for the StarkFi CLI and check transaction status on-chain. Configuration includes RPC endpoints, network selection, and gas payment settings.

Prerequisites

  • None for configuration commands (config list, config set-*, config get-rpc).
  • Active session required for tx-status (it reads the network from the session).

Configuration Commands

# List all current settings
npx starkfi@latest config list

# Reset all settings to defaults
npx starkfi@latest config reset

# Set custom RPC URL
npx starkfi@latest config set-rpc <url>

# Get current RPC URL
npx starkfi@latest config get-rpc

# Switch network
npx starkfi@latest config set-network <network>

# Toggle developer-sponsored gas (Gasfree mode)
npx starkfi@latest config set-gasfree <on|off>

# Set gas payment token (for Gasless mode)
npx starkfi@latest config set-gas-token <token>

Transaction Status

npx starkfi@latest tx-status <hash>

Gas Modes

StarkFi supports two gas abstraction modes:

ModeWho PaysCommandDescription
GasfreeDeveloperconfig set-gasfree onGas fees sponsored by StarkFi via Paymaster
GaslessUser (ERC-20)config set-gas-token STRKUser pays gas in an ERC-20 token (default mode)

Supported gas tokens: ETH, STRK, USDC, USDT, DAI

Gasfree and Gasless are mutually exclusive — enabling one disables the other.

Default: Gasless mode with STRK as gas token. Gas is paid through the Paymaster, so the user does not need native ETH for gas — any supported ERC-20 works.

Parameters

ParameterTypeDescriptionRequired
urlstringFull HTTP(S) RPC endpoint URLYes
networkstringmainnet or sepoliaYes
on/offstringEnable or disable Gasfree modeYes
tokenstringGas token symbol or reset (reverts to STRK)Yes
hashstringTransaction hash (0x...)Yes

Rules

  1. Rate Limits: If any skill fails with "rate limit" or "429" errors, use config set-rpc to set a custom RPC endpoint.
  2. Persistence: Settings are stored locally and persist across sessions.
  3. Use tx-status AFTER every send, trade, multi-swap, batch, and staking/lending transaction to verify success.
  4. Use config get-rpc to check the current RPC URL before changing it.

Examples

User: "I'm getting rate limit errors"

npx starkfi@latest config get-rpc
npx starkfi@latest config set-rpc https://starknet-mainnet.g.alchemy.com/v2/<key>

User: "Show my current configuration"

npx starkfi@latest config list

User: "Switch to testnet"

npx starkfi@latest config set-network sepolia

User: "Enable free gas mode"

npx starkfi@latest config set-gasfree on

User: "I want to pay gas in USDC"

npx starkfi@latest config set-gasfree off
npx starkfi@latest config set-gas-token USDC

User: "Reset gas token to default"

npx starkfi@latest config set-gas-token reset

User: "Reset all my settings"

npx starkfi@latest config reset

User: "Did my transaction go through? Hash is 0xabc..."

npx starkfi@latest tx-status 0xabc...

Error Handling

ErrorAction
Invalid RPC URLEnsure URL starts with http:// or https://.
Invalid networkUse mainnet or sepolia.
Unsupported gas tokenMust be one of: ETH, STRK, USDC, USDT, DAI.
Transaction not foundVerify the hash is correct and the network matches.
PendingTransaction is still in mempool — wait and retry.

Related Skills

  • This skill is referenced by all other skills for rate limit recovery.
  • Use config set-gasfree on for developer-sponsored gas.
  • Use tx-status to verify transactions from any transactional skill.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Web3

authenticate-wallet

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

trade

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

send

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

balance

No summary provided by upstream source.

Repository SourceNeeds Review