Giter Club home page Giter Club logo

Satimoto

Satimoto mobile application using react native

Build Requirements

Required for iOS

  • Xcode
  • cocoapods 1.7.2 (brew install cocoapods)

Required for Android

Building LND mobile binaries

Before running the app, the mobile binaries need to be built for LND so GRPC calls can be made during runtime.

Switch go module aware build mode to auto

go env -w GO111MODULE=auto

Install protobuf

brew install protobuf

Go get gomobile prerequisites

go get golang.org/x/tools/go/packages
go get golang.org/x/tools/cmd/goimports
go get golang.org/x/mobile/cmd/gomobile

Initialize gomobile

gomobile init

Go get protoc modules and falafel

GO111MODULE=on go get github.com/golang/protobuf/[email protected]
GO111MODULE=on go get github.com/grpc-ecosystem/grpc-gateway/[email protected]
GO111MODULE=on go get github.com/grpc-ecosystem/grpc-gateway/[email protected]
GO111MODULE=on go get -u -v github.com/lightninglabs/falafel

Go get LND

go get -d github.com/lightningnetwork/lnd
cd $GOPATH/src/github.com/lightningnetwork/lnd

Change lnd remote

git remote add satimoto https://github.com/satimoto/lnd
git fetch satimoto

Checkout branch to build (Reset staged/unstaged changes if you need to)

git reset --hard HEAD
git checkout -b allocate-alias satimoto/allocate-alias

Build for iOS platform (Lndmobile.xcframework)

make ios prefix="1" tags="chainrpc invoicesrpc routerrpc signrpc walletrpc"
cp -r $GOPATH/src/github.com/lightningnetwork/lnd/mobile/build/ios/Lndmobile.xcframework <path/to>/react-mobile/ios/LndMobile

Build for android platform (Lndmobile.aar)

make android prefix="1" tags="chainrpc invoicesrpc routerrpc signrpc walletrpc"
cp $GOPATH/src/github.com/lightningnetwork/lnd/mobile/build/android/Lndmobile.aar <path/to>/react-mobile/android/Lndmobile

Building an LND docker image

docker build . --build-arg git_url=https://github.com/satimoto/lnd --build-arg checkout=allocate-alias -t satimoto/lnd:allocate-alias

Satimoto's Projects

charge-lnd icon charge-lnd

charge-lnd is a simple policy based fee manager for LND. With this tool you can set fees to autobalance, recover channel open costs, use on-chain fees as reference, use channel activity to determine fees or just use static fees.

js-lnurl icon js-lnurl

tools for adding lnurl support in a wallet

lnd icon lnd

Lightning Network Daemon ⚡️

polar icon polar

One-click Bitcoin Lightning networks for local app development & testing

prometheus icon prometheus

The Prometheus monitoring system and time series database.

react-native-background-task icon react-native-background-task

Periodic background tasks for React Native apps, cross-platform (iOS and Android), which run even when the app is closed.

rebalance-lnd icon rebalance-lnd

A script that can be used to balance lightning channels of a lnd node

rn-sliding-up-panel icon rn-sliding-up-panel

Draggable sliding up panel implemented in React Native https://octopitus.github.io/rn-sliding-up-panel/

satimoto icon satimoto

No sign-up, no credit cards, charge your electric vehicle and pay instantly using Bitcoin over the Lightning Network

taro icon taro

A layer 1 daemon, for the Taro protocol specification, written in Go (golang)

uniffi-rs icon uniffi-rs

a multi-language bindings generator for rust

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.