General purpose library in Swift for eos blockchains.
General purpose library for EOSIO blockchains.
pod install
To integrate eosSwift into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!
target '<Your Target Name>' do
pod 'eosSwift'
end
Then, run the following command:
$ pod install
let keys = Keypair(public: "EOS7T6u2oz32DsmMKU", private: "5KUvbu53Ad4wHLFpaS")
let manager = NetworkManager(url: "https://eos.massclarity.com" , keys: keys)
manager.getChainInfo() { info, error in
if error = error {
debugPrint(error)
} else {
debugPrint(info)
}
}