CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

SwiftBTCAddressValidator 0.1.3

SwiftBTCAddressValidator 0.1.3

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Sep 2017
SwiftSwift Version 3.1
SPMSupports SPM

Maintained by Emmanuel Tugado.



  • By
  • Emmanuel Tugado

Validate Bitcoin addresses in one line!

import SwiftBTCAddressValidator

let validator = BTCAddressValidator()

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