// Create a new RpcWalletClientTests instance
 public RpcWalletClientTests()
 {
     _utility   = _services.GetRequiredService <IMultiChainRpcUtility>();
     _wallet    = _services.GetRequiredService <IMultiChainRpcWallet>();
     _address   = _wallet.RpcOptions.ChainAdminAddress;
     _chainName = _wallet.RpcOptions.ChainName;
 }
예제 #2
0
 // Create a new RpcControlClientTests instance
 public MigrationAndLoggingTest()
 {
     _wallet    = _services.GetRequiredService <IMultiChainRpcWallet>();
     _contract  = _services.GetRequiredService <ITransactionRepo>();
     _address   = _wallet.RpcOptions.ChainAdminAddress;
     _chainName = _wallet.RpcOptions.ChainName;
 }
 public RpcWalletListTests()
 {
     _blockchain = _services.GetRequiredService <IMultiChainRpcGeneral>();
     _wallet     = _services.GetRequiredService <IMultiChainRpcWallet>();
     _address    = _wallet.RpcOptions.ChainAdminAddress;
     _chainName  = _wallet.RpcOptions.ChainName;
 }
예제 #4
0
 // Create a new RpcRawClientTests instance
 public RpcRawClientTests()
 {
     _wallet    = _services.GetRequiredService <IMultiChainRpcWallet>();
     _raw       = _services.GetRequiredService <IMultiChainRpcRaw>();
     _address   = _wallet.RpcOptions.ChainAdminAddress;
     _chainName = _wallet.RpcOptions.ChainName;
 }
 public RpcWalletUtilities()
 {
     _wallet    = _services.GetRequiredService <IMultiChainRpcWallet>();
     _address   = _wallet.RpcOptions.ChainAdminAddress;
     _chainName = _wallet.RpcOptions.ChainName;
 }