Ethereum
Ethereum is a leading blockchain network and a global, open-source platform for decentralized applications. Ethereum allows developers to build smart contract enabled applications.
How to get connected to Ethereum
Nodesmith is a drop-in replacement for a local Ethereum Node. You won’t have to change any of your code other than a single configuration that points your application to Nodesmith rather than a local node (or another provider).
You’ll be able to take full advantage of the speed, scalability, and reliability of Nodesmith—all while using the same APIs and libraries you’re familiar with.
javascript
const Web3 = require('web3');
// Create our web3 instance pointing to Nodesmith
const web3 = new Web3(new Web3.providers.HttpProvider(
'https://ethereum.api.nodesmith.io/v1/mainnet/jsonrpc?apiKey=YOUR_API_KEY'
));
const interestingAccount = '0xab5801a7d398351b8be11c439e05c5b3259aec9b';
// Use the web3 instance to get an account's balance
web3.eth.getBalance(interestingAccount).then((balance) => {
console.log('Balance is ' + balance);
});
Building on Ethereum with Nodesmith
Nodesmith makes it super simple to get connected to the Ethereum network, allowing you to stop worrying about infrastructure and start building.
- Compliant JSON RPC API
- Full network state cached
- Scalable & Reliable
- Stable WebSockets and filter support
Learn how Ethereum works with Nodesmith
Documentation
Standard Endpoints
Nodesmith's API is compliant with the standard Ethereum JSON RPC interface — we think it’s critically important for developers to have multiple options when it comes to node providers — including the ability to always switch back to a local node with a single config change.