# Use the structure from this file in the .env of the package that is using solidity-devops # Wallets # Define as many wallets as needed. For every wallet following env vars are needed: # - WALLET_ADDR: the address of the account to use for signing # - WALLET_TYPE: the wallet type: "keystore", "ledger","trezor" or "pk". # Any other value triggers the interactive prompt to enter the private key. # - keystore: use the encrypted keystore file. # - WALLET_JSON: the keystore file path # - ledger, trezor: use HW wallet for signing # TODO: find out if ledger/trezor specific options are needed # - pk: use the plaintext private key. STRONGLY DISCOURAGED for production usage, meant for local devnet purposes. # - WALLET_PK: the private key to the wallet in 0x format. # This will make wallet with name "deployer" available to run the scripts: DEPLOYER_ADDR=0x1234567890123456789012345678901234567890 DEPLOYER_TYPE=keystore DEPLOYER_JSON=path/to/keystore.json # RPC Configuration for Token Verification # Base URL for the RPC provider used by the verify-tokens script # The script will append /{chainId} to this URL for each chain # Exception: Moonbeam (chainId 1284) uses https://rpc.api.moonbeam.network RPC_BASE_URL=https://your-rpc-provider.com # Chains # For every chain following env vars are needed: # - CHAIN_RPC: the RPC endpoint # - CHAIN_VERIFIER: verifier for the smart contracts. Possible values are: etherscan, blockscout, sourcify # - CHAIN_VERIFIER_URL: the Verifier API endpoint (required if verifier is not sourcify) # - CHAIN_VERIFIER_KEY: the Verifier API key (required if verifier is not sourcify) # NOTE: Blockcout URL needs to end with "api?" for the verification to work # NOTE: Use any non-empty string for Blockscout API key: it is not required per se, but foundry will complain if it's empty # MAINNET CHAINS # Arbitrum ARBITRUM_RPC=https://arb1.arbitrum.io/rpc ARBITRUM_VERIFIER=etherscan ARBITRUM_VERIFIER_URL=https://api.arbiscan.io/api ARBITRUM_VERIFIER_KEY=YourArbiscanKey # Aurora AURORA_RPC=https://mainnet.aurora.dev AURORA_VERIFIER=blockscout AURORA_VERIFIER_URL=https://explorer.mainnet.aurora.dev/api? AURORA_VERIFIER_KEY=KeyNotRequired # Avalanche AVALANCHE_RPC=https://api.avax.network/ext/bc/C/rpc AVALANCHE_VERIFIER=etherscan AVALANCHE_VERIFIER_URL=https://api.snowscan.xyz/api AVALANCHE_VERIFIER_KEY=YourSnowScanKey # Base BASE_RPC=https://base.llamarpc.com BASE_VERIFIER=etherscan BASE_VERIFIER_URL=https://api.basescan.org/api BASE_VERIFIER_KEY=YourBaseScanKey # Blast BLAST_RPC=https://rpc.blast.io BLAST_VERIFIER=etherscan BLAST_VERIFIER_URL=https://api.blastscan.io/api BLAST_VERIFIER_KEY=YourBlastScanKey # BNB BNB_RPC=https://bnb.api.onfinality.io/public BNB_VERIFIER=etherscan BNB_VERIFIER_URL=https://api.bscscan.com/api BNB_VERIFIER_KEY=YourBscScanKey # Canto CANTO_RPC=https://canto.gravitychain.io CANTO_VERIFIER=blockscout CANTO_VERIFIER_URL=https://tuber.build/api? CANTO_VERIFIER_KEY=KeyNotRequired # Cronos CRONOS_RPC=https://cronos-evm.publicnode.com CRONOS_VERIFIER=etherscan CRONOS_VERIFIER_URL=https://api.cronoscan.com/api CRONOS_VERIFIER_KEY=YourCronosScanKey # DFK DFK_RPC=https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc DFK_VERIFIER=sourcify # Ethereum ETHEREUM_RPC=https://eth.llamarpc.com ETHEREUM_VERIFIER=etherscan ETHEREUM_VERIFIER_URL=https://api.etherscan.io/api ETHEREUM_VERIFIER_KEY=YourEtherscanKey # Fantom FANTOM_RPC=https://rpcapi.fantom.network FANTOM_VERIFIER=blockscout FANTOM_VERIFIER_URL=https://ftmscout.com/api? FANTOM_VERIFIER_KEY=KeyNotRequired # Harmony HARMONY_RPC=https://api.s0.t.hmny.io HARMONY_VERIFIER=blockscout HARMONY_VERIFIER_URL=https://explorer.harmony.one/api? HARMONY_VERIFIER_KEY=KeyNotRequired # Kaia KAIA_RPC=https://public-en.node.kaia.io KAIA_VERIFIER=sourcify # Metis METIS_RPC=https://andromeda.metis.io/?owner=1088 METIS_VERIFIER=blockscout METIS_VERIFIER_URL=https://andromeda-explorer.metis.io/api? METIS_VERIFIER_KEY=KeyNotRequired # Moonbeam MOONBEAM_RPC=https://rpc.api.moonbeam.network MOONBEAM_VERIFIER=etherscan MOONBEAM_VERIFIER_URL=https://api-moonbeam.moonscan.io/api MOONBEAM_VERIFIER_KEY=YourMoonbeamScanKey # Moonriver MOONRIVER_RPC=https://rpc.api.moonriver.moonbeam.network MOONRIVER_VERIFIER=etherscan MOONRIVER_VERIFIER_URL=https://api-moonriver.moonscan.io/api MOONRIVER_VERIFIER_KEY=YourMoonriverScanKey # Optimism OPTIMISM_RPC=https://optimism.llamarpc.com OPTIMISM_VERIFIER=etherscan OPTIMISM_VERIFIER_URL=https://api-optimistic.etherscan.io/api OPTIMISM_VERIFIER_KEY=YourOptimisticEtherscanKey # Polygon POLYGON_RPC=https://polygon.llamarpc.com POLYGON_VERIFIER=etherscan POLYGON_VERIFIER_URL=https://api.polygonscan.com/api POLYGON_VERIFIER_KEY=YourPolygonScanKey