{"id":19352205,"url":"https://github.com/you21979/node-slip0013","last_synced_at":"2026-04-27T18:34:46.624Z","repository":{"id":57363263,"uuid":"171409141","full_name":"you21979/node-slip0013","owner":"you21979","description":"implements  SLIP-0013 : Authentication using deterministic hierarchy","archived":false,"fork":false,"pushed_at":"2019-02-20T08:09:17.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-28T12:40:58.875Z","etag":null,"topics":["bitcoin","bitid","challenge-response","slip0013"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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}},"created_at":"2019-02-19T05:10:54.000Z","updated_at":"2019-02-20T08:14:54.000Z","dependencies_parsed_at":"2022-09-06T21:25:05.931Z","dependency_job_id":null,"html_url":"https://github.com/you21979/node-slip0013","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/you21979/node-slip0013","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/you21979%2Fnode-slip0013","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/you21979%2Fnode-slip0013/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/you21979%2Fnode-slip0013/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/you21979%2Fnode-slip0013/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/you21979","download_url":"https://codeload.github.com/you21979/node-slip0013/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/you21979%2Fnode-slip0013/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32349836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T17:12:42.749Z","status":"ssl_error","status_checked_at":"2026-04-27T17:12:41.658Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","bitid","challenge-response","slip0013"],"created_at":"2024-11-10T04:38:30.413Z","updated_at":"2026-04-27T18:34:46.605Z","avatar_url":"https://github.com/you21979.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-slip0013\n\n## implements SLIP-0013 : Authentication using deterministic hierarchy\n\nhttps://github.com/satoshilabs/slips/blob/master/slip-0013.md\n\n## implements bitID\n\nhttps://github.com/bitid/bitid/blob/master/BIP_draft.md\n\n\n# install\n\n```\nnpm i slip0013\n```\n\n# sample\n \n## additional install\n\n```\nnpm i bip39 bitcoinjs-lib bitcoinjs-message\n```\n\n## bitid sample code\n\n```\nconst slip13 = require(\"slip0013\")\nconst bip39 = require(\"bip39\")\nconst bip32 = require(\"bip32\")\nconst bitcoin = require(\"bitcoinjs-lib\")\nconst bitcoinMessage = require('bitcoinjs-message')\n\nconst main = (mnemonic, password, uri) =\u003e {\n    const seed = bip39.mnemonicToSeed(mnemonic, password);\n    const masternode = bip32.fromSeed(seed);\n    const info = slip13.bitid.parseUri(uri)\n    const node = slip13.bitid.derive(masternode, info.resolve_uri);\n    const address = bitcoin.payments.p2pkh({ pubkey: node.publicKey }).address\n\n    const signature = bitcoinMessage.sign (info.message_uri, node.privateKey, true)\n    console.log(info)\n    console.log(address)\n    console.log(signature.toString(\"base64\"))\n}\nconst uri = \"bitid://bitid-demo.herokuapp.com/callback?x=32b5640fdec1e804\u0026u=1\"\nconst mnemonic = \"inhale praise target steak garlic cricket paper better evil almost sadness crawl city banner amused fringe fox insect roast aunt prefer hollow basic ladder\";\nconst password = \"\"\nmain(mnemonic, password, uri)\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyou21979%2Fnode-slip0013","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyou21979%2Fnode-slip0013","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyou21979%2Fnode-slip0013/lists"}