These are chat archives for Nethereum/Nethereum

12th
Apr 2018
p0isoN
@p0isoNz_twitter
Apr 12 2018 02:20
Is this similar to NBitcoin where you can use this as a wrapper to make ethereum transactions and addresses
Juan Blanco
@juanfranblanco
Apr 12 2018 04:44
yeah
but also intereact with smart cotnracts
although NBitcoin is a full node
this eventually will be a light node
TarrahArshad
@TarrahArshad
Apr 12 2018 05:44
@juanfranblanco for presale contract we need first deploy token contract or we can deploy in presale contract ?
Devedse
@devedse
Apr 12 2018 07:45
Thanks for the explanation @juanfranblanco :), I'll try to make a simplified test to reproduce the nonce error later
pehlauser
@pehlauser
Apr 12 2018 08:24
Can you tell me how we can send Custome Token ?
Anyone have this Answer ?
TarrahArshad
@TarrahArshad
Apr 12 2018 08:56
@pehlauser ؟
ShahbazyanKhoren
@ShahbazyanKhoren
Apr 12 2018 12:25
Hi

I called this function.

var recoveredAddress = new MessageSigner().EcRecover(transactionMessage, signature)

and get NullReferance error

exp.StackTrace

  at Nethereum.Signer.Crypto.ECKey.GetPubKey(Boolean isCompressed)
   at Nethereum.Signer.EthECKey.GetPubKeyNoPrefix()
   at Nethereum.Signer.EthECKey.GetPublicAddress()
   at Nethereum.Signer.MessageSigner.EcRecover(Byte[] hashMessage, String signature)
   at TheIndexPlus.Wrappers.Blockchain.Ethereum.NethereumWrapper.<VerifyAddressAsync>d__12.MoveNext() in D:\Projects\

@juanfranblanco any suggestion ?

Psilon
@Pzixel
Apr 12 2018 14:25
@juanfranblanco EncodeInt(BigInteger bigInt) throws a weird error if BigInt is bigger than 32 bytes
please add proper guard check