SVBlockchain 1.2.1

SVBlockchain 1.2.1

Maintained by Sushant Verma.



 
Depends on:
SwiftyJSON~> 4.2
CrossroadRegex~> 1.1.0
 

  • By
  • Sushant Verma

SVBlockchain

Travis Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Supported coins / blockchains

Currently the following blockchain coins are supported

  • Bitcoin
  • Litecoin
  • Etherium
  • Etherium Classic
  • Ripple
  • Bitcoin Cash

Usage

Simple to use!...

let service = BitcoinService()

service.coinsForAddress(address: "1DECAF2uSpFTP4L1fAHR8GCLrPqdwdLse9", withCallback: { (number) in
// 'number' constains the balance for this bitcoin
})

for for assistance see Tests.swift in the example pod

Installation

SVBlockchain is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'SVBlockchain'

Author

Sushant Verma

License

SVBlockchain is available under the MIT license. See the LICENSE file for more info.