Other ways to interact with your contract
Web3JS is a great library to use in your decentralized application. You can also use the JSON-RPC API to directly interact with the blockchain. Since the ecosystem is open source, there are some well-maintained libraries built around Ethereum, and you can use them in your application to interact with the network.
In this recipe, you will learn about some alternatives to web3.js that can be used to interact with Ethereum.
Getting ready
You need to have a fully functioning Ethereum node to test these APIs. You can use geth, Parity, or event Ganache to test your code. You may find other dependencies to install as you progress through this recipe.
How to do it...
There are several alternatives to web3.js
, and we will mainly focus on Nethereum and Web3J.
Nethereum
Nethereumis a .NET library for Ethereum, which allows interaction with Ethereum nodes, both public and permission-based, in a similar way to geth, Parity, or Quorum.
- Install Nethereum in Windows using...