Code Monkey home page Code Monkey logo

elra's Introduction

E.L.R.A.

Go Report Card

Easy LND REST API

ELRA is an open source REST extension for LND with a lot of additional features compared to LND's default REST or gRPC API built on Go.

Comparison

Comparison Table

Build

Prerequisites

  1. macOS
  2. Install Go and Cross Compiler
brew install go 
brew install mingw-w64
brew install FiloSottile/musl-cross/musl-cross
brew reinstall FiloSottile/musl-cross/musl-cross --with-arm-hf
  1. Set $GOPATH system environment
  2. Get Go Dependencies
go get github.com/mattn/go-sqlite3
go get github.com/dgrijalva/jwt-go
go get github.com/gorilla/mux
go get github.com/golang/protobuf/proto
go get github.com/joncalhoun/qson
go get github.com/lightningnetwork/lnd/lnrpc
go get github.com/lightningnetwork/lnd/macaroons
go get golang.org/x/crypto/bcrypt
go get golang.org/x/sys/unix
  1. Clone InventorizerAPI
cd %GOPATH/src
git clone https://github.com/JediWed/ELRA.git
cd ELRA
  1. (Optional) Install and Start via PM2
npm install pm2@latest -g
pm2 start pm2-ELRA.json

Build

Command Description
make Builds executable. Binary can be found in dist/
make clean Cleanup previous builds and releases
make serve Build and start API
make release Builds binaries for macOS, Windows, Linux and Raspberry Pi. Release builds can be found in release/

Build Releases on other Hosts than macOS

To Cross Compile on other Hosts (e.g. Windows or Linux) edit Makefile and replace CC Binaries with your installed Cross Compile Binaries.

License

ELRA is released under the terms of the GPL-3.0 license. See LICENSE for more information or see https://www.gnu.org/licenses/.

elra's People

Contributors

turcane avatar

Watchers

James Cloos avatar  avatar

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.