20

Is there a C# / .NET / Mono implementation available for Ethereum to interact with nodes and/or the blockchain?

1
  • I am just wondering . there is no example to connect with Ethereum pool with c#. I have question and no answering yeat. if I want to connect to Ethereum pool with c# is it RPC connection or what do I need to parsing hash or the pool will assign it to you . I want to understand what is the server behavior
    – BackToLife
    May 7, 2021 at 21:50

5 Answers 5

17

You can try Nethereum, it's available on GitHub. Try it on the Nethereum Playground.

It provides all the generic Web3 functionality to interact with Ethereum like:

  • JSON RPC methods
  • Contract deployment
  • Function call / transaction sending (encoding / decoding parameters)
  • Event filtering creation (encoding of parameters / decoding of topics)

Plus much more.

4
  • 1
    Its important to note that Nethereum is a web3 implementation in C#, which is fantastic. Where as the other two mentioned below were attempts to build the entire Ethereum protocol / blockchain in C# which is a much more daunting task.
    – slothbag
    Mar 1, 2016 at 10:43
  • I don't believe there is, as of now, a compelling need to create a full ethereum implementation in .net. That was my original intention, and I might do it some time after Casper / Sharding is implemented. Well maybe a front of end of a Dapp using UWP or Xamarin which does not rely on a client like geth or eth. Mar 4, 2016 at 10:03
  • But on those scenarios you will want a light client and don't have to download the whole chain. Mar 4, 2016 at 10:18
  • Have a look at the Nethermind project, it is a full client with EVM, currently (May 2018) test-syncing with Ropsten and actively developed. You can find the source code at github.com/tkstanczak/nethermind May 9, 2018 at 12:23
4

Microsoft came up with plugin for smart contract development using Solidity in Visual Studio.

https://visualstudiogallery.msdn.microsoft.com/96221853-33c4-4531-bdd5-d2ea5acc4799/

You can develop Ethereum smart contracts using Solidity and deploy to Testing network of Ethereum Blockchain, where you will get around 1000 dumy ETH to test your application.

3

I found these two on GitHub:

cs-ethereum and Ethereum.NET.

I haven't tried them out and they look like they've been inactive for quite a while.

2

Nethermind is a full .NET Core implementation

You can download Nethermind from here https://github.com/NethermindEth/nethermind/releases It works with mainnet, rinkeby, goerli, ropsten and private chains.

Give us a shout on gitter if need any guidance https://gitter.im/nethermindeth/nethermind

-2

Stratis

Native #C

Essentially a copy of ethereum but learning from their mistakes in terms of coding language picked and scalability.

https://stratisplatform.com/

1
  • The website does not appear to mention Ethereum and its relevance is uncertain.
    – eth
    Jul 29, 2017 at 5:09

Not the answer you're looking for? Browse other questions tagged or ask your own question.