{"id":13503710,"url":"https://github.com/romanz/electrs","last_synced_at":"2025-05-16T15:07:14.614Z","repository":{"id":38918275,"uuid":"128680988","full_name":"romanz/electrs","owner":"romanz","description":"An efficient re-implementation of Electrum Server in Rust","archived":false,"fork":false,"pushed_at":"2025-04-29T05:59:56.000Z","size":3779,"stargazers_count":1179,"open_issues_count":113,"forks_count":456,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-04-29T06:42:14.507Z","etag":null,"topics":["bitcoin","electrum","electrum-server","indexer","rocksdb","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/romanz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-04-08T20:51:56.000Z","updated_at":"2025-04-29T06:00:01.000Z","dependencies_parsed_at":"2023-10-15T08:31:10.883Z","dependency_job_id":"ba8a88f6-726d-4d87-98cd-daf57b750c09","html_url":"https://github.com/romanz/electrs","commit_stats":{"total_commits":1419,"total_committers":62,"mean_commits":"22.887096774193548","dds":0.2001409443269908,"last_synced_commit":"5e2f86e8f78e892b7bd092e1435c1f517df216b3"},"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romanz%2Felectrs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romanz%2Felectrs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romanz%2Felectrs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romanz%2Felectrs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/romanz","download_url":"https://codeload.github.com/romanz/electrs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254553959,"owners_count":22090417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitcoin","electrum","electrum-server","indexer","rocksdb","rust"],"created_at":"2024-07-31T23:00:43.822Z","updated_at":"2025-05-16T15:07:14.595Z","avatar_url":"https://github.com/romanz.png","language":"Rust","readme":"![Logo](logo/logo.svg)\n\n# Electrum Server in Rust\n\n[![CI](https://github.com/romanz/electrs/actions/workflows/rust.yml/badge.svg)](https://github.com/romanz/electrs/actions)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![crates.io](https://img.shields.io/crates/v/electrs.svg)](https://crates.io/crates/electrs)\n[![gitter.im](https://badges.gitter.im/romanz/electrs.svg)](https://gitter.im/romanz/electrs)\n\nAn efficient re-implementation of Electrum Server, inspired by [ElectrumX](https://github.com/kyuupichan/electrumx), [Electrum Personal Server](https://github.com/chris-belcher/electrum-personal-server) and [bitcoincore-indexd](https://github.com/jonasschnelli/bitcoincore-indexd).\n\nThe motivation behind this project is to enable a user to self host an Electrum server,\nwith required hardware resources not much beyond those of a [full node](https://en.bitcoin.it/wiki/Full_node#Why_should_you_use_a_full_node_wallet).\nThe server indexes the entire Bitcoin blockchain, and the resulting index enables fast queries for any given user wallet,\nallowing the user to keep real-time track of balances and transaction history using the [Electrum wallet](https://electrum.org/).\nSince it runs on the user's own machine, there is no need for the wallet to communicate with external Electrum servers,\nthus preserving the privacy of the user's addresses and balances.\n\n[BTC Prague 2024 dev/hack/day](https://btcprague.com/dev-hack-day/) slides are here: https://bit.ly/electrs\n\n\n## Usage\n\n**Please prefer to use OUR usage guide!**\n\nExternal guides can be out-of-date and have various problems.\nAt least double-check that the guide you're using is actively maintained.\nIf you can't use our guide, please ask about what you don't understand or consider using automated deployments.\n\nNote that this implementation of Electrum server is optimized for **personal/small-scale (family/friends) usage**.\nIt's a bad idea to run it publicly as it'd expose you to DoS and maybe also other attacks.\nIf you want to run a public server you may be interested in the [Blockstream fork of electrs](https://github.com/Blockstream/electrs)\nwhich is better optimized for public usage at the cost of consuming *significantly* more resources.\n\n * [Installation from source](doc/install.md)\n * [Pre-built binaries](doc/binaries.md) (No official binaries available but a beta repository is available for installation)\n * [Configuration](doc/config.md)\n * [Usage](doc/usage.md)\n * [Monitoring](doc/monitoring.md)\n * [Upgrading](doc/upgrading.md) - **contains information about important changes from older versions**\n\n## Features\n\n * Supports Electrum protocol [v1.4](https://electrumx-spesmilo.readthedocs.io/en/latest/protocol.html)\n * Maintains an index over transaction inputs and outputs, allowing fast balance queries\n * Fast synchronization of the Bitcoin blockchain (~6.5 hours for ~504GB @ August 2023) using HDD storage.\n * Low index storage overhead (~10%), relying on a local full node for transaction retrieval\n * Efficient mempool tracker (allowing better fee [estimation](https://github.com/spesmilo/electrum/blob/59c1d03f018026ac301c4e74facfc64da8ae4708/RELEASE-NOTES#L34-L46))\n * Low CPU \u0026 memory usage (after initial indexing)\n * [`txindex`](https://github.com/bitcoinbook/bitcoinbook/blob/develop/ch03_bitcoin-core.adoc#txindex) is not required for the Bitcoin node\n * Uses a single [RocksDB](https://github.com/spacejam/rust-rocksdb) database, for better consistency and crash recovery\n\n## Altcoins\n\nAltcoins are **not supported**!\nForks of Bitcoin codebase that relax the consensus rules (hard forks) are also **not supported**.\n\nYou may be able to find a fork of electrs that does support them, look around or make your own, just don't file issues/PRs here.\n\n## Index database\n\nThe database schema is described [here](doc/schema.md).\n\n## Contributing\n\nAll contributions to this project are welcome. Please refer to the [Contributing Guidelines](CONTRIBUTING.md) for more details.\n\n## Logo\n\n[Our logo](logo/) is generously provided by [Dominik Průša](https://github.com/DominoPrusa) under the MIT license.\nBased on the [Electrum logo](https://github.com/spesmilo/electrum/blob/master/LICENCE)\nand the [Rust language logo](https://www.rust-lang.org/policies/media-guide).\n","funding_links":[],"categories":["Applications","Rust","应用程序 Applications"],"sub_categories":["Blockchain","Cryptocurrencies","加密货币 Cryptocurrencies"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromanz%2Felectrs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromanz%2Felectrs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromanz%2Felectrs/lists"}