{"id":19933956,"url":"https://github.com/k4m4/cryptaddress-validator","last_synced_at":"2025-05-03T12:30:23.836Z","repository":{"id":31719871,"uuid":"128676479","full_name":"k4m4/cryptaddress-validator","owner":"k4m4","description":"Validate Bitcoin, Ethereum, Litecoin \u0026 other popular cryptocurrency addresses.","archived":false,"fork":false,"pushed_at":"2023-01-06T01:33:26.000Z","size":257,"stargazers_count":82,"open_issues_count":6,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-18T13:19:09.309Z","etag":null,"topics":["address","cryptocurrency","cryptocurrency-regex","regex","validation","validator"],"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/k4m4.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-04-08T19:51:48.000Z","updated_at":"2025-04-10T08:56:53.000Z","dependencies_parsed_at":"2023-01-14T19:38:30.879Z","dependency_job_id":null,"html_url":"https://github.com/k4m4/cryptaddress-validator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k4m4%2Fcryptaddress-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k4m4%2Fcryptaddress-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k4m4%2Fcryptaddress-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k4m4%2Fcryptaddress-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k4m4","download_url":"https://codeload.github.com/k4m4/cryptaddress-validator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252190431,"owners_count":21708880,"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","cryptocurrency","cryptocurrency-regex","regex","validation","validator"],"created_at":"2024-11-12T23:15:25.739Z","updated_at":"2025-05-03T12:30:23.573Z","avatar_url":"https://github.com/k4m4.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cryptaddress-validator [![Build Status](https://travis-ci.org/k4m4/cryptaddress-validator.svg?branch=master)](https://travis-ci.org/k4m4/cryptaddress-validator)\n\n\u003e Validate Bitcoin, Ethereum, Litecoin \u0026 other popular cryptocurrency addresses.\n\n\n## Install\n\n```\n~ ❯❯❯ npm install cryptaddress-validator\n```\n\n\n## Usage\n\n```js\nconst cryptaddress = require('cryptaddress-validator');\n\ncryptaddress().test('1Ez69SnzzmePmZX3WpEzMKTrcBF2gpNQ55')\n//=\u003e true\n\ncryptaddress('eth').test('0x281055afc982d96fab65b3a49cac8b878184cb16')\n//=\u003e true\n\ncryptaddress('btc').test('1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp')\n//=\u003e true\n\ncryptaddress('bch').test('LQL9pVH1LsMfKwt82Y2wGhNGkrjF8vwUst')\n//=\u003e false\n\ncryptaddress('md5').test('0x281055afc982d96fab65b3a49cac8b878184cb16')\n//=\u003e 'Unsupported cryptocurrency'\n```\n\n\n## API\n\n### cryptaddress (cryptocurrency)\n\nReturns the regex of the specified cryptocurrency.\n\n#### cryptocurrency\n\nType: `string`\n\nCryptocurrency to build the appropriate validation regex.\n\n\n## Supported Cryptocurrencies\n\n- [`Bitcoin/BTC`](https://github.com/kevva/bitcoin-regex)\n- [`Bitcoin Cash/BCH` (CashAddr addresses)](https://github.com/k4m4/bitcoincash-regex)\n- [`Ethereum/ETH`](https://github.com/k4m4/ethereum-regex)\n- [`Litecoin/LTC`](https://github.com/k4m4/litecoin-regex)\n- [`Monero/XMR`](https://github.com/k4m4/monero-regex)\n- [`Dash/DASH`](https://github.com/k4m4/dash-regex)\n- [`Ripple/XRP`](https://github.com/k4m4/ripple-regex)\n- [`NEO/NEO`](https://github.com/k4m4/neo-regex)\n- [`Dogecoin/DOGE`](https://github.com/k4m4/dogecoin-regex)\n\n\n## Related\n\n- [cryptocurrency-address-detector](https://github.com/k4m4/cryptocurrency-address-detector) - Detect which cryptocurrency an address corresponds to.\n- [cryptaddress.now](https://github.com/k4m4/cryptaddress.now) - Minimal service to detect which cryptocurrency an address corresponds to. \n\n\n## License\n\nMIT © [Nikolaos Kamarinakis](https://nikolaskama.me)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk4m4%2Fcryptaddress-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk4m4%2Fcryptaddress-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk4m4%2Fcryptaddress-validator/lists"}