Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/CityOfZion/neo-swift

Swift Wrapper for Neo Blockchain API
https://github.com/CityOfZion/neo-swift

Last synced: about 2 months ago
JSON representation

Swift Wrapper for Neo Blockchain API

Awesome Lists containing this project

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)