{"id":18285910,"url":"https://github.com/exodusmovement/bitcoin-seed","last_synced_at":"2025-04-05T08:30:34.979Z","repository":{"id":66093509,"uuid":"58101465","full_name":"ExodusMovement/bitcoin-seed","owner":"ExodusMovement","description":"Generate Bitcoin BIP39 seeds as buffers for control of memory.","archived":false,"fork":false,"pushed_at":"2023-05-12T22:58:58.000Z","size":16,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-03-15T21:48:44.159Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ExodusMovement.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-05-05T03:26:45.000Z","updated_at":"2024-01-23T20:01:18.000Z","dependencies_parsed_at":"2023-07-11T14:34:24.298Z","dependency_job_id":null,"html_url":"https://github.com/ExodusMovement/bitcoin-seed","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExodusMovement%2Fbitcoin-seed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExodusMovement%2Fbitcoin-seed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExodusMovement%2Fbitcoin-seed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExodusMovement%2Fbitcoin-seed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ExodusMovement","download_url":"https://codeload.github.com/ExodusMovement/bitcoin-seed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247311256,"owners_count":20918331,"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":"2024-11-05T13:18:10.119Z","updated_at":"2025-04-05T08:30:34.656Z","avatar_url":"https://github.com/ExodusMovement.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"bitcoin-seed\n============\n\n[![NPM Package](https://img.shields.io/npm/v/bitcoin-seed.svg?style=flat-square)](https://www.npmjs.org/package/bitcoin-seed)\n[![GitHub Actions Build](https://img.shields.io/github/workflow/status/ExodusMovement/bitcoin-seed/CI/master?style=flat-square)](https://github.com/ExodusMovement/bitcoin-seed/actions/workflows/ci.yml?query=branch%3Amaster)\n\n## API\n\n### `fromRandom({ passphrase, entropyFn })`\n\nCreates a random new `seed` instance with optional `passphrase`. If `entropyFn` is passed, it must return a 16-byte random `Buffer`; `crypto.randomBytes(16)` is used by default.\n\n### `fromEntropy(entropy, passphrase)`\n\nReturns a `seed` for the given raw `Buffer` `entropy` and optional `passphrase`.\n\n### `fromMnemonic(mnemonic, passphrase)`\n\nReturns a `seed` for the given `mnemonic` and optional `passphrase`.\n\n### `fromBuffer(buf)`\n\nReturns `seed` from a `buf` generated by `seed.serialize()`\n\n### `isBitcoinSeed(obj)`\n\nReturns whether `obj` looks like a `seed`; this is just basic duck typing.\n\n### `seed.entropy`\n\nRaw `Buffer` entropy of the `seed`.\n\n### `seed.seed`\n\nRaw `Buffer` of the seed.\n\n### `seed.mnemonicString`\n\nString mnemonic representation of the seed's entropy.\n\n### `seed.destroy()`\n\nZero-fills all internal `Buffer`s.\n\n### `seed.isDestroyed`\n\nBoolean property indicating whether `seed.destroy()` has been called on this `seed`.\n\n### `seed.serialize()`\n\nReturn seed encoded as a serialized `Buffer`, which can be passed to `fromBuffer()` to convert it back to a `seed`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexodusmovement%2Fbitcoin-seed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexodusmovement%2Fbitcoin-seed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexodusmovement%2Fbitcoin-seed/lists"}