{"id":16086607,"url":"https://github.com/emaringolo/pharo-bip39mnemonic","last_synced_at":"2025-09-29T08:30:41.113Z","repository":{"id":30278610,"uuid":"123792295","full_name":"eMaringolo/pharo-bip39mnemonic","owner":"eMaringolo","description":"Simple implementation of Bitcoin's BIP39 mnemonic and seed generator","archived":false,"fork":false,"pushed_at":"2022-06-17T21:25:48.000Z","size":36,"stargazers_count":8,"open_issues_count":1,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-12T05:03:04.526Z","etag":null,"topics":["bitcoin","pharo","smalltalk"],"latest_commit_sha":null,"homepage":null,"language":"Smalltalk","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/eMaringolo.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":"2018-03-04T13:41:47.000Z","updated_at":"2022-03-19T07:26:42.000Z","dependencies_parsed_at":"2022-09-03T07:03:03.421Z","dependency_job_id":null,"html_url":"https://github.com/eMaringolo/pharo-bip39mnemonic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eMaringolo%2Fpharo-bip39mnemonic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eMaringolo%2Fpharo-bip39mnemonic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eMaringolo%2Fpharo-bip39mnemonic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eMaringolo%2Fpharo-bip39mnemonic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eMaringolo","download_url":"https://codeload.github.com/eMaringolo/pharo-bip39mnemonic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234600984,"owners_count":18858546,"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","pharo","smalltalk"],"created_at":"2024-10-09T13:24:34.429Z","updated_at":"2025-09-29T08:30:35.818Z","avatar_url":"https://github.com/eMaringolo.png","language":"Smalltalk","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pharo-bip39mnemonic\nSimple implementation of Bitcoin's BIP39 mnemonic and seed generator using the [reference implementation](https://github.com/trezor/python-mnemonic) as guide.\n\n*Personal disclaimer*: This is a personal experimentation to learn by practice how the entropy, mnemonic, seeds, etc., works internally. It includes passing tests taken from the reference implementation as well (vectors, checksum, instantiation from different sources, languages, etc.).\n\n## Installation\n\nRun:\n```Smalltalk\nMetacello new \n  baseline: 'BIP39Mnemonic'; \n  repository: 'github://eMaringolo/pharo-bip39mnemonic/src'; \n  load.\n```\n\n## Examples\n\n\n### Creating a new one\n```Smalltalk\n| m |\n\"Creating a mnemonic from Pharo's weak PRNG\" \nm := BIP39Mnemonic generate.\n\n\"Getting its mnemonic words\"\nm words. \"#('argue' 'snap' 'this' 'common' 'cube' 'length'\n            'abandon' 'abandon' 'abandon' 'abandon' 'abandon' 'ability')\"\n\n\"Generating a seed with \nm seedForPassphrase: 'Pharo'.  \"'154ad96ab7ad44d2c47beb3801e278b37b82fe9fc3...'\"\n```\n\n### Instantiating from existing words\n```Smalltalk\nBIP39Mnemonic fromWords: 'legal winner thank year wave sausage worth useful legal winner thank yellow'.\n\nBIP39Mnemonic fromWords:  #('legal' 'winner' 'thank' 'year' 'wave' 'sausage' \n                             'worth' 'useful' 'legal' 'winner' 'thank' 'yellow')\n ```\n \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femaringolo%2Fpharo-bip39mnemonic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femaringolo%2Fpharo-bip39mnemonic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femaringolo%2Fpharo-bip39mnemonic/lists"}