/// <summary> /// Creates a simple transfer transaction with value defined by <paramref name="ether"/> /// from a rich account to <paramref name="address"/> /// </summary> /// <param name="address">Address to add funds to</param> /// <param name="ether">Value of ether to add to the account</param> /// <returns></returns> public async Task AddFunds(Address address, UInt256 ether) { var nonce = StateReader.GetNonce(BlockTree.Head.StateRoot, TestItem.AddressA); Transaction tx = Builders.Build.A.Transaction .SignedAndResolved(TestItem.PrivateKeyA) .To(address) .WithNonce(nonce) .WithValue(ether) .TestObject; await AddBlock(tx); }