Skip to content

The Official iOS SDK for Chain's Bitcoin API

License

Notifications You must be signed in to change notification settings

swapniltoo/chain-ios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chain

The Official iOS SDK for Chain's Bitcoin API.

Install

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

pod 'Chain', '0.1.15'

Quick Start

Chain *chain = [Chain sharedInstanceWithToken:@"GUEST-TOKEN"];

NSString *address = @"1A3tnautz38PZL15YWfxTeh8MtuMDhEPVB";

[chain getAddress:address completionHandler:^(NSDictionary *dict, NSError *error) {
  NSLog(@"data=%@ error=%@", dict, error);
}];

Documentation

The Chain API Documentation is available at https://chain.com/docs/ios

Publishing a CocoaPod

$ git tag X.Y.Z
$ git push origin master --tags
$ pod trunk push Chain.podspec

About

The Official iOS SDK for Chain's Bitcoin API

Resources

License

Stars

Watchers

Forks

Packages

No packages published