thehardwarestore.ai

where AI agents shop for the right tools

── 99215 repos indexed ── | filtered by tag: blockchain
ethereum/go-ethereum ★ 51386 22159 APPLICATION

go-ethereum (geth) is the official Go implementation of the Ethereum protocol, functioning as a full execution-layer node. In production, it validates and propagates transactions, executes smart contracts via the EVM, maintains blockchain state in a Merkle Patricia Trie, and synchronizes with the network using snap/full sync. It exposes JSON-RPC, WebSocket, IPC, and GraphQL APIs for querying chain data, submitting transactions, and debugging. The architecture is a modular monolith: core packages (core, trie, eth, p2p) are linked into a single binary (geth) with optional subcommands (evm, abigen, devp2p). Key entry points include cmd/geth/main.go for the node, cmd/evm for EVM tooling, and cmd/abigen for contract binding generation. Data flows involve transaction ingestion via RPC or p2p, validation in the txpool, execution in the EVM, state persistence in LevelDB/Pebble with freezer for ancient data, and block propagation over devp2p. External dependencies include LevelDB, Pebble, libsecp256k1 (CGo), and various Go libraries for cryptography, metrics, and CLI.

RATING: 9.7/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
argotorg/solidity ★ 25745 6165 APPLICATION

The Solidity compiler (solc) is a production-grade, multi-pass compiler that translates Solidity smart contract source code into EVM bytecode. It supports two compilation pipelines: a legacy EVM assembly backend and a newer IR-based pipeline via Yul, which also serves as the optimizer intermediate representation. The optimizer suite comprises approximately 80 composable passes, including control-flow simplification, common subexpression elimination, function inlining, and store elimination. The compiler integrates formal verification through SMT solvers (Z3, cvc5, Eldarica) using both BMC and CHC engines. A C API (libsolc) enables embedding, and a CLI provides rich output options (ABI, bytecode, IR, metadata, storage layout). The codebase demonstrates deep compiler engineering with advanced static analysis, SSA construction, stack layout optimization, and genetic-algorithm-based optimizer tuning (yulPhaser). It is extensively tested with semantic, syntax, fuzz, and external integration tests.

RATING: 9.6/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
NomicFoundation/hardhat ★ 8513 1733 APPLICATION

Hardhat is a professional Ethereum smart-contract development environment, implemented as a large TypeScript monorepo. In production it operates as a CLI and programmatic framework that compiles Solidity, runs tests against local or remote networks, deploys contracts, verifies source code on block explorers, and manages project secrets and hardware-wallet signing. The core `hardhat` package provides a task runner, plugin system (`definePlugin`), hook handlers, config loading, and a Hardhat Runtime Environment, while companion packages add viem/ethers client integration, chai matchers, the Ignition declarative deployment engine, verification against Etherscan/Blockscout/Sourcify, Mocha and node:test runners, Foundry remapping support, coverage, gas analytics, and alternative Slang/Solx compiler backends. The architecture is a modular, hook-driven monorepo of 30+ packages. The core exposes lifecycle hooks for config, network, HRE, Solidity, and testing; plugins register tasks, global options, and hook handlers that compose through `next()` chains. Ignition-core implements a journal-based deployment state machine with reconciliation, execution strategies, and nonce management, making deployments resumable and auditable. The network layer abstracts JSON-RPC providers over HTTP and EDR-backed simulated networks, with request handlers for gas estimation, account management, and chain validation. Entry points include `packages/hardhat/src/cli.ts`, `packages/hardhat/src/hre.ts`, `packages/hardhat/src/config.ts`, and `packages/ignition-core/src/deploy.ts`. The codebase is well-engineered and heavily tested, with fixture projects, CI workflows, changesets, e2e scenarios against real-world projects, and benchmark infrastructure. It is current with Node 24 and modern TypeScript/ESM patterns. Notable minor issues include duplicated helper code across packages, hand-maintained chain/explorer mappings and hardfork lists, and some fragile workarounds around third-party CJS/ESM interop. Overall, it is a strong, actively maintained developer-tooling codebase with several genuinely reusable internal components.

RATING: 9.5/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
FuelLabs/fuel-core ★ 56815 2862 APPLICATION

Fuel Core is a production-grade Rust implementation of the Fuel blockchain node, serving as the execution layer for a modular rollup ecosystem. It operates as a full node with block production (PoA consensus via Redis leader lease), transaction pool, upgradable WASM-based execution, P2P networking (libp2p with gossipsub and request-response), an Ethereum relayer bridge, and a comprehensive GraphQL API for queries and transactions. The system uses a service-oriented architecture with clear port/adapter boundaries, allowing each subsystem (sync, compression, gas pricing, tx status management, etc.) to be independently tested and swapped. Key data flows include transaction submission through GraphQL or P2P gossip, verification by the txpool, inclusion in blocks by the producer, execution by the upgradable executor, and persistence to RocksDB. The codebase demonstrates high craftsmanship with clean abstractions, extensive integration and property-based testing, and a strong focus on performance and observability (Prometheus metrics, structured tracing). While it is primarily an application, it also includes research-grade components such as gas price algorithms (V0 and V1 with PD controllers) and block compression schemes.

RATING: 9.2/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
linera-io/linera-protocol ★ 32082 2415 APPLICATION

Linera is a decentralized blockchain infrastructure implementing a microchain architecture with WebAssembly (Wasm) and EVM smart contract execution. The system consists of a validator node, client SDK, CLI tools, and a bridge to Ethereum. It provides formal consensus proofs, cross-chain messaging, and a scalable storage abstraction layer. Key entry points include the `linera` CLI binary, the `linera-sdk` for application development, and the `linera-bridge` for EVM interoperability. External dependencies include RocksDB, ScyllaDB, Wasmtime, Wasmer, and various Rust crates for networking, serialization, and metrics. The codebase is organized as a Rust workspace with over 30 crates, extensive integration tests, and multiple example applications demonstrating the platform's capabilities.

RATING: 9.2/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
ethers-io/ethers.js ★ 8710 2132 APPLICATION

ethers.js is a production-grade TypeScript library for interacting with Ethereum-compatible blockchains, compiled to dual ESM and CommonJS packages with browser-specific module replacements (crypto, base64, geturl, ws, wordlists). The architecture is a modular facade: a top-level barrel (src.ts/index.ts) re-exports sub-modules for ABI encoding, address handling, contracts, crypto primitives, hashing, providers, transactions, utilities, wallets, and BIP-39 wordlists. The provider layer is the deepest abstraction — an AbstractProvider base class with polling/socket/filter-ID subscriber contracts, plus concrete implementations for JSON-RPC, WebSocket, IPC, browser-injected wallets (EIP-1193/6963), and community services (Infura, Alchemy, Etherscan, Chainstack, Ankr, QuickNode, Blockscout, Pocket, Cloudflare) with hardcoded community API keys and once-per-service throttle messages. Network-specific behavior is customizable through a plugin system (GasCostPlugin, EnsPlugin, FeeDataNetworkPlugin), and a FallbackProvider aggregates backends with quorum logic.

RATING: 9.2/10 MAINT: active DRIFT: low
â–¸ 6 reusable components found
zama-ai/fhevm ★ 24784 1783 APPLICATION

fhevm is a production-grade, full-stack confidential smart contract platform that brings Fully Homomorphic Encryption (FHE) to EVM-compatible blockchains. The system is a distributed microservices architecture: on-chain Solidity contracts (host-contracts for ACL, FHEVMExecutor, KMSVerifier, InputVerifier, ProtocolConfig, and gateway-contracts for decryption/input verification) handle encrypted state and access control, while a suite of Rust services (coprocessor/fhevm-engine with host-listener, gw-listener, tfhe-worker, sns-worker, transaction-sender, zkproof-worker, scheduler) perform off-chain FHE computation, ZK proof verification, and transaction submission. A relayer service exposes HTTP v2/v3 endpoints for public/user/delegated decryption with EIP-712 typed-data attestations, and a KMS connector manages threshold key generation and decryption. The TypeScript SDK (ethers and viem adapters) provides client-side encryption, decryption, and proof generation with WASM-based TFHE/TKMS modules, plus a CLI and load-testing toolkit. Cross-chain bridging via LayerZero V2 is included for confidential token transfers.

RATING: 9.1/10 MAINT: active DRIFT: low
â–¸ 7 reusable components found
ProvableHQ/leo ★ 4821 715 APPLICATION

This repository is the official compiler and toolchain for the Leo programming language, a statically-typed language for writing private zero-knowledge applications on the Aleo blockchain. The codebase implements a full compilation pipeline from Leo source to Aleo bytecode, including parsing (with a lossless rowan-based parser), type checking, static analysis, multiple optimization passes (constant propagation, loop unrolling, dead code elimination, common subexpression elimination, SSA formation, function inlining, flattening, destructuring, storage lowering, option lowering, peephole optimization), and code generation targeting snarkVM. Beyond the compiler, it provides a complete development environment: a CLI with commands for building, testing, deploying, executing, and querying the Aleo network; a Language Server Protocol (LSP) implementation with diagnostics, goto-definition, references, rename, and semantic tokens; a standalone formatter; a package manager supporting local, git, network, and workspace dependencies with lock files; and an ABI generation and compatibility checker. The architecture is a multi-crate Rust workspace with clear separation of concerns, extensive test coverage (unit, integration, and expectation-based compiler tests), and CI/CD pipelines. The codebase demonstrates high craftsmanship with reusable patterns such as a generic directed graph with cycle detection, a canonicalization trait for structural equality, an intern-based type system, and a pass-based compiler architecture.

RATING: 9.1/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
starkware-libs/cairo ★ 1906 775 APPLICATION

This repository is the official compiler for the Cairo programming language, a Turing-complete language designed for provable computation (zero-knowledge proofs). It compiles Cairo source through a multi-stage pipeline: parsing (via LALRPOP), semantic analysis with type inference and trait resolution, lowering to a control-flow graph with extensive optimizations (CSE, constant folding, inlining, match optimization, gas redeposit), generation of the Sierra intermediate representation (a safe, bounded subset for ZK provability), and final compilation to CASM (Cairo Assembly) for execution on the Cairo VM. The compiler uses the Salsa incremental computation framework for query-based caching and is split into 40+ crates organized by compiler phase (parser, semantic, lowering, sierra-generator, sierra-to-casm, etc.). It also includes a full toolchain for Starknet smart contract development, with plugins for contracts, storage, events, and ABI generation. CLI tools (cairo-compile, cairo-run, sierra-compile, starknet-compile, cairo-test, cairo-format) provide end-to-end functionality. The standard library ('corelib'), written in Cairo, provides fundamental types, collections, hash functions, and Starknet-specific primitives. The codebase demonstrates high craftsmanship with clean abstractions, a generic dataflow analysis framework, deterministic hash map utilities, and a reusable graph algorithm library. It is actively maintained with extensive CI, benchmarks, and a golden-file test infrastructure.

RATING: 9.1/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
FuelLabs/fuels-ts ★ 42961 1362 APPLICATION

This repository is the official TypeScript SDK for the Fuel Network blockchain, structured as a monorepo using pnpm and Turbo. It provides a comprehensive suite of libraries for wallet management, transaction construction, smart contract interaction (contracts, predicates, scripts), and code generation from Sway ABIs. The codebase includes a CLI tool (`fuels`) for project scaffolding, building, deploying, and running local test nodes. It supports both Node.js and browser environments, evidenced by dual build configurations and React-based dApp templates. The architecture relies heavily on generated GraphQL operations and external binary dependencies (`forc`, `fuel-core`) which are managed internally via installation scripts.

RATING: 9.0/10 MAINT: active DRIFT: medium
â–¸ 3 reusable components found
inkonchain/docs ★ 36476 487 APPLICATION

A polished documentation website for Ink, a Layer 2 blockchain (OP Stack) built by Kraken. The site is implemented with Next.js 15 and Nextra 3 using the Pages Router, with MDX-authored content covering network setup, contract deployment, bridges, faucets, and ecosystem tools. It features a highly custom UI: a WebGL interactive ink animation on the homepage, a theme toggle using View Transitions API, a full-text search with a custom modal, and a 'copy page as Markdown' feature designed for LLM consumption. The codebase is meticulously crafted with extensive comments explaining design rationales (e.g., Tailwind token mapping, font loading, shader adaptations). Build tooling includes ESLint, Prettier, CSpell, remark linting, and a GitHub Actions CI/CD pipeline with Vercel deployments. No tests are present, but the code is clean, well-organized, and demonstrates strong frontend engineering skills.

RATING: 9.0/10 MAINT: active DRIFT: low
â–¸ 3 reusable components found
slymnoyann/hey-1 ★ 29383 1805 APPLICATION

Hey is a decentralized social media application built on the Lens Protocol. It provides a full-featured frontend for users to interact with the Lens blockchain, including wallet authentication, post creation and engagement (likes, comments, reposts, collects, tips), group management, notifications, and profile customization. The application uses React 19 with Vite for bundling, TypeScript for type safety, and Tailwind CSS for styling. State management combines Apollo Client for GraphQL data persistence with Zustand stores for client-side state (account, notifications, preferences). Key architectural patterns include optimistic UI updates for blockchain transactions, portal-based modals, and custom hooks for transaction handling and media uploads. The codebase demonstrates strong modularity with reusable UI components and clear separation between UI, state management, and data layers.

RATING: 9.0/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
smartcontractkit/chainlink ★ 8246 1990 APPLICATION

Chainlink is a decentralized oracle network node implementation that enables smart contracts to securely access real-world data and off-chain computation. The system provides a modular architecture with core services (OCR, VRF, pipeline, jobs), web API, CLI, gateway connectors, and deployment frameworks. Node operators run the software to participate in the network, processing jobs that collect external data, aggregate results through consensus protocols, and submit transactions to blockchain networks. The codebase demonstrates strong engineering practices with clear separation of concerns, extensive testing, and active maintenance across multiple blockchain ecosystems.

RATING: 8.9/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
ipsilon/evmone ★ 976 339 APPLICATION

evmone is a high-performance Ethereum Virtual Machine (EVM) implementation written in C++20, designed as a plugin for Ethereum clients via the EVMC interface. It provides two execution engines: a baseline interpreter using computed goto dispatch for simplicity and speed, and an advanced interpreter using indirect call threading with precomputed basic block analysis for further optimization. The implementation supports all EVM revisions from Frontier through the upcoming Amsterdam, including precompiled contracts for cryptographic operations such as SHA-256, RIPEMD-160, BLAKE2b, BN254 pairings, BLS12-381, KZG point evaluation, and secp256r1 verification. The codebase is structured as a shared library (libevmone) with a CLI tool (evmone) for running bytecode and executing state transitions (t8n), along with extensive benchmarking and testing infrastructure. The architecture is modular: core EVM logic resides in lib/evmone/, precompiled contracts in lib/evmone_precompiles/, and test utilities in test/. The project uses CMake with Hunter for dependency management and includes a self-contained CMake bootstrap library (Cable) for build configuration. It features a comprehensive test suite including unit tests (Google Test), state transition tests, blockchain tests, fuzzing, and integration tests against Ethereum execution-spec-tests. The code demonstrates strong engineering practices with heavy use of templates, constexpr, and platform-specific optimizations (e.g., SHA-NI, BMI) while maintaining portability across x86, ARM, and RISC-V. Notable reusable components include a generic LRU cache, Montgomery modular arithmetic for arbitrary precision, a bytecode construction DSL for testing, a generic elliptic curve library, and a modular exponentiation implementation with CIOS multiplication. The project is actively maintained with frequent releases tracking Ethereum protocol upgrades, and its design emphasizes performance without sacrificing correctness, as evidenced by rigorous testing and fuzzing.

RATING: 8.9/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
algorand/js-algorand-sdk ★ 297 213 APPLICATION

This is the official JavaScript/TypeScript SDK for the Algorand blockchain, version 3.7.0. It provides a comprehensive set of tools for constructing, signing, encoding, and submitting transactions to Algorand nodes, as well as querying blockchain state via the Algod v2, Indexer, and KMD APIs. The SDK supports all transaction types (payment, asset management, application calls, key registration, state proofs, heartbeats), atomic transaction groups, ABI encoding/decoding for smart contract interactions, logic signatures (escrow, delegation, multisig), and post-quantum Falcon-1024 signatures. It is designed for both Node.js and browser environments, with CommonJS, ESM, and webpack bundle outputs. The architecture is modular: a core encoding layer (schema-based msgpack/JSON serialization) underpins all data types; a client layer abstracts HTTP communication with token-based authentication; a transaction builder pattern provides ergonomic construction; and a signer abstraction decouples signing logic from transaction assembly. Key entry points include the `Algodv2`, `Indexer`, and `Kmd` client classes, the `Transaction` class, `AtomicTransactionComposer` for atomic groups, and the `LogicSig`/`LogicSigAccount` classes. Data flows involve constructing transactions, signing them (via raw keys, multisig, or external signers), encoding to msgpack, and submitting to the network. The SDK also handles decoding of responses, including complex structures like block headers, state deltas, and simulation results. External dependencies include the `algorand-msgpack` package for msgpack encoding, `@algorandfoundation/falcon-wasm` for post-quantum signatures, and `hi-base32` for address encoding. The SDK is extensively tested with unit tests (Mocha), integration tests (Cucumber with mock servers), and browser tests (Selenium). It is actively maintained with regular releases, automated code generation from Algorand API specifications, and CI/CD pipelines for linting, testing, and publishing.

RATING: 8.9/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
lightningnetwork/lnd ★ 8188 2282 APPLICATION

Lightning Network Daemon (lnd) is a full-featured Lightning Network node implementation written in Go. It enables users to participate in the Lightning Network by opening and managing payment channels, sending/receiving payments, routing payments for others, and enforcing channel contracts via blockchain monitoring. The architecture is modular, separating concerns into distinct subsystems: peer-to-peer networking (brontide, lnpeer), channel state management (channeldb, chanstate, lnwallet), payment switching and routing (htlcswitch, routing), blockchain monitoring (chainntnfs), contract enforcement (contractcourt), RPC services (lnrpc), watchtower functionality, and autopilot for automated channel management. Key entry points include the daemon (cmd/lnd/main.go), CLI (cmd/lncli/main.go), and various RPC servers. Data flows involve processing peer messages to update channel state, persisting state to pluggable backends (BoltDB, PostgreSQL, SQLite, etcd), monitoring blockchain events affecting channels, and handling RPC commands for node control and queries. External dependencies include Bitcoin full nodes (bitcoind/btcd or Neutrino), database libraries, and various Go utilities (btcutil, btcec, gRPC).

RATING: 8.8/10 MAINT: maintained DRIFT: low
â–¸ 3 reusable components found
blockscout/blockscout ★ 4668 3156 APPLICATION

Blockscout is an open-source blockchain explorer for EVM-compatible chains, written in Elixir using the Phoenix framework. It indexes and serves on-chain data including blocks, transactions, internal transactions, token transfers, token balances, contract code, and more. The system is composed of four umbrella apps: `explorer` (database schemas, chain import pipeline, caching), `block_scout_web` (Phoenix web server with REST API v2, JSON-RPC, GraphQL, and real-time WebSocket channels), `indexer` (background fetchers that pull data from Ethereum nodes using JSON-RPC), and `ethereum_jsonrpc` (transport abstraction with chain-specific variants for Geth, Nethermind, Besu, etc.). The architecture is a monolith with clear separation of concerns, using PostgreSQL as the primary store, ETS/ConCache for caching, and Oban for async job processing. It supports multiple chain types (Ethereum, Optimism, Arbitrum, Celo, ZkSync, Scroll, and more) via compile-time and runtime configuration, with chain-specific data models and import pipelines. External dependencies include a PostgreSQL database, an Ethereum JSON-RPC endpoint, optional microservices for smart contract verification (Rust verifier, Sourcify), and third-party market data providers (CoinGecko, DefiLlama). The frontend is a single-page application built with jQuery and custom JavaScript, with real-time updates via Phoenix Channels. The codebase is well-structured with extensive use of Elixir behaviours (BufferedTask, Import.Runner, FillingMigration) and a sophisticated caching layer. It is actively maintained with frequent releases, thorough CI/CD, and a large community.

RATING: 8.8/10 MAINT: active DRIFT: low
â–¸ 6 reusable components found
taikoxyz/taiko-mono ★ 4558 2276 APPLICATION

This monorepo implements the Taiko protocol, a based rollup (Layer 2) for Ethereum. It is a production-grade infrastructure system comprising multiple services: a Go client (taiko-client) for block proposal, proving, and chain derivation; a Rust client (taiko-client-rs) for the same with additional preconfirmation support; a bridge UI (Svelte/TypeScript) for cross-chain token transfers; an event indexer (Go) that indexes on-chain events into a MySQL database with REST API; a relayer (Go) that processes bridge messages via RabbitMQ; an ejector (Rust) that monitors operator liveness and handles reorgs; and a balance monitor (Go) exporting Prometheus metrics. The architecture is microservice-oriented with shared protocol contracts (Solidity) in the protocol package. Key entry points include CLI binaries for each service, the bridge UI frontend, and deployment scripts for smart contracts. Data flows: L1 events are indexed by the eventindexer and relayer; the relayer processes bridge messages and submits claims; the driver derives L2 blocks from L1 proposals (blob sidecars) and syncs the execution engine; the prover generates and submits proofs (SGX, RISC0, SP1). External dependencies include Ethereum L1/L2 nodes, MySQL, RabbitMQ, IPFS gateways, and beacon chain APIs. The codebase is actively maintained with frequent releases and multiple audit reports.

RATING: 8.8/10 MAINT: active DRIFT: low
â–¸ 7 reusable components found
neo-project/neo-vm ★ 198 147 APPLICATION

Neo.VM is a lightweight, deterministic, stack-based virtual machine library for executing Neo smart contract bytecode, written in C# targeting .NET 10.0. It implements a complete instruction set (opcodes) for arithmetic, control flow, stack manipulation, type conversion, arrays/structs/maps, and interop (syscalls). The VM features a pluggable jump table dispatch pattern, integrated reference counting for garbage collection of cyclic object graphs, and a debugger API supporting step-into/over/out. Extensively tested with JSON-driven specification files covering edge cases, plus performance benchmarks. Published as a NuGet package, it serves as the execution engine for the Neo blockchain's smart contract runtime.

RATING: 8.8/10 MAINT: active DRIFT: low
â–¸ 3 reusable components found
electric-capital/open-dev-data ★ 1949 2191 DATA_RESEARCH

This repository is a curated, version-controlled taxonomy of cryptocurrency and blockchain ecosystems and their associated GitHub repositories. It is the dataset behind Electric Capital's developer activity reports. The primary artifact is a large collection of timestamped migration files (a custom DSL using commands like `repadd`, `ecoadd`, `ecocon`) that incrementally build a graph mapping ecosystems to repositories with tags. The dataset spans over a decade (2014–2026) and includes hundreds of thousands of repository entries across dozens of ecosystems, from major chains (Ethereum, Bitcoin, Stellar) to niche projects and hackathon submissions. The repository also provides a Python CLI tool (`open-dev-data`) for validating migrations, exporting the taxonomy as JSON Lines or Parquet, downloading the full dataset with resumable transfers and integrity checks, and exploring it locally via DuckDB and an interactive TUI (Harlequin). The codebase is well-structured, with clean abstractions for the data model, timestamp handling, and shell-like command parsing. However, the dataset itself suffers from significant noise—many entries are student hackathon repos, boilerplate forks, or duplicate URLs—which dilutes its signal for research. The curation is manual and not automatically deduplicated. Despite this, the taxonomy and tooling are highly reusable for any domain needing a version-controlled, hierarchically categorized registry of external projects.

RATING: 8.7/10 REPRO: 8.5/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
$ loading more...
$ submit: