{"id":27259553,"url":"https://github.com/coolcode/crypto-geek-js","last_synced_at":"2025-07-07T00:36:22.455Z","repository":{"id":243526412,"uuid":"812653659","full_name":"coolcode/crypto-geek-js","owner":"coolcode","description":"Bitcoin Geek Scripts","archived":false,"fork":false,"pushed_at":"2024-06-16T13:43:28.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T04:06:08.248Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coolcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-06-09T14:03:31.000Z","updated_at":"2024-06-16T13:43:30.000Z","dependencies_parsed_at":"2024-06-13T15:13:34.076Z","dependency_job_id":null,"html_url":"https://github.com/coolcode/crypto-geek-js","commit_stats":null,"previous_names":["coolcode/crypto-geek-js"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolcode%2Fcrypto-geek-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolcode%2Fcrypto-geek-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolcode%2Fcrypto-geek-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolcode%2Fcrypto-geek-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coolcode","download_url":"https://codeload.github.com/coolcode/crypto-geek-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248339281,"owners_count":21087215,"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":[],"created_at":"2025-04-11T04:06:13.346Z","updated_at":"2025-04-11T04:06:14.016Z","avatar_url":"https://github.com/coolcode.png","language":"TypeScript","readme":"# Crypto Geek JS\n\n## Examples\n\n### BTC HD Wallet\n\nThis example aims to generate a Bitcoin address using multiple methods and verify if they produce the same one.\n\n```javascript\n\n  const mnemonic = '...'\n  const purpose = \"86\" //BIP44 (44), segwit (49), Native segwit (84), Bitcoin taproot (86)\n  const network = bitcoin.networks.bitcoin\n  const wallet = new BitcoinWallet(mnemonic, purpose, network)\n  const account = wallet.createAccount() \n  const keyPair = bip32.fromPrivateKey(account.privateKey, Buffer.alloc(32), network)\n  const { address } = bitcoin.payments.p2tr({\n    internalPubkey: toXOnly(keyPair.publicKey),\n    network\n  })\n\n```\n\n## Quickstart\n\nTo install dependencies:\n\n```bash\nbun i\n```\n\nTo run an example:\n\n```bash\nbun run examples/taproot.example.ts\n```\n\nTo run tests:\n\n```bash\nbun test\n```\n\nThis project was created using `bun init` in bun v1.0.2. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolcode%2Fcrypto-geek-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoolcode%2Fcrypto-geek-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolcode%2Fcrypto-geek-js/lists"}