{"id":19317205,"url":"https://github.com/bithyve/bithyve-wrapper","last_synced_at":"2025-07-27T10:41:48.992Z","repository":{"id":42055597,"uuid":"184265034","full_name":"bithyve/bithyve-wrapper","owner":"bithyve","description":"A server instance that wraps around electrs","archived":false,"fork":false,"pushed_at":"2022-06-16T07:32:39.000Z","size":196,"stargazers_count":6,"open_issues_count":4,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-02T02:04:32.885Z","etag":null,"topics":["bitcoin","bithyve","electrs","go","hexa"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bithyve.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-30T13:15:45.000Z","updated_at":"2022-12-10T19:42:41.000Z","dependencies_parsed_at":"2022-08-12T03:31:31.627Z","dependency_job_id":null,"html_url":"https://github.com/bithyve/bithyve-wrapper","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bithyve%2Fbithyve-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bithyve%2Fbithyve-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bithyve%2Fbithyve-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bithyve%2Fbithyve-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bithyve","download_url":"https://codeload.github.com/bithyve/bithyve-wrapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250287405,"owners_count":21405607,"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","bithyve","electrs","go","hexa"],"created_at":"2024-11-10T01:14:12.866Z","updated_at":"2025-04-22T17:30:46.656Z","avatar_url":"https://github.com/bithyve.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BitHyve Wrapper\n\nBitHyve wrapper is a server instance that wraps around [electrs](https://github.com/Blockstream/electrs) to provide some additional functionality on top of electrs as required by [hexa](https://github.com/bithyve/hexa)\n\n## Prerequisites for running BitHyve Wrappe\n\nBitHyve Wrapper requires **electrs** (https://github.com/Blockstream/electrs) and electrs requires a **Bitcoin Core** (v0.16+)\n\n**Bitcoin Core daemon**\n\nBitcoin Core can be downloaded from https://bitcoincore.org/en/download/ \n\nDetailed instructions on installing, configuring and running Bitcoin Core as daemon are available here  https://bitcoin.org/en/full-node\n\n**Electrs**\n\nElectrs can be installed from https://github.com/Blockstream/electrs\n\nPlease follow the instructions here https://github.com/Blockstream/electrs#installing--indexing for help in installing and setting up electrs.\n\n## Installing and running BitHyve Wrapper\n\n1. Install golang (replace 1.15.4 with your favorite version)\n\n```\nwget https://dl.google.com/go/go1.15.4.linux-amd64.tar.gz\nsudo tar -xvf go1.15.4.linux-amd64.tar.gz\nsudo mv go /usr/bin/\n```\n\n2. Update path\n\n```\nexport GOROOT=/usr/bin/go\nexport GOPATH=$HOME/go\nexport PATH=$GOPATH/bin:$GOROOT/bin:$PATH\n```\n\n3. Download and build\n\n```\ngo get github.com/bithyve/bithyve-wrapper\ncd ~/go/src/github.com/bithyve/bithyve-wrapper\ngo get ./...\ngo build\n```\n\n4. Run the wrapper\n   - Before running the wrapper please ensure that Bitcoin Core daemon and electrs have been setup and and are running as these are required for BitHyve Wrapper.\n   - You would need to know the ip number of the machine/server runnig the BitHyand port number where you are running \n\n```\nsudo screen -SL wrapper ./bithyve-wrapper -m\n```\n\n5. Ensure your server accepts http traffic\n\n```\nsudo screen -SL socat80 socat tcp-listen:80,reuseaddr,fork tcp:localhost:3001\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbithyve%2Fbithyve-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbithyve%2Fbithyve-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbithyve%2Fbithyve-wrapper/lists"}