These are chat archives for Nethereum/Nethereum

24th
May 2018
wtlab
@wtlab
May 24 2018 04:48 UTC
Hello comrades!) Suppose I have a private key, I can somehow get the address of the contract, right?
ok just new Account(key).Address :)
Juan Blanco
@juanfranblanco
May 24 2018 05:32 UTC
@ThatSlyGuy ledger uses a different path that's why. On using different number of words check the BIP (boarding a plane cannot dig it right now)
@wtlab yes that's about it
@aspramsh if your status is 1 the txn was successful. Check the solidity source?
aspramsh
@aspramsh
May 24 2018 05:58 UTC
OK thanks a lot.
Michael van der Veeken
@mvdv
May 24 2018 07:15 UTC
@juanfranblanco : Can I inject my own RpcClient into Web3? This is related to the question about basic authentication from yesterday.
Michael van der Veeken
@mvdv
May 24 2018 07:30 UTC
I got it, question was premature
public static Web3 Web3
{
get
{
if (Variables.ContainsKey("ETH_RPC_USER") && Variables.ContainsKey("ETH_RPC_PWD"))
{
var basicAuth = Convert.ToBase64String(
Encoding.ASCII.GetBytes(
string.Format("{0}:{1}", Variables["ETH_RPC_USER"], Variables["ETH_RPC_PWD"])));
                var authHeader = new AuthenticationHeaderValue("basic", basicAuth);
                var endpoint = new Uri(Variables.RpcEndpoint);
                var client = new RpcClient(endpoint, authHeader);
                var web3 = new Web3(client);
                return web3;
            }
            else
            {
                return new Web3(Variables.RpcEndpoint);
            }
        }
    }
Haris Botić
@harisbotic
May 24 2018 09:19 UTC
Hi everyone :) joined just now, because I have a problem I am stack on
Nethereum/Nethereum#333
, anyone knows the solution?
5murf
@5murf
May 24 2018 10:29 UTC

Hi could someone take the a look at the issue i just posted?

Nethereum/Nethereum#344

I am having trouble with pending transaction filters

NetereumFun
@NetereumFun
May 24 2018 12:21 UTC
@juanfranblanco Hi. I have sent tokens from my ERC20 contract to a wallet, now I want to send these tokens back from the user wallet to contract address, how can I do this?
Juan Blanco
@juanfranblanco
May 24 2018 13:52 UTC
@mvdv great, that was simple :)
@5murf if you are using infura you will get that problem.
5murf
@5murf
May 24 2018 13:53 UTC
Im using a parity QuikNode
does it need to be Geth?
Juan Blanco
@juanfranblanco
May 24 2018 13:55 UTC
@harisbotic I believe this is due to new version of nbitcoin, a new release of Nethereum will include it (the end of next week)
NetereumFun
@NetereumFun
May 24 2018 13:59 UTC
Thanks a lot.
Jonathan Sheely
@jsheely
May 24 2018 20:06 UTC
Are there examples of getting events by Indexed param ? Having trouble getting the syntax right for filterInput since it's listed a an object[]
Nevermind. I just messed up the signature. new object[] { "mystring"} vs new {"mystring}
xeeshan74
@xeeshan74
May 24 2018 23:53 UTC
there is no returned value on this
var transactionHash = tokenService.ApproveAsync(senderAddress, addressTo, tokens, new HexBigInteger(100000));
any idea what I am doing wrong
??