Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/O3Labs/neo-utils
Useful functions for NEO blockchain written in Go.
https://github.com/O3Labs/neo-utils
neo
Last synced: 3 months ago
JSON representation
Useful functions for NEO blockchain written in Go.
- Host: GitHub
- URL: https://github.com/O3Labs/neo-utils
- Owner: O3Labs
- License: mit
- Archived: true
- Created: 2018-02-20T02:32:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-06T03:52:48.000Z (over 5 years ago)
- Last Synced: 2024-06-20T03:51:11.018Z (5 months ago)
- Topics: neo
- Language: Go
- Size: 256 KB
- Stars: 26
- Watchers: 6
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-neo - neo-utils - Golang SDK for the NEO blockchain developed by O3. (SDKs / MainNet and TestNet (2.7.6+))
README
# neo-utils
Useful functions for the NEO blockchain written in Go.This library can be fully compiled to native iOS and Android framework using `gomobile bind`
note: `gomobile` does not support slice parameter yet so some functions are optimized to take a comma separated string as a param instead of a array of string.
For methods specifically designed to be used on mobile see ```mobile.go```### Installation
`go get github.com/o3labs/neo-utils/neoutils`## Compile this library to native mobile frameworks.
### Install gomobile
```
go get golang.org/x/mobile/cmd/gomobilegomobile init
```### Install Dependencies
```
. dep.sh
```### Compile to both iOS and Android frameworks
```
. build.sh
```### Compile to iOS framework
XCode is required.
`gomobile bind -target=ios -o=output/ios/neoutils.framework github.com/o3labs/neo-utils/neoutils`### Compile to Android framework
Android NDK is required. https://developer.android.com/ndk/guides/index.html
```
gomobile init -ndk ~/Library/Android/sdk/ndk-bundle/ANDROID_HOME=/Users/$USER/Library/Android/sdk gomobile bind -target=android -o=output/android/neoutils.aar github.com/o3labs/neo-utils/neoutils
```