Author

Topic: JavaScript library for cryptocurrency address validation (Read 416 times)

brand new
Activity: 0
Merit: 0
Is there any good JS library for cryptocurrency address validation? I've found this one https://github.com/ivands/crypto-address-validator, but it doesn't support a lot of currencies.
also you might be considered name generator for can who was develop new they have frustration to find good name for coin so here is one of the best site they give you name that you might be like https://fantasyname-generator.com/
hero member
Activity: 1582
Merit: 759
I'd use a switch case, and just use different libraries to support different cryptocurrencies. Default to not validating unless a validation library is found.

Personally what I would do is use ognus's library, and try to code the needed languages yourself; or create an issue for missing languages.
https://github.com/ognus/wallet-address-validator

If you're willing to leverage a backend API for validations: (since these things are mostly verified on the backend for enforcement, you may be able to find more).
https://github.com/murich/php-cryptocurrency-address-validation
https://github.com/LinusU/php-bitcoin-address-validator
hero member
Activity: 854
Merit: 658
rgbkey.github.io/pgp.txt
How many currencies are we talking about? If it's not that many, you could probably just write your own library. The checksum or equivalent for most cryptos is not that complicated.
newbie
Activity: 1
Merit: 0
wallet-address-validator
Simple wallet address validator for validating Bitcoin and other altcoins addresses in Node.js and browser.

Forked from ryanralph/altcoin-address.

I forked it to remove all Node.js dependencies (crypro, Buffer etc.) to make it usable in the browser as well. I didn't use browserify to achieve smaller footprint, file size is 4.0 kB (minifed and gzipped).

Installation
Node
npm install wallet-address-validator
Browser

Using bower
bower install wallet-address-validator

Read more : https://www.mytectra.com/python-training-in-bangalore.html
legendary
Activity: 1624
Merit: 2481
You might try this one out: https://github.com/ognus/wallet-address-validator
This one supports 21 currencies (the majority are low cap coins). But this should be enough information to build a libary which meets your requirements.
I'm not sure whether you will find a JS libary with every coin you need.
newbie
Activity: 17
Merit: 0
Is there any good JS library for cryptocurrency address validation? I've found this one https://github.com/ivands/crypto-address-validator, but it doesn't support a lot of currencies.
Jump to: