flutter_wallet_validator library
A library for validating cryptocurrency wallet addresses.
Provides functionality to validate addresses across multiple blockchain networks including Bitcoin, Ethereum, and other major cryptocurrencies.
Example:
final result = validateWalletAddress('0x742d35Cc6634C0532925a3b844Bc454e4438f44e');
print(result.isValid); // true
print(result.network); // 'ETH'
Classes
- NetworkInfo
- Information about a blockchain network and address validation results.
- ValidationOptions
- Configuration options for wallet address validation.
Functions
-
validateWalletAddress(
String? address, {ValidationOptions options = const ValidationOptions(), bool forceChecksumValidation = false}) → NetworkInfo - A function that validates blockchain wallet addresses and returns network information.