Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.
/ neo-utils Public archive

Useful functions for NEO blockchain written in Go.

License

Notifications You must be signed in to change notification settings

O3Labs/neo-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/gomobile

gomobile 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