Skip to content

planetdecred/dcrlibwallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dcrlibwallet

Build Status

A Decred wallet library written in golang for dcrwallet

Build Dependencies

Go( >= 1.11 )
Gomobile (correctly init'd with gomobile init)

Build Instructions using Gomobile

To build this libary, clone the project

go get -t github.com/planetdecred/dcrlibwallet
cd $GOPATH/src/github.com/planetdecred/dcrlibwallet/

and run the following commands in dcrlibwallet directory.

export GO111MODULE=on
go mod download
go mod vendor
export GO111MODULE=off
gomobile bind -target=android # -target=ios for iOS

dcrlibwallet 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 (dcrlibwallet.aar for android or dcrlibwallet.framewok in the case of iOS) into libs directory(Frameworks for iOS)