GrpcServiceImpl constructor

GrpcServiceImpl({
  1. required Account account,
  2. required bool isBuildnet,
})

Implementation

GrpcServiceImpl({required this.account, required this.isBuildnet}) {
  final host = isBuildnet ? Env.grpcBuildnetHost : Env.grpcMainnetHost;
  _grpc = GRPCPublicClient(host, Env.grpcPort);
}