You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@gearbox-protocol/permissionless-cli

Package Overview
Dependencies
Maintainers
12
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gearbox-protocol/permissionless-cli

Permissionsless scripts

latest
npmnpm
Version
0.1.3
Version published
Maintainers
12
Created
Source

Gearbox Permissionless scripts

Environment Variables

Ensure the following environment variables are properly configured:

  • RPC_URL – RPC URL
  • ANVIL_URL – Testnet RPC URL for txs simulations and batching
  • ADDRESS_PROVIDER – Address of the "Address Provider" contract
    • The address for the Mainnet Address Provider:
      0xF7f0a609BfAb9a0A98786951ef10e5FE26cC1E38
      
  • PRIVATE_KEY – Private key

Scripts arguments

Ensure the following environment variables are properly configured:

  • -r, --rpc-url Mainnet RPC URL. If not provided, the script assumes you're using a testnet.
    Env var: RPC_URL

  • --anvil-url (mandatory)
    RPC URL for testnet simulations and batching.
    Env var: ANVIL_URL

  • -p, --address-provider>
    Address of the AddressProvider contract.
    Env var: ADDRESS_PROVIDER

  • -k, --private-key
    Private key for mainnet transactions.
    Env var: PRIVATE_KEY

  • -a, --account
    Testnet account address. Defaults to the InstanceManager owner if not provided.

  • -o, --out-dir
    Directory path to save output results.
    Env var: OUTPUT_DIR

  • --testnet
    Flag to indicate usage of a testnet.

  • --execute
    Actually execute the prepared transactions.

  • --force
    Force transaction execution, ignoring safety checks.

  • --timelock
    Wrap transactions using queueTransaction (timelock logic).

  • -s, --skip-batching
    Skip batching transactions. Useful to debug Anvil issues.
    Default: false

  • -c, --config
    Path to the configuration file.
    Default: undefined

  • -e, --eta (mandatory for --timelock)
    ETA timestamp for queued transactions.
    Default: undefined

  • -m, --market-configurator(mandatory for --timelock)
    Address of the MarketConfigurator contract.

Scripts Information

  • Update price feeds
    pnpm start update-feeds
    
    Update price feeds.
  • Batch txs
    pnpm start batch-txs -t "path/to/txs"
    
    Simaulte and convert RawTxs from json to Safe Bathces.
  • Execute batches
    pnpm start execute-batches
    
    Create execute txs for queued batches

FAQs

Package last updated on 10 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts