react-native-blockchain-address-validator

0.1.0 • Public • Published

React Native blockchain address validator

A React-Native-compatible library to validate blockchain addresses. Supports validation for all the major blockchain platforms such as Bitcoin, Ethereum, etc etc.

How to use

Simply import the required validator/s from the library and pass in a string representing the address which has to be validated. The validator returns true on a successful validation, false otherwise.

const {
  validateEthAddress,
} = require("react-native-blockchain-address-validator/validators/eth");

const isEthAddressValid = validateEthAddress("0x...");

Readme

Keywords

none

Package Sidebar

Install

npm i react-native-blockchain-address-validator

Weekly Downloads

2

Version

0.1.0

License

GPL-v3.0

Unpacked Size

98.3 kB

Total Files

8

Last publish

Collaborators

  • fluzzi