if (config.rpc && config.rpc.active && config.rpc.port) {
      this.rpc = new Rpc(config as Config, this.chain);
    }