These are chat archives for Nethereum/Nethereum

4th
Dec 2017
Juan Blanco
@juanfranblanco
Dec 04 2017 09:55
@devedse that is rather obtuse :) Ill expose the Nonce from the new class
you can get the pending transactions
the problem is that when you send many transactions at a time you this might not be in the pending transactions yet
if you crash then the pending can take effect (as you will have enough time) to have these on the queue
Juan Blanco
@juanfranblanco
Dec 04 2017 10:31
well actually if you want just to save it, you can just inherit the new nonce provider class
Devedse
@devedse
Dec 04 2017 11:02
Yeah I've noticed it. It's kinda annoying.
Devedse
@devedse
Dec 04 2017 11:09
I also read that if you leave a blank in nonces that there's going to be transactions that are never executed
Juan Blanco
@juanfranblanco
Dec 04 2017 11:10
the nonces are required
that distinguish it from a previous transaction
to avoid a replay attack
Devedse
@devedse
Dec 04 2017 11:15
yep
if you want to save your current nonce count you can inherit from this class
ill release this today
sometime
in the night :D
Devedse
@devedse
Dec 04 2017 14:16
Lol ;D
bjornjacobs
@bjornjacobs
Dec 04 2017 14:26
Hi i want to wait for an event(in a smart contract) to fire. is this possible?
Juan Blanco
@juanfranblanco
Dec 04 2017 14:30
You will have to Poll for it
Ilan Yosef
@xipher0
Dec 04 2017 20:10
Does anyyone know the solution to exception caught: "Error occurred when trying to send rpc requests(s)" when trying to connect to rpc from net core client?
Juan Blanco
@juanfranblanco
Dec 04 2017 20:11
What is the inner exception?
Ilan Yosef
@xipher0
Dec 04 2017 20:11
one sec ...
12175: A security error occured
Thats the innermost exception
connecting via javascript onsole using same credentials works
console*
Why would my rpc requests through nethereum be blocked?
on windows that is
Juan Blanco
@juanfranblanco
Dec 04 2017 20:15
well normally it will be the other way around
Javascript blocked and .net open
what client are you using?
Ilan Yosef
@xipher0
Dec 04 2017 20:16
geth
Juan Blanco
@juanfranblanco
Dec 04 2017 20:16
what are the parameters to start it up?
Ilan Yosef
@xipher0
Dec 04 2017 20:17

var account = new ManagedAccount("0x4e3477c853f63ef84337d53bb3bc8d466e37a333", "myPassword");
var web3 = new Web3(account, "https://localhost:8545");

string to = "0xb0afb5fc380edda8ec0df15a589b8adb0bd19e63";
var _txId = await account.TransactionManager.SendTransactionAsync(account.Address, to, new HexBigInteger(UnitConversion.Convert.ToWei(0.001)));

and i start geth --rpc
localhost:8545 display blank page when client runs
Juan Blanco
@juanfranblanco
Dec 04 2017 20:19
yes normally does that
Ilan Yosef
@xipher0
Dec 04 2017 20:20
so why wouldn't it work from .net ?
Juan Blanco
@juanfranblanco
Dec 04 2017 20:21
try open some apis --rpcapi "eth,web3,personal,net,miner,admin,debug"
but they should be open by default
Ilan Yosef
@xipher0
Dec 04 2017 20:22
still getting same error
can't pass line: "var _txId.."
Juan Blanco
@juanfranblanco
Dec 04 2017 20:22
oh
you are using https
instead of http
Ilan Yosef
@xipher0
Dec 04 2017 20:23
wow
Juan Blanco
@juanfranblanco
Dec 04 2017 20:23
for localhost
Ilan Yosef
@xipher0
Dec 04 2017 20:23
These kind of errors... yup
lol
Thank you...
works now ; conncted
Can I ask another question
Juan Blanco
@juanfranblanco
Dec 04 2017 20:24
nb it is one of those things, that you need another pair of eyes
sure
shoot
Ilan Yosef
@xipher0
Dec 04 2017 20:24
I'm trying to do a simple ether transaction, what should the gas price be?
Juan Blanco
@juanfranblanco
Dec 04 2017 20:24
well you can use the default price
Ilan Yosef
@xipher0
Dec 04 2017 20:25
Should I leave it to default for this non-contract transaction?
Juan Blanco
@juanfranblanco
Dec 04 2017 20:25
which is already there
Ilan Yosef
@xipher0
Dec 04 2017 20:25
ok cool
would that work if I want to privide a service to buy ether?
I mean transaction time-wise
Juan Blanco
@juanfranblanco
Dec 04 2017 20:25
well if you want to ensure you have the latest
you can check
depends how much you are in a hurry
Ilan Yosef
@xipher0
Dec 04 2017 20:27
Thank you for your help
Juan Blanco
@juanfranblanco
Dec 04 2017 20:28
np