Node.js

A cross-platform JavaScript runtime for running server-side apps, widely used to build blockchain services, APIs, and crypto tooling.

Node.js is a cross-platform, open-source JavaScript runtime that lets developers run JavaScript outside the browser, most commonly on servers. In crypto, Node.js is frequently used to build backend services and developer tools that interact with blockchains, even though it is not the same thing as a “node” in a blockchain network.

Node.js vs. a blockchain node

A blockchain node is a computer running blockchain software that connects to other peers, validates and relays data, and maintains the network’s shared ledger. Node.js, by contrast, is an application runtime. You might use Node.js to write software that talks to a blockchain node through RPC endpoints, subscribes to events, or indexes blocks, but Node.js itself is not what makes a device a blockchain node.

Common crypto uses for Node.js

Because many Web3 libraries are written in JavaScript or TypeScript, Node.js is a natural fit for building crypto infrastructure. Teams use it to run API servers for wallets and exchanges, create monitoring bots that track on-chain activity, and develop indexers that process blocks and transactions to power dashboards and analytics. For example, a service might use Node.js to watch a smart contract’s event logs and notify users when a transfer occurs, or to assemble and submit transactions to a network via a provider.

Cryptography in Node.js

Node.js includes built-in cryptographic capabilities through the node:crypto module, which provides wrappers around OpenSSL primitives like hashing, HMAC, encryption and decryption, and signing and verification. While production wallet key management requires careful security design, these primitives are useful for tasks such as hashing data, verifying signatures, and implementing authentication for crypto-facing applications.
Understanding Node.js matters in the crypto ecosystem because a large portion of Web3 infrastructure, from developer tooling to exchange backends, relies on reliable server-side JavaScript to connect applications to blockchain networks.