{"id":26151047,"url":"https://github.com/coinspace/base58-monero","last_synced_at":"2025-04-14T04:53:18.053Z","repository":{"id":74718430,"uuid":"342360873","full_name":"CoinSpace/base58-monero","owner":"CoinSpace","description":"Base58 Monero style","archived":false,"fork":false,"pushed_at":"2021-07-21T15:12:48.000Z","size":328,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T18:52:41.621Z","etag":null,"topics":["base58","decoding","encoding","monero"],"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/CoinSpace.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":"2021-02-25T19:47:38.000Z","updated_at":"2024-05-31T07:32:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"86a49cc9-6221-4b0d-a4a1-000810d7b374","html_url":"https://github.com/CoinSpace/base58-monero","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoinSpace%2Fbase58-monero","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoinSpace%2Fbase58-monero/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoinSpace%2Fbase58-monero/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoinSpace%2Fbase58-monero/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CoinSpace","download_url":"https://codeload.github.com/CoinSpace/base58-monero/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248824693,"owners_count":21167343,"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":["base58","decoding","encoding","monero"],"created_at":"2025-03-11T06:25:04.815Z","updated_at":"2025-04-14T04:53:18.034Z","avatar_url":"https://github.com/CoinSpace.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# base58-monero\n\n[![Build](https://github.com/CoinSpace/base58-monero/actions/workflows/ci.yml/badge.svg)](https://github.com/CoinSpace/base58-monero/actions/workflows/ci.yml)\n[![Downloads](https://img.shields.io/npm/dm/base58-monero)](https://www.npmjs.com/package/base58-monero)\n[![Version](https://img.shields.io/npm/v/base58-monero?label=version)](https://www.npmjs.com/package/base58-monero)\n[![License](https://img.shields.io/github/license/CoinSpace/base58-monero?color=blue)](https://github.com/CoinSpace/base58-monero/blob/master/LICENSE)\n\nBase58 Monero style.\n\n## Base58 in Monero\n\nMonero has its own variant of Base58.\n\nIn Monero the Base58 encoding is performed in 8-byte blocks, except the last block which is the remaining (8 or less) bytes.\n\nThe 8-byte block converts to 11 or less Base58 characters. If the block converted to less then 11 characters, the output is padded with \"1\"s (0 in Base58). The final block is padded as well to whatever would be the maximum size of this number of bytes encoded in Base58.\n\nThe advantage of Monero implementation is that output is of a fixed size which is not the case with plain Base58. The disadvantage is that default libraries won't work.\n\n# Install\n\n```\nnpm i --save base58-monero\n```\n\n## API\n\n### encode(buffer: Buffer | Uint8Array)\n\nEncode `Buffer` or `Uint8Array` as base58 `string`.\n\n### decode(str: string)\n\nDecode base58 `string` to `Buffer`.\n\n## More\n\n* [reference C++ Base58 implementation](https://github.com/monero-project/monero/blob/master/src/common/base58.cpp)\n\n## Credits\n\n[Coin Crypto Wallet](https://github.com/CoinSpace).\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoinspace%2Fbase58-monero","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoinspace%2Fbase58-monero","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoinspace%2Fbase58-monero/lists"}