• Mark Tyneway's avatar
    contracts: fetch-batches hardhat task · f2179e37
    Mark Tyneway authored
    Adds a hardhat task to fetch batches. Logs are written
    to stderr so that the stdout can be written to a file
    or passed to `jq`.
    
    ```bash
    export CONTRACTS_TARGET_NETWORK=...
    export CONTRACTS_DEPLOYER_KEY=...
    export CONTRACTS_RPC_URL=...
    npx hardhat fetch-batches --network main --start 14311261
    ```
    f2179e37
hardhat.config.ts 3.59 KB