Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 25 13:10

    juanfranblanco on master

    Adding samples for CID, Multifo… Merge branch 'master' of https:… (compare)

  • Feb 14 05:29

    juanfranblanco on master

    Update README.md (compare)

  • Feb 13 22:57

    juanfranblanco on master

    Update README.md (compare)

  • Feb 13 17:41

    juanfranblanco on master

    Forcing null to allow mono wasm (compare)

  • Feb 13 13:04

    juanfranblanco on 3.7.0

    (compare)

  • Feb 12 18:31

    juanfranblanco on master

    Update Erc20TokenTester.cs (compare)

  • Feb 12 17:39

    juanfranblanco on master

    Removing not required test (compare)

  • Feb 12 16:02

    juanfranblanco on master

    Upgrading parity (compare)

  • Feb 12 15:46

    juanfranblanco on master

    #617 Removing fixed sized of We… Making globally configurable th… Simplifying adding a subnode in… and 1 more (compare)

  • Feb 12 07:33

    juanfranblanco on master

    ENS upgrade and extra services … Adding abi / bin of corrent con… Merge branch 'master' of https:… (compare)

  • Feb 04 15:01

    juanfranblanco on master

    Issue: #619 - Parameter Decodin… Merge pull request #620 from Da… (compare)

  • Jan 29 11:29

    juanfranblanco on master

    Typo on FunctionOutput created … 3.6.2 for autogen (compare)

  • Jan 29 10:56

    juanfranblanco on master

    Transaction Factory Create from… (compare)

  • Jan 28 06:21

    juanfranblanco on master

    #618 creating an empty construc… (compare)

  • Jan 27 14:37

    juanfranblanco on 3.6.0

    (compare)

  • Jan 24 16:52

    juanfranblanco on master

    Ignore old block to retrieve er… (compare)

  • Jan 24 13:08

    juanfranblanco on master

    Moving up a version 3.6 (compare)

  • Jan 24 11:35

    juanfranblanco on master

    Estimation check revert message (compare)

  • Jan 17 18:01

    juanfranblanco on master

    Coge generator javascript and n… (compare)

  • Jan 17 12:55

    juanfranblanco on master

    Internal types ABI and Code gen… (compare)

ilson-
@ilson-
@Dave-Whiffin @juanfranblanco Hello! About my problem, March 4 - "SocketException / RpcClientUnknownException / Azure nodes". I tried custom HttpClientHandler, after 2 weeks of using - no errors. Thanks!
var httpClientHandler = new HttpClientHandler { MaxConnectionsPerServer = 10, UseProxy = false };
var rpcClient = new RpcClient(new Uri(currentRpc), null, null, httpClientHandler, log);
_web3 = new Web3(rpcClient);
Juan Blanco
@juanfranblanco
Thanks!! Great feedback really appreciated
@ilson- ^^
Enigmatic
@EnigmaticUnreal_twitter
@FlynnDerek - Heyyy! VB.NET works tremendously well with Nethereum (it is still .NET afterall :D) - Feel free to ping if there are any questions. I use Nethereum all the time on VB, much to some's chagrin wahahaha.
Finally a VB mate. sobs
Enigmatic
@EnigmaticUnreal_twitter
PS: I really should be around more often. Sorry guys.
Juan Blanco
@juanfranblanco
I thought you has plenty VB.net friends at Etherscan, or are we talking just about external :)
Enigmatic
@EnigmaticUnreal_twitter
:D VB mate on the Nethereum gitter :D
Juan Blanco
@juanfranblanco
ahhh :)
Sablin Eduard
@edwardsky
Hello, can i send ETC by Nethereum lib?
Juan Blanco
@juanfranblanco
@edwardsky yes it is the same
Andres G. Aragoneses
@knocte
:like:
Sergio Lopez
@serchlopz_gitlab
Hi everyone! Im ´building asp core api to send rpc, I´m using Nethereum.Quorum, but still not successful, still cannot send my information and it shows me this message "
A connection cannot be established as the destination computer expressly denied that connection. "I am sure my server and port are open, so the question is: do I need something else in my API like a VS nuget? Thanks! greetings.
Dave Whiffin
@Dave-Whiffin
@serchlopz_gitlab Hi there - is possible you can share some of your code? Also what version of Nethereum and .Net are you using?
Sergio Lopez
@serchlopz_gitlab
image.png
@Dave-Whiffin Hi!, im using ASP netcore 3.1, and Nethereum.Quorum 3.7.1
Mainly shows error when trying to unlock node account, I check that my port is actualy listening whit Telnet client
Dave Whiffin
@Dave-Whiffin
@serchlopz_gitlab It does sound like a connectivity issue to the host. I'd be tempted to create a really simple console app with hard coded config and troubleshoot from there. It might not be much help - but here are some tests in the Nethereum code base for Quorum. You could possibly try some of that in your own code to see what works. I am no Quorum expert I am afraid, but this does sound like a connectivity issue which might involve doing some network packet sniffing to isolate. https://github.com/Nethereum/Nethereum/blob/master/src/Nethereum.Quorum.Tests/QuorumChainRpcTests.cs
@juanfranblanco might be able to jump on and help later if you're still stuck.
Sergio Lopez
@serchlopz_gitlab
Thanks @Dave-Whiffin! , Im going to continus checking this trouble
kunalbarchha
@kunalbarchha

@juanfranblanco

I have a question. How do centralized exchanges like Binance handle millions of ETH wallet ? I mean someone is buying and selling ETH everytime. Unlike BTC, ETH doesn't have account system. Every wallet is basically an account.

To put that inperspective, I have 1 ETH and I put a sell order. User B buys my 1 ETH. So basically I do not have any ETH left. As centralized exchanges mainly manages the balance on DB level, I'll still see 1 ETH balance. As actual blockchain transaction didn't take place yet. How do exchanges manage that ? Any help will be appreciated. Also, transferring every single ETH and ERC20 deposit from user's account to exchange's master account is also not feasible due to transaction cost. Is there any solution to this ?

Juan Blanco
@juanfranblanco
@kunalbarchha the normal pattern that I have seen is the following:
First: An Ethereum account it is allocated (created) for your user
Second: There will be a backend processor listening to your account transfers for either Ether or tokens that the exchange support
Once an amount is received the value will be transferred to either a hot wallet or cold wallet for storage
those are owned by the exchange
(same as "your" account)
Third: Your balance will be increased accordingly after a transfer (all this will be recorded in a database)
Fourth: Normal trading, it will at database level, orders, etc, including all normal balances updates.
Juan Blanco
@juanfranblanco
Fifth: When withdrawing the exchange would do a transfer from their hot wallet to the account you nominated
Answering to your question: "Also, transferring every single ETH and ERC20 deposit from user's account to exchange's master account is also not feasible due to transaction cost. Is there any solution to this" that is included as part of the fee structure.
One option would be to have a smart contract (your account created) that automates the transfer on received of Ether or a Token to the hot / cold wallet to "make" the user pay for whole transaction
kunalbarchha
@kunalbarchha
@juanfranblanco Thanks a tonne. The first option that you suggested, was what I was thinking most exchanges might be doing. But yet wanted to confirm from an expert. !
Juan Blanco
@juanfranblanco
I have not developed any exchanges so I am not an expert there, but it seems to be a common pattern.
kunalbarchha
@kunalbarchha
I got an exchange myself, built over Java but my developer has no idea on Eth and ERC20 integration, so I have to do it myself ! Coding is fun and also boring !
Juan Blanco
@juanfranblanco
"Coding is fun and also boring" you are totally right :)
kunalbarchha
@kunalbarchha
Some errors make you question your decision why you chose coding in first place, but when it works as expected it's heaven !
Juan Blanco
@juanfranblanco
yes you are totally right
Emre Erkmen
@emreerkmen
hello everyone, I struggle a problem
ı have a contract and ı call a function which don't change current state of blockchain. I mean it is a view func and calling this take a avarage 1 minute. After that time ı can take return in truffle
Also I use genereta code in nethereum for this contract
Dave Whiffin
@Dave-Whiffin
@emreerkmen Hi there. That sounds odd. Which network are you using?
Emre Erkmen
@emreerkmen
but in nethereum when ı call this func ı can't get return and it's execute very quick
the problem is that the contract func. don't retrun anuthing but ı can take retrun in truffle
Dave Whiffin
@Dave-Whiffin
Are you invoking "SendAndWaitForReceiptAsync"? If so - you are invoking a transaction which will never return a result. Use "CallAsync" or "QueryAsync" instead if it's a query.
Emre Erkmen
@emreerkmen
actually code generation plugin generate "QueryAsync" function for view func. of soldity as you know and ı use this "queryAsync"
Dave Whiffin
@Dave-Whiffin
this is a decent example on the playground. http://playground.nethereum.com/csharp/id/1005
Dave Whiffin
@Dave-Whiffin
@emreerkmen let me know how you get on?
Juan Blanco
@juanfranblanco
@emreerkmen Reading the conversation, so your issue is that this is a very long running computation in solidity, and using Truffle you will get a result after 1 minute, but Nethereum does not return anything?
Actually Nethereum returns straight away?
Is there a chance you can post a sample of that?