Latest 0.1.3
Homepage https://github.com/emmanueltugado/SwiftBTCAddressValidator
License MIT
Platforms ios 10.3
Dependencies CryptoSwift
Authors

Validate Bitcoin addresses in one line!

Install via CocoaPods

pod 'SwiftBTCAddressValidator'

Usage

import SwiftBTCAddressValidator

let validator = BTCAddressValidator()

validator.isValid(bitcoinAddress: "1Q1pE5vPGEEMqRcVRMbtBK842Y6Pzo6nK9") // true
validator.isValid(bitcoinAddress: "1AGNa15ZQXAZUgFiqJ2i7Z2DPU2J6hW62j") // false
validator.isValid(bitcoinAddress: "") // false

Latest podspec

{
    "name": "SwiftBTCAddressValidator",
    "version": "0.1.3",
    "summary": "Bitcoin address validator written in Swift",
    "description": "Validate Bitcoin addresses in one line! Written purely in Swift!",
    "homepage": "https://github.com/emmanueltugado/SwiftBTCAddressValidator",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Emmanuel Tugado": "[email protected]"
    },
    "source": {
        "git": "https://github.com/emmanueltugado/SwiftBTCAddressValidator.git",
        "tag": "0.1.3"
    },
    "platforms": {
        "ios": "10.3"
    },
    "source_files": "SwiftBTCAddressValidator/BTCAddressValidator.swift",
    "dependencies": {
        "CryptoSwift": [
            "~> 0.6.9"
        ]
    },
    "pushed_with_swift_version": "3.1"
}

Pin It on Pinterest

Share This