Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/CityOfZion/neo-swift
Swift Wrapper for Neo Blockchain API
https://github.com/CityOfZion/neo-swift
Last synced: 3 months ago
JSON representation
Swift Wrapper for Neo Blockchain API
- Host: GitHub
- URL: https://github.com/CityOfZion/neo-swift
- Owner: CityOfZion
- License: mit
- Created: 2017-09-04T15:14:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-20T17:11:43.000Z (about 6 years ago)
- Last Synced: 2024-08-03T11:02:41.729Z (7 months ago)
- Language: Swift
- Size: 55.2 MB
- Stars: 55
- Watchers: 17
- Forks: 16
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-neo - neo-swift - Swift Wrapper for NEO Blockchain API. (SDKs / MainNet and TestNet (2.7.6+))
README
![]()
neo-swift
Swift SDK for the NEO blockchain.## What is neo-swift
- A swift client for interacting with a node on the [NEO](http://neo.org/) 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](https://github.com/apisit/neo-wallet-address-go)
- [underlying go code](https://github.com/apisit/btckeygenie)## Current Status
- Implements read operations of neo blockchain
- Allows for send asset transactions### Supported Methods
```
enum RPCMethod: String {
case getBlockCount = "getblockcount"
case sendTransaction = "sendrawtransaction"
case invokeContract = "invokescript"
case getMemPool = "getrawmempool"
}
```## Things in the pipleine
- Cocoapods, and SPM support
- NEP2 Support
- Use cases
- Documentation
- Other transaction types
- Better management of dependencies
- Improved Node/Network Selection### Carthage
[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with [Homebrew](https://brew.sh/) using the following command:
```bash
$ brew update
$ brew install carthage
```To integrate NeoSwift into your Xcode project using Carthage, specify it in your `Cartfile`:
```ogdl
github "CityOfZion/neo-swift" => 1.0
```Run `carthage update` to build the framework and drag the built `neo-swift.framework` into your Xcode project.
## Quick Start
Clone the repo and open the project in xcode and run all tests in NeoSwiftTests.swift
## Help
- Open a new [issue](https://github.com/CityOfZion/neo-swift/issues/new) for any problems.
- Send a message to **@Koba** on the [NEO Discord](https://discordapp.com/invite/b8QNXwD).
- If there's a feature you'd like to see included feel free to drop me a line or submit a pull request## License
- Open-source [MIT](https://github.com/CityOfZion/neo-swift/blob/master/LICENSE).
- Main authors are [@saltyskip](https://github.com/saltyskip) and [@apisit](https://github.com/apisit).
- Collaboration of [O3Labs](https://github.com/O3Labs/OzoneWalletIOS)