{"id":13709338,"url":"https://github.com/you21979/node-electrum-client","last_synced_at":"2025-04-07T07:11:20.419Z","repository":{"id":44424113,"uuid":"95083229","full_name":"you21979/node-electrum-client","owner":"you21979","description":"Electrum Client for node.js","archived":false,"fork":false,"pushed_at":"2023-11-01T11:53:44.000Z","size":93,"stargazers_count":34,"open_issues_count":10,"forks_count":123,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-31T05:06:29.395Z","etag":null,"topics":["bitcoin","client","electrum"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/you21979.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2017-06-22T06:40:36.000Z","updated_at":"2025-03-15T20:58:46.000Z","dependencies_parsed_at":"2024-06-18T14:04:50.518Z","dependency_job_id":"6efc87b1-87c1-44e7-8299-a920ca9a0cff","html_url":"https://github.com/you21979/node-electrum-client","commit_stats":{"total_commits":39,"total_committers":4,"mean_commits":9.75,"dds":"0.15384615384615385","last_synced_commit":"d54b794583a81b09bbe377fb8acadb2b68be5e86"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/you21979%2Fnode-electrum-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/you21979%2Fnode-electrum-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/you21979%2Fnode-electrum-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/you21979%2Fnode-electrum-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/you21979","download_url":"https://codeload.github.com/you21979/node-electrum-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247608151,"owners_count":20965952,"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","client","electrum"],"created_at":"2024-08-02T23:00:38.286Z","updated_at":"2025-04-07T07:11:20.397Z","avatar_url":"https://github.com/you21979.png","language":"JavaScript","funding_links":[],"categories":["Libraries"],"sub_categories":["Applications"],"readme":"# node-electrum-client\n\nElectrum Protocol Client for Node.js\n\n## what is this\n\nhttps://electrum.org/\n\nelectrum is bitcoin wallet service.  \nThis is a library of Node.js that can communicate with the electrum(x) server.  \n\n## install\n\n```\nnpm i electrum-client\n```\n\n## spec\n\n* TCP / TLS\n* JSON-RPC\n* Subscribe Message\n* High Performance Message\n* no dependency for other library\n\n## protocol spec\n\n* https://electrumx.readthedocs.io/en/latest/PROTOCOL.html\n\n## usage\n\n```\nconst ElectrumCli = require('electrum-client')\nconst main = async () =\u003e {\n    const ecl = new ElectrumCli(995, 'btc.smsys.me', 'tls') // tcp or tls\n    await ecl.connect() // connect(promise)\n    ecl.subscribe.on('blockchain.headers.subscribe', (v) =\u003e console.log(v)) // subscribe message(EventEmitter)\n    try{\n        const ver = await ecl.server_version(\"2.7.11\", \"1.0\") // json-rpc(promise)\n        console.log(ver)\n    }catch(e){\n        console.log(e)\n    }\n    await ecl.close() // disconnect(promise)\n}\nmain()\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyou21979%2Fnode-electrum-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyou21979%2Fnode-electrum-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyou21979%2Fnode-electrum-client/lists"}