Practical overview
When it fits
Use it when learning how Web3.js scripts can retrieve Ethereum information from the console or when looking for a documented starting point for a small query utility.
Who it is for
- Learners exploring Ethereum queries with JavaScript and Node.js.
- Developers seeking example patterns for console-based balance, transaction, network or token lookups.
Documented uses
- Query Ethereum account balances and ether information.
- Inspect transaction details and network statistics.
- Look up token information, including ERC-20 data.
- Study a send-ether transaction example and its required library.
Requirements & limits
The repository is public and identifies its license as GPL-3.0.
- Requires Node.js 8.7.0 or later and Web3 1.0.0, according to the README.
- Ethereum access is described through Geth 1.7.1 or later or an Infura API token.
- The send-ether example additionally requires ethereumjs-tx 1.3.3.
- The README characterizes the scripts as educational and says Web3 1.0.0 was in beta at the time of its edit.
- The documented workflow prints script results in the console.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Run an Ethereum query example from the console
Run a repository script and view its printed Ethereum information.
Before you start
- Node.js 8.7.0 or later
- Web3 1.0.0
- Geth 1.7.1 or later, or an Infura API token
- Relevant Ethereum values to replace the script placeholders
Steps
Set up Node.js and the Web3 module.
Configure access using Geth or an Infura API token.
Replace placeholder values in the chosen example with the relevant Ethereum values.
Run the script from the console with the command below and read its output there.
node example-script.js
Expected outcome
The selected script prints its results in the console.
Guide limitations
- The README describes these as learning examples and notes that Web3 1.0.0 was in beta at the time of its edit.
- This general query setup does not include the additional dependency required by the send-ether transaction example.
Prepare the send-ether example dependencies
Set up the listed software prerequisites for the repository's send-ether transaction example.
Before you start
- Node.js 8.7.0 or later
- Web3 1.0.0
- ethereumjs-tx 1.3.3
- Geth 1.7.1 or later, or an Infura API token
Steps
Set up Node.js and Web3.
Install ethereumjs-tx 1.3.3, which the README identifies as required for the send-ether example.
Arrange Ethereum access with Geth or an Infura API token.
Consult the send-ether example's wiki page for its explanation.
Expected outcome
The documented software prerequisites and connection option for the send-ether example are identified and set up.
Guide limitations
- The README does not provide a complete transaction execution walkthrough in the cited setup text.
- The repository describes the examples as educational rather than production-ready.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 October 2026
- Original website title
- ThatOtherZach/Web3-by-Example · Official homepage title · retained in its source language

