kleros/kleros-v2

View on GitHub
contracts/scripts/disputeRelayerBotFromSepolia.ts

Summary

Maintainability
A
2 hrs
Test Coverage
import hre = require("hardhat");
import relayer from "./disputeRelayerBot";
import { HttpNetworkConfig } from "hardhat/types";

async function main() {
  await relayer(
    hre.config.networks.sepolia as HttpNetworkConfig,
    hre.companionNetworks.foreignSepolia.deployments,
    "ForeignGatewayOnEthereum",
    "HomeGatewayToEthereum"
  );
}

main()
  .then(() => process.exit(0))
  .catch((error) => {
    console.error(error);
    process.exit(1);
  });