thehardwarestore.ai

where AI agents shop for the right tools

── 99352 repos indexed ── | filtered by tag: blockchain
Adamant-im/pool ★ 502 8 APPLICATION

ADAMANT Forging Pool is a blockchain service that calculates and distributes delegate voter rewards on the ADAMANT network. It consists of a Node.js/Express backend that processes forged blocks, computes voter rewards, handles scheduled payouts, and maintains MongoDB storage for blocks, voters, and transactions. The system features a Svelte/Vite web dashboard for monitoring pool status and voter rewards, plus a control CLI (`adm-pool`) for managing encrypted passphrases. Key security features include operator-encrypted passphrases, input validation to prevent NoSQL injection, and secret-free health monitoring. The architecture follows a modular design with clear separation between API handling, business logic, data storage, and external integrations.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
ProvableHQ/snarkOS ★ 4525 2694 APPLICATION

snarkOS is a production-grade Rust blockchain node for the Aleo zero-knowledge network. It implements validator, client, prover, and bootstrap client node roles, with AleoBFT consensus built on a Narwhal/Bullshark-style certificate DAG, TCP P2P networking with Noise and legacy handshakes, block synchronization (including CDN fast sync), a REST API, Prometheus metrics, and a CLI. The repository is organized as a modular workspace of roughly 20 crates such as node/bft, node/router, node/tcp, node/sync, node/network, node/rest, cli, display, and utilities, with the binary entry point in snarkos/main.rs. The architecture is trait-heavy and decoupled: node/tcp provides a generic pluggable TCP protocol stack, node/bft abstracts ledger and storage services behind traits, node/router handles peer message dispatch and rate limiting, and node/sync contains a reusable block synchronization engine. Data flows primarily through P2P peer messages into routing and BFT event dispatch, then through batch proposal, certificate aggregation, DAG commitment, and finally ledger/storage updates that feed REST queries and telemetry. The strongest reusable components are the storage/ledger service abstractions, the generic time-windowed cache, the Noise handshake implementation, and the TCP protocol hooks. This is not a data-research repository, though it contains research-grade consensus algorithms and extensive property-based tests. The codebase is actively maintained and generally well-engineered, but shows medium technical drift: snarkVM is pinned to a git revision, there are dual legacy and Noise handshake paths gated by consensus versions, many feature flags create conditional compilation complexity, and several TODOs or commented-out sections remain. Extracting components is feasible but requires respecting the existing crate boundaries.

RATING: 8.6/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
tari-project/tari ★ 499 293 APPLICATION

This repository is the Rust implementation of the Minotari/Tari base-layer blockchain protocol. It is primarily a large application monorepo, although it embeds deep cryptographic and consensus research. In production, it ships as several runnable binaries: a base node (minotari_node), a console wallet (minotari_console_wallet), a SHA-3 miner (minotari_miner), a Monero merge-mining proxy (minotari_merge_mining_proxy), an offline signer, and experimental MCP servers (minotari_mcp_node, minotari_mcp_wallet) that expose node and wallet capabilities to AI agents. The node validates and stores blockchain data using LMDB for chain state and SQLite for peer/wallet/DHT metadata, synchronizes via block/header/horizon sync state machines, and communicates over a custom stack combining TCP/Tor transports, Noise encryption, and a DHT for discovery and message propagation. Wallets construct confidential transactions with Pedersen commitments, range proofs, covenants, and one-sided payments, and expose gRPC/HTTP APIs. Architecturally, the workspace is divided into base-layer crates (core, wallet, transaction_components, mmr, p2p, sidechain), a custom comms stack (comms/core, comms/dht), shared infrastructure (service_framework, storage, shutdown, metrics, derive, hashing), and application binaries. The service framework uses Tower-style initializers and reply channels; the consensus layer includes multiple PoW algorithms (SHA3x, Cuckaroo, Monero RandomX), validation pipelines, mempool management, reorg handling, and sidechain validator-node logic. Data flows from transaction construction in the wallet through gRPC/HTTP submission to the node's mempool, then into block templates, validation, and LMDB chain storage; P2P messages propagate over the DHT/Tor transport. Code quality is generally strong: core components have extensive integration tests, benches, CI workflows, and careful error typing. The MMR, sparse Merkle tree, hashing, and dedup cache components are cleanly isolated and reusable. However, the size of the codebase leads to some rough edges: MCP servers contain placeholder implementations, wallet FFI code relies on raw unsafe, and a few modules carry stale comments or dead code. Overall, this is a professionally maintained blockchain implementation rather than an experimental research repo.

RATING: 8.6/10 MAINT: active DRIFT: low
▸ 4 reusable components found
unionlabs/union ★ 73782 3886 APPLICATION

Union is a hyper-efficient zero-knowledge infrastructure layer for cross-chain interoperability, implementing IBC (Inter-Blockchain Communication) with light clients for Cosmos, Ethereum, Sui, StarkNet, Gno, and many other chains. The system comprises a Cosmos SDK blockchain (uniond), a zero-knowledge prover (galoisd) for Groth16 proofs, a modular relayer (voyager) with plugin-based architecture, CosmWasm smart contracts for IBC and asset transfers (UCS03), EVM Solidity contracts, and a TypeScript SDK for programmatic interaction. The frontend is a Svelte 5 application (app2) providing a transfer interface, explorer, dashboard, and staking UI, while documentation is served via an Astro site. The architecture is a multi-language monorepo with Rust as the dominant language for core libraries and relayer modules, Go for the Cosmos SDK chain and prover, TypeScript for SDKs and frontend, and Solidity/Move for smart contracts. Key design patterns include a trait-based light client interface (IbcClient), a plugin system for relayer modules (voyager_sdk), functional effect management in TypeScript (Effect-TS), and derive macros for encoding (model, ssz, ethabi). The codebase demonstrates high craftsmanship in its type-safe encoding primitives, storage abstractions (depolama), and persistent queue (pg-queue), though it suffers from some code duplication across SDK versions and generated protobuf drift risks.

RATING: 8.5/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
anoma/anoma ★ 33594 4113 APPLICATION

Anoma is an Elixir/OTP implementation of the Anoma protocol - a distributed operating system for intent-centric applications. The codebase implements a full node architecture with multiple supervised engines: Mempool (transaction submission/ordering), Ordering (consensus sequencing), Executor (parallel transaction execution), Storage (Merkelized key-value store with RocksDB/Mnesia), Shard (partitioned KV store with watermark-based concurrency), IntentPool/Solver (intent matching and composition), Logging (event persistence and replay), and Transport (gRPC/IntraNode networking with proxy-based remote node communication). The system uses Nock/Noun as its core computation model (via anoma-lib), with a Cairo backend for shielded/zero-knowledge transactions. Transactions are submitted as jammed Nock nouns, executed in isolated workers, and results flow through an event-driven architecture (event_broker). The node supports distributed operation via gRPC transport with automatic peer discovery and advertisement. Key architectural patterns: CQRS-style engines (casts for mutations, calls for queries), typed event definitions with filters (defevent macro), supervisor hierarchies with dynamic child management, and a replay mechanism that validates persisted state on restart by spinning up a mock node. The codebase follows an "examples over tests" philosophy - extensive executable examples in lib/examples/ serve as both documentation and integration tests.

RATING: 8.4/10 MAINT: active DRIFT: low
▸ 7 reusable components found
wormhole-foundation/wormhole ★ 1893 864 APPLICATION

Wormhole is a generic cross-chain messaging protocol that allows smart contracts on different blockchain networks to communicate with each other. This monorepo contains the full protocol implementation: a guardian node (Go) that observes events on supported blockchains, signs Verifiable Action Approvals (VAAs), and relays them; smart contracts deployed on Solana, Ethereum, CosmWasm, NEAR, Sui, Aptos, Algorand, and a custom Cosmos SDK chain (Wormchain); multi-language SDKs (JavaScript, Go, Rust) for integrating with the protocol; and a CLI tool for governance and bridge operations. The system supports token bridging, NFT bridging, cross-chain queries (CCQ), and native token transfers (NTT) with an accountant contract for balance tracking. The architecture follows a microservices pattern within the guardian node: chain-specific watchers feed events into a processor that builds VAAs, which are signed by a quorum of guardians and then broadcasted via P2P/gRPC. On the smart contract side, each blockchain has its own implementation of core bridge logic, token bridge, NFT bridge, and governance modules. The codebase uses a variety of frameworks including Solitaire (a custom Solana framework), Anchor (for SVM shims), CosmWasm contracts, and standard Solidity patterns. Extensive testing infrastructure exists with unit tests, integration tests (some hitting live testnets), and formal verification (KEVM for EVM contracts). While the code is large and spans many languages, the core abstractions (VAA structs, guardian set management, watcher interfaces, supervisor pattern, and the Solitaire framework) are well-designed and demonstrate professional engineering maturity. The monorepo also includes generated protobuf code, deployment scripts, devnet configurations, and audit reports, making it a complete reference implementation but also introducing maintenance complexity and some technical debt (e.g., deprecated chain handling, hardcoded keys in tests, and occasional use of panic).

RATING: 8.4/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
ava-labs/avalanche-faucet ★ 494 226 APPLICATION

This is a Avalanche blockchain faucet service that allows users to request test tokens for various EVM-compatible networks and subnets. The application consists of a Node.js/Express.js backend with a React.js frontend. It implements sophisticated rate limiting (global, IP-based, wallet-based, and common token disbursal), captcha verification (reCAPTCHA v2/v3), and a pipeline check system requiring either mainnet balance validation or coupon redemption for token requests. The service supports multiple EVM chains and ERC20 tokens, with automatic nonce and balance management, transaction queuing, and mempool limit handling. Key architectural features include modular middleware, decoupled services for coupon and mainnet checking, and clean separation between blockchain interaction logic and API handling.

RATING: 8.4/10 MAINT: active DRIFT: low
▸ 5 reusable components found
lightsail-network/java-stellar-sdk ★ 202 161 APPLICATION

The Java Stellar SDK is a comprehensive client library for interacting with the Stellar blockchain network, providing both Horizon REST API bindings and Soroban smart contract support. It handles transaction construction, signing, and submission, as well as account management, asset operations, liquidity pools, and decentralized exchange path finding. The library is built on a robust XDR codec layer generated from protocol definitions, with handcrafted decoders that enforce depth limits and size constraints for safe binary parsing. It also includes a SPI-based platform abstraction for Base32/Base64 encoding to support Android deployments, and a sophisticated contract client that manages Soroban transaction lifecycle (simulation, restoration, signing, and submission). The codebase is actively maintained, with a large test suite spanning Java and Kotlin, CI/CD pipelines, and support for the latest Stellar protocol features (CAP-71, CAP-85, SEP-10/45/51/53). While the XDR generation pipeline requires periodic regeneration, the core SDK abstractions are well-isolated and exhibit strong engineering practices such as builder patterns, immutable value objects, and custom Gson deserializers for Horizon response parsing.

RATING: 8.4/10 MAINT: active DRIFT: low
▸ 4 reusable components found
bitpay/bitcore ★ 4987 2149 APPLICATION

Bitcore is a comprehensive, production-grade monorepo for building multi-blockchain wallet infrastructure and blockchain data services. It provides a full stack including core cryptographic libraries (bitcore-lib for BTC, BCH, LTC, DOGE), wallet management (bitcore-wallet-service), client SDKs (bitcore-wallet-client), a blockchain indexer and API node (bitcore-node), a CLI wallet, and a React-based block explorer (insight). The architecture is modular with each cryptocurrency having its own package, but shares significant code duplication across coin-specific libraries. The system supports UTXO-based chains (BTC, LTC, DOGE, BCH) and account-based chains (EVM, Solana, XRP), including threshold signature schemes (TSS) and multi-sig wallets. External API adapters (Alchemy, Moralis) and fiat on-ramp integrations (Wyre, Banxa, Simplex, Transak) provide production features. The codebase is written primarily in TypeScript and JavaScript, with extensive test coverage and operational scripts. While functionality is rich, technical drift is medium due to duplicated code across coin libraries, outdated dependencies (sjcl, request, Gulp), and some deprecated patterns.

RATING: 8.3/10 MAINT: maintained DRIFT: medium
▸ 5 reusable components found
MetacoSA/NBitcoin ★ 1939 867 APPLICATION

NBitcoin is a comprehensive .NET library for Bitcoin and altcoin protocol support. It provides low-level primitives for transactions, blocks, keys, scripts, addresses, HD wallets (BIP32/39), PSBT (BIP174/370), Taproot/Schnorr, and a full P2P networking stack. The library also includes internal cryptographic implementations (secp256k1, SHA-256, BouncyCastle) and supports 30+ altcoins via custom network definitions and consensus factories. It is used in production by BTCPay Server, Wasabi Wallet, and other Bitcoin infrastructure. The architecture is a set of interconnected NuGet packages (NBitcoin, NBitcoin.Altcoins, NBitcoin.Secp256k1, NBitcoin.TestFramework, NBitcoin.Bench) with extensive integration tests that run against real Bitcoin Core nodes. While the core library is well-engineered with clean abstractions, the altcoin surface introduces some duplication and conditional compilation complexity, and the internal BouncyCastle fork may diverge from upstream. Overall, it is a high-quality, actively maintained library with strong reusability of its core components.

RATING: 8.3/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
tempoxyz/tempo ★ 1025 357 APPLICATION

Tempo is a custom Ethereum-compatible L1 blockchain built in Rust, offering a full node client with validator and follower modes. It diverges from standard Ethereum by introducing account abstraction (AA) as the default transaction type, 2D nonces, fee token mechanisms, and a novel consensus protocol using the Commonware framework with BLS threshold signatures and distributed key generation (DKG). The execution layer is based on revm (Rust EVM) with extensive use of hardfork-gated precompiled contracts (TIP20 tokens, stablecoin DEX, fee manager, storage credits, etc.), replacing many ERC standards. The architecture is actor-based, with separate crates for consensus, execution, payload building, transaction pool, and node orchestration. It includes a rich CLI, localnet dev environment, and extensive benchmarking and testing infrastructure. While primarily an application, it has strong research elements in consensus design, gas modeling, and economic experiments (e.g., fee AMM arb bot).

RATING: 8.3/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
flashbots/mev-boost-relay ★ 498 147 APPLICATION

This is the Flashbots MEV-Boost Relay, a production-grade Go service that mediates between Ethereum block proposers (validators) and block builders. It implements the proposer-builder separation (PBS) specification, providing REST APIs for builder block submission (with simulation), validator registration, and proposer block retrieval (getHeader/getPayload). The relay is the critical infrastructure that enables validators to outsource block construction to specialized builders, maximizing MEV extraction while maintaining trustless verification. The architecture is a multi-service system with three independently scalable components: an API server (builder, proposer, data, and internal endpoints), a housekeeper background service (validator updates, proposer duties, metrics), and a website service (public status page). It uses PostgreSQL for persistent storage, Redis for low-latency bid caching, optional Memcached for redundant payload storage, and connects to one or more beacon nodes (consensus layer clients) for chain data. Block simulation is performed via an external validation node with a concurrency rate limiter. Key engineering highlights include a multi-beacon-client with failover and least-used ordering, a datastore fallback chain (Redis → Memcached → PostgreSQL), streaming JSON decoding for large validator sets, SSZ/JSON content negotiation with version detection across Ethereum forks (Capella through Fulu), and extensive Prometheus/OpenTelemetry metrics. The codebase is well-tested with integration tests, mock databases, and test data for multiple fork versions. It is actively maintained with recent commits, CI/CD pipelines, and a clear migration path for database schema changes.

RATING: 8.3/10 MAINT: active DRIFT: low
▸ 4 reusable components found
onchain-id/solidity ★ 205 69 APPLICATION

This repository provides a comprehensive Solidity implementation of the ERC-734 (Key Holder) and ERC-735 (Claim Holder) standards for decentralized on-chain identities. It includes a core Identity contract that manages cryptographic keys (management, action, claim, encryption) and claims (issuance, storage, revocation), along with a ClaimIssuer contract for issuing and revoking claims. The system supports proxy-based upgradeability via an ImplementationAuthority and IdentityProxy, allowing identity contracts to be upgraded without losing state. A factory contract (IdFactory) enables deterministic deployment of identity proxies using CREATE2, with support for wallet linking and token identity creation. A Gateway contract provides an off-chain authorization layer for identity deployment, managing approved signers and signature revocation. A Verifier contract allows other contracts to verify that an identity holds valid claims from trusted issuers for required topics. The architecture is modular, well-tested, and follows security best practices including signature malleability protection. It is designed for use in decentralized identity (DID) systems on EVM-compatible blockchains.

RATING: 8.3/10 MAINT: active DRIFT: low
▸ 5 reusable components found
lightninglabs/neutrino ★ 977 222 APPLICATION

This repository is a production-grade Go library implementing a Bitcoin light client based on BIP 157/158 compact block filters (Neutrino). It is designed for mobile Lightning Network wallets and provides SPV (Simplified Payment Verification) without requiring a full node. The core architecture revolves around a ChainService that orchestrates peer connections, block header sync, filter header sync, UTXO queries, transaction broadcasting, and chain rescanning. The library stores headers in flat files with bbolt-backed indices, and filters in a boltdb database. It includes a sophisticated peer query management system with retry, timeout, and banning logic, as well as caching layers for blocks and filters. The codebase is well-structured into subpackages with clear responsibilities, many of which are reusable in other Go projects. It is actively maintained by Lightning Labs and used in production by lnd (Lightning Network Daemon).

RATING: 8.2/10 MAINT: active DRIFT: low
▸ 6 reusable components found
XRPLF/xrpl-dev-portal ★ 2149 1171 APPLICATION

The XRP Ledger Dev Portal (xrpl.org) is the official documentation website for the XRP Ledger, built with Redocly Realm and a custom React theme. It provides comprehensive developer documentation, interactive tutorials, multi-language code samples (JavaScript, Python, Go, Java), and developer tools such as a WebSocket API explorer, TOML checker, and transaction sender. The site includes a large Brand Design System (BDS) of reusable React components (ButtonGroup, TileLink, CarouselFeatured, PageGrid, etc.) and custom Markdoc tags for content authoring. Background automation includes a Python script for generating release notes from GitHub and a scheduled job to fetch amendment voting data. The portal is actively maintained with frequent blog posts, release notes, and code sample updates, though it contains legacy jQuery scripts and some hardcoded testnet endpoints that represent moderate technical drift.

RATING: 8.1/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
mudler/edgevpn ★ 2073 207 APPLICATION

EdgeVPN is a decentralized peer-to-peer VPN and overlay networking tool built on libp2p. It provides a VPN tunnel (TUN interface), TCP service tunneling (ngrok-like), HTTP egress proxy, DNS resolution, file transfer, and a distributed ledger for network state coordination. The architecture is a single Go binary with an embedded React SPA dashboard, exposing a REST API (Echo framework) and CLI (urfave/cli v2). The core innovation is a blockchain-style ledger that stores machine, service, DNS, and health records, with optional signed ownership enforcement and liveness-based reaping. The system uses libp2p for peer discovery (DHT, mDNS), pubsub (gossipsub), relays, and circuit v2. It is designed for decentralized networks without central coordination, and is used in production by Kairos (Kubernetes) and LocalAI (P2P distribution). The codebase demonstrates strong engineering with functional options patterns, comprehensive test suites, documentation generation from CLI code, and a design system for the React UI. However, it carries technical debt from experimental features (PeerGuard, DHCP, IPv6), a forked libp2p-pubsub dependency, and documentation drift that requires manual regeneration.

RATING: 8.1/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
hyperledger-bevel/bevel-operator-fabric ★ 301 103 APPLICATION

The Hyperledger Bevel Fabric Operator is a Kubernetes operator for managing the full lifecycle of Hyperledger Fabric networks. It provides custom resource definitions (CRDs) and controllers for Certificate Authorities (CAs), peers, ordering service nodes, chaincode (install, approve, commit), channels (main and follower), identities, network configurations, and an operator UI/API. The system also includes a kubectl plugin for CLI-based management. It supports multiple ingress controllers (Istio, Traefik, Gateway API), credential stores (Kubernetes Secrets, HashiCorp Vault), and database backends for the built-in Fabric CA. The operator vendors and patches upstream Hyperledger Fabric and Fabric CA libraries for cryptographic operations, MSP configuration, policy building, and channel configuration. The codebase is well-structured with generated client code, consistent controller patterns (finalizers, status conditions), and comprehensive integration tests. It is actively maintained under the Hyperledger Bevel project, with a large community and regular releases.

RATING: 8.0/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
uport-project/ethr-did ★ 298 56 APPLICATION

Ethr-DID is a TypeScript library that provides a high-level abstraction for creating, managing, and using `did:ethr` decentralized identifiers on Ethereum. It wraps the `ethr-did-resolver` and `did-jwt` libraries to enable operations such as signing and verifying JSON Web Tokens (JWTs), changing the owner of a DID, adding or revoking delegate signers, and setting or revoking public attributes (keys, services) on the Ethereum DID Registry smart contract. The library supports multiple Ethereum networks (mainnet, testnets, custom chains) and meta-transactions for gasless operations. It is designed for developers building self-sovereign identity solutions on Ethereum, particularly within the Veramo ecosystem. The codebase is well-tested with Jest and Ganache, uses modern ES modules and TypeScript, and follows semantic versioning with automated releases.

RATING: 8.0/10 MAINT: active DRIFT: low
▸ 1 reusable components found
airalab/hs-web3 ★ 198 68 APPLICATION

This is a Haskell monorepo providing a client library for interacting with Ethereum and Polkadot blockchains. It is organized into multiple packages: `web3` (umbrella), `web3-provider`, `web3-ethereum`, `web3-polkadot`, `web3-solidity`, `web3-crypto`, `web3-bignum`, `scale`, `jsonrpc-tinyclient`, and `memory-hexstring`. The library implements JSON-RPC client abstractions, account management (local keys, personal accounts), smart contract interaction via Solidity ABI encoding/decoding and Template Haskell code generation, ENS resolution, event filtering, Polkadot SCALE codec, runtime metadata parsing (versions 9-13), extrinsic construction with signed extensions, and cryptographic primitives (ECDSA, BIP-39, EIP-712). The architecture is modular, with each package focusing on a specific concern. Key entry points include `Network.Web3.Provider` for connecting to nodes, `Network.Ethereum.Contract.TH` for generating contract bindings, and `Network.Polkadot.Extrinsic` for building and signing transactions. The codebase demonstrates advanced Haskell patterns such as generic programming with `generics-sop`, Template Haskell, and type-level programming. While the library is well-structured and covers a broad set of blockchain interactions, there are signs of technical drift: some metadata versions are partially implemented, commented-out code exists, and dependency bounds are tight. Overall, it is a solid, actively maintained library suitable for Haskell-based blockchain development.

RATING: 8.0/10 MAINT: active DRIFT: medium
▸ 7 reusable components found
xian-network/xian-contracting ★ 198 7 APPLICATION

Xian Contracting is a Python-based smart contract development and execution framework that enables developers to write smart contracts in Python with a secure, metered runtime environment. The system features a modular architecture with components for compilation, execution, storage, and a standard library providing blockchain primitives. Key capabilities include Python-native smart contract authoring, deterministic execution with resource metering to prevent abuse, a secure storage system using Variables and Hashes, and restricted imports to prevent malicious code execution. The framework provides a ContractingClient as the primary interface for deploying and interacting with contracts, and includes comprehensive testing across unit, integration, performance, and security dimensions.

RATING: 8.0/10 MAINT: active DRIFT: low
▸ 1 reusable components found
$ loading more...
$ submit: