GenusGRPCService constructor
GenusGRPCService({})
Implementation
GenusGRPCService({
required this.host,
required this.port,
this.options = const ChannelOptions(
credentials: ChannelCredentials.insecure(),
),
}) : genusBlockStub = BlockServiceClient(
ClientChannel(
host,
port: port,
options: options,
),
),
genusTransactionStub = TransactionServiceClient(
ClientChannel(
host,
port: port,
options: options,
),
);