{"id":27111957,"url":"https://github.com/cryptocoinjs/eip55","last_synced_at":"2025-04-07T01:25:35.751Z","repository":{"id":47524660,"uuid":"112812766","full_name":"cryptocoinjs/eip55","owner":"cryptocoinjs","description":"An EIP55 compatible address encoding library","archived":false,"fork":false,"pushed_at":"2023-05-26T21:06:20.000Z","size":56,"stargazers_count":6,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-13T16:24:14.145Z","etag":null,"topics":["address","checkbits","eip","eip55","encoding","ethereum","javascript"],"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/cryptocoinjs.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":"2017-12-02T04:32:25.000Z","updated_at":"2024-06-18T16:56:35.419Z","dependencies_parsed_at":"2024-06-18T16:56:33.740Z","dependency_job_id":"38b1df28-14a3-4a6e-a625-551233feee60","html_url":"https://github.com/cryptocoinjs/eip55","commit_stats":{"total_commits":21,"total_committers":2,"mean_commits":10.5,"dds":"0.33333333333333337","last_synced_commit":"eb9bb31083265697b9a1a7a94209cc62afe11d43"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptocoinjs%2Feip55","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptocoinjs%2Feip55/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptocoinjs%2Feip55/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptocoinjs%2Feip55/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cryptocoinjs","download_url":"https://codeload.github.com/cryptocoinjs/eip55/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247575673,"owners_count":20960816,"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":["address","checkbits","eip","eip55","encoding","ethereum","javascript"],"created_at":"2025-04-07T01:25:35.132Z","updated_at":"2025-04-07T01:25:35.741Z","avatar_url":"https://github.com/cryptocoinjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eip55\n\n[![build status](https://secure.travis-ci.org/cryptocoinjs/eip55.png)](https://travis-ci.org/cryptocoinjs/eip55)\n[![Version](https://img.shields.io/npm/v/eip55.svg)](https://www.npmjs.org/package/eip55)\n\nAn [EIP55](https://github.com/ethereum/EIPs/blob/f3a591f6718035ba358d6a479cadabe313f6ed36/EIPS/eip-55.md) compatible address encoding library.\n\n\n## Example\n\n``` javascript\nlet eip55 = require('eip55')\n\neip55.encode('0xfb6916095ca1df60bb79ce92ce3ea74c37c5d359')\n// =\u003e 0xfB6916095ca1df60bB79Ce92cE3Ea74c37c5d359\n\neip55.verify('0xAcA128edBD274F2aBa534d67DD55Ebf67767B9A5')\n// =\u003e true\n\neip55.verify('0xaca128edbd274f2aba534d67dd55ebf67767b9a5')\n// =\u003e false\n\n// The second argument of verify allows for single case addresses\n// In this case it will only verify the leading 0x and length\n// therefore the above example returns true instead of false\n\n// lower case\neip55.verify('0xaca128edbd274f2aba534d67dd55ebf67767b9a5', true)\n// =\u003e true\n\n// upper case\neip55.verify('0xACA128EDBD274F2ABA534D67DD55EBF67767B9A5', true)\n// =\u003e true\n\n// EIP-1191 chainId support has been added\n// pass the optional chainId to get the casing for that network\n\n// Encode for RSK Mainnet (chainId 30) (notice the difference from above)\neip55.encode('0xfb6916095ca1df60bb79ce92ce3ea74c37c5d359', 30)\n// =\u003e 0xFb6916095cA1Df60bb79ce92cE3EA74c37c5d359\n\neip55.verify('0xFb6916095cA1Df60bb79ce92cE3EA74c37c5d359')\n// =\u003e false (we need to pass the chainId)\n\n// Note: the second argument is allowOneCase (default: false)\neip55.verify('0xFb6916095cA1Df60bb79ce92cE3EA74c37c5d359', false, 30)\n// =\u003e true\n```\n\n\n## License [MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptocoinjs%2Feip55","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptocoinjs%2Feip55","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptocoinjs%2Feip55/lists"}