Swift SDK for the NEO blockchain.
- A swift client for interacting with a node on the NEO blockchain.
- Written in Swift4 and using Xcode10
- Primarily meant to be the SDK for iOS and macOS wallet software.
- Underlying cryptographic methods compiled into frameworks via go-mobile.
- iOS framework
- underlying go code
- Implements read operations of neo blockchain
- Allows for send asset transactions
enum RPCMethod: String {
case getBlockCount = "getblockcount"
case sendTransaction = "sendrawtransaction"
case invokeContract = "invokescript"
case getMemPool = "getrawmempool"
}
- Cocoapods, and SPM support
- NEP2 Support
- Use cases
- Documentation
- Other transaction types
- Better management of dependencies
- Improved Node/Network Selection
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage
To integrate NeoSwift into your Xcode project using Carthage, specify it in your Cartfile
:
github "CityOfZion/neo-swift" => 1.0
Run carthage update
to build the framework and drag the built neo-swift.framework
into your Xcode project.
Clone the repo and open the project in xcode and run all tests in NeoSwiftTests.swift
- Open a new issue for any problems.
- Send a message to @Koba on the NEO Discord.
- If there's a feature you'd like to see included feel free to drop me a line or submit a pull request
- Open-source MIT.
- Main authors are @saltyskip and @apisit.
- Collaboration of O3Labs