These are chat archives for Nethereum/Nethereum

23rd
Oct 2017
@/all
bjornjacobs
@bjornjacobs
Oct 23 2017 11:55
Hi i have a question, can i deploy a contract without having to place the wallet in the keystore?
Juan Blanco
@juanfranblanco
Oct 23 2017 13:14
yes
@bjornjacobs the only thing you need is your private key to sign the transaction
this workbook might help
Alexander Yarushin
@aayarushin
Oct 23 2017 13:24
@juanfranblanco Super!!!
bjornjacobs
@bjornjacobs
Oct 23 2017 13:48
@juanfranblanco Thanks that worked
soend
@soend
Oct 23 2017 17:22
is it normal that when i run my own testnet with scripts provided in nethereum repository the geth.exe process takes up to 90% cpu?
Tatigo
@tatigo
Oct 23 2017 19:35
@juanfranblanco Hello Juan! I was looking at your video example of how to start with Nethereum, and you were creating the contract using solidity, making it into a variable and then deploying. Is that still the best way?
Juan Blanco
@juanfranblanco
Oct 23 2017 19:36
well, the principle will be always the same
you can use the code generator to generate a service
using vs code solidity extension or the console one in Nethereum
another option is the just released
you could use other tools like truffle
but the principle is always the same
Tatigo
@tatigo
Oct 23 2017 19:39
thanks :)
Juan Blanco
@juanfranblanco
Oct 23 2017 19:40
no bother :)
Tatigo
@tatigo
Oct 23 2017 19:40
another question I had, I need my contract to interact with external api, is there a way to do that using nethereum ?
Juan Blanco
@juanfranblanco
Oct 23 2017 19:40
your contract cannot talk with an external api
as they need to be deterministic
what you can do is have an "oracle"
mainly a service that checks for changes on a smart contract state
and then updates it
Tatigo
@tatigo
Oct 23 2017 19:42
so event handlers?
Juan Blanco
@juanfranblanco
Oct 23 2017 19:42
yes that is the best format
Tatigo
@tatigo
Oct 23 2017 19:43
ok, I will go thru the examples library, I hope I can find one to see how it was done
Juan Blanco
@juanfranblanco
Oct 23 2017 19:44
there are some examples now in workbooks format
actually i don't think any are for events
but helpul to get started
Tatigo
@tatigo
Oct 23 2017 19:46
that will keep me busy for now
thanks again
Juan Blanco
@juanfranblanco
Oct 23 2017 19:46
:)