A Hdfchain wallet library written in golang for hdfwallet
Go( >= 1.11 )
Gomobile (correctly init'd with gomobile init)
To build this libary, clone the project
go get -t github.com/hdfchain/hdflibwallet
cd $GOPATH/src/github.com/hdfchain/hdflibwallet/
and run the following commands in hdflibwallet directory.
export GO111MODULE=on
go mod download
go mod vendor
export GO111MODULE=off
gomobile bind -target=android # -target=ios for iOS
hdflibwallet can be built targeting different architectures of android which can be configured using the -target
command line argument Ex. gomobile bind -target=android/arm
, gomobile bind -target=android/386
...
Copy the generated library (hdflibwallet.aar for android or hdflibwallet.framewok in the case of iOS) into libs
directory(Frameworks
for iOS)