A Decred wallet library for mobile devices built from dcrwallet
Go( >= 1.11 )
Gomobile (correctly init'd with gomobile init)
To build this libary, clone the project and run the following commands in mobilewallet directory.
export GO111MODULE=on
go mod download
go mod vendor
export GO111MODULE=off
gomobile bind -target=android # -target=ios for iOS
Mobilewallet library can also 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 (mobilewallet.aar for android or Mobilewallet.framewok in the case of iOS) into libs
directory(Frameworks
for iOS)