Skip to content

Support --network option #3

@briceyan

Description

@briceyan

Add a --network flag to every subcommands with support for shortcuts, deduction, and config.

  • --network flag

    every <subcmd> --network mainnet|testnet|devnet|localnet
  • Shortcut flags

    --mainnet, --testnet, --devnet, --localnet
  • Auto deduction from --universe

    • ethereummainnet
    • sepoliatestnet
  • Config support (.every.toml)

    [networks.mainnet]
    rpc = "wss://mainnet.every.network"
    gateway = "https://every.fm"
    explorer = "https://every.subscan.io"
    
    [networks.testnet]
    rpc = "wss://testnet.every.network"
    gateway = "https://every.im"
    explorer = "https://every-testnet.subscan.io"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions