• Return params to use with whatsabi.autoload(...)

    Parameters

    Returns Record<string, ABILoader | SignatureLookup>

    whatsabi.autoload(address, {provider, ...whatsabi.loaders.defaultsWithEnv(process.env)})
    
    whatsabi.autoload(address, {
    provider,
    ...whatsabi.loaders.defaultsWithEnv({
    SOURCIFY_CHAIN_ID: 42161,
    ETHERSCAN_BASE_URL: "https://api.arbiscan.io/api",
    ETHERSCAN_API_KEY: "MYSECRETAPIKEY",
    }),
    })

    Can be useful for stand-alone usage too!

    const { abiLoader, signatureLookup } = whatsabi.loaders.defaultsWithEnv(env);