MultiversX Tracker is Live!

Is Nethereum's GetContractQueryHandler decentralized? If not what's a decentralized alternative for C#?

Etherum Reddit

More / Etherum Reddit 87 Views

I have an app I'm building that MUST be 100% decentralized. The app is in C# so Nethereum looked like the most trusted ethereum package for C#. The docs provide this example of how to get the NFT balance of a particular address http://docs.nethereum.com/en/latest/Nethereum.Workbooks/docs/nethereum-managed-accounts.workbook/.

var balanceOfFunctionMessage = new BalanceOfFunction() { Owner = account.Address, }; var balanceHandler = web3.Eth.GetContractQueryHandler<BalanceOfFunction>(); var balance = await balanceHandler.QueryAsync<BigInteger>(contractAddress1, balanceOfFunctionMessage); 

Is this decentralized? I don't see how this could work without calling out to a URL for a Geth node which I believe would make the NFT balance query centralized. I'm hoping that this process is somehow decentralized. Maybe Nethereum reaches out to get the balance of several nodes in a decentralized way without going through a singular gateway? Can someone please tell me how decentralized or centralized Nethereum's method of querying the NFT balance is?

If the code in the Nethereum docs example that I provided is not decentralized. Could you provide me with the most decentralized alternative?

submitted by /u/warpanomaly
[link] [comments]
Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments