项目作者: MassClarity

项目描述 :
General purpose library in Swift for eos blockchains.
高级语言: Swift
项目地址: git://github.com/MassClarity/eosSwift.git
创建时间: 2018-07-25T17:01:46Z
项目社区:https://github.com/MassClarity/eosSwift

开源协议:MIT License

下载


eosSwift

General purpose library for EOSIO blockchains.

Usage

  • Install with: pod install

To integrate eosSwift into your Xcode project using CocoaPods, specify it in your Podfile:

  1. source 'https://github.com/CocoaPods/Specs.git'
  2. platform :ios, '10.0'
  3. use_frameworks!
  4. target '<Your Target Name>' do
  5. pod 'eosSwift'
  6. end

Then, run the following command:

  1. $ pod install

Example

  1. let keys = Keypair(public: "EOS7T6u2oz32DsmMKU", private: "5KUvbu53Ad4wHLFpaS")
  2. let manager = NetworkManager(url: "https://eos.massclarity.com" , keys: keys)
  3. manager.getChainInfo() { info, error in
  4. if error = error {
  5. debugPrint(error)
  6. } else {
  7. debugPrint(info)
  8. }
  9. }