Esempio n. 1
0
 public TronClient(ILogger <TronClient> logger, IOptions <TronNetOptions> options, IGrpcChannelClient channelClient, IWalletClient walletClient)
 {
     _logger        = logger;
     _options       = options;
     _channelClient = channelClient;
     _walletClient  = walletClient;
 }
Esempio n. 2
0
 public TransactionClient(IWalletClient walletClient, IOptions <TronNetOptions> options)
 {
     _walletClient = walletClient;
     _options      = options;
 }
Esempio n. 3
0
 public WalletService(IWalletClient walletClient)
 {
     _walletClient = walletClient;
 }
Esempio n. 4
0
 public TRC20ContractClient(ILogger <TRC20ContractClient> logger, IWalletClient walletClient, ITransactionClient transactionClient)
 {
     _logger            = logger;
     _walletClient      = walletClient;
     _transactionClient = transactionClient;
 }
Esempio n. 5
0
 public TRC20ContractClientTest()
 {
     _record = TronTestServiceExtension.GetTestRecord();
     _wallet = _record.ServiceProvider.GetService <IWalletClient>();
     _contractClientFactory = _record.ServiceProvider.GetService <IContractClientFactory>();
 }