These are chat archives for Nethereum/Nethereum
I've managed to do this for standard events such as Transfer, by applying a filter:
var filter = token.GetTransferEvent().CreateFilterInput();
I'm trying to create my first Nethereum project. I was following the youtube tutorial https://www.youtube.com/watch?v=4t5Z3eX59k4
I'm getting a compile error:
Error CS0426 The type name 'Web3' does not exist in the type 'Web3' \Program.cs 26 Active
Can anyone please help me with resolving this error?
I have geth running under the testchain, and when I run my Visual Studio code (as per the same above video), I get an exception on this line:
var unlockAccountResult = await web3.Personal.UnlockAccount.SendRequestAsync(address, password, new HexBigInteger(120));
Exception thrown: 'Nethereum.JsonRpc.Client.RpcResponseException' in mscorlib.dll
Exception thrown: 'System.AggregateException' in mscorlib.dll
Can you please let me know what I'm doing wrong? Or if I'm missing something?
I'm running the sample code and this line has been running for the past 41 minutes and still hasn't got the receipt:
while (receipt == null)
receipt = await web3.Eth.Transactions.GetTransactionReceipt.SendRequestAsync(transactionHash);
Is this normal?