Git Product home page Git Product logo

infinity's Introduction

LNbits Infinity (BETA)

Installation

git clone https://github.com/lnbits/infinity.git

# install dependencies
sudo apt-get install lua5.3-dev

Move into the Infinity directory:

cd infinity

Setup environment variables:

PORT=6000
QUASAR_DEV_SERVER=http://localhost:6001

DATABASE=dev.sqlite

LIGHTNING_BACKEND=void # adjust accordingly
# depending on the lightning backend chosen you'll need different environment variables
# check https://github.com/lnbits/infinity/blob/77dafa306b0ea79cdf5ffa9bf39c13cd04ffdfa6/lightning/backend.go#L18-L28 file for more information

SITE_TITLE=My Infinity
SITE_TAGLINE=An infinitude of wallets and apps
SITE_DESCRIPTION=Local server of LNbits Infinity
DEFAULT_WALLET_NAME=Wallet

SECRET=typesomethingrandomthisisnotsuperimportantjustalittle

Install Air.

Finally, open two terminals. In one, do

cd client
./node_modules/.bin/quasar dev -p 6001

on the other, do

make dev

Then access your LNbits Infinity at http://localhost:6000/ (not :6001).

infinity's People

Contributors

arcbtc avatar ashkanjalaliq avatar dkeysil avatar fiatjaf avatar leffw avatar shuaixiaoqiang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

infinity's Issues

Failed to withdrawl from OKX to LNbits Infinity

I used LNbits Infinity for the first time, and I created two invoices. One is 5 million sats and the other is 1 million sats.
179139244-308c63d9-75cb-4331-ae2d-f7fd3b682ad3
179139228-82f28856-6298-4233-a55e-99c8ba791202

Then I launched two withdrawl from OKX. As you can see those two were complete.
179140949-1d338a92-9965-4bdf-a1bc-00195349696a
179140957-148ce5fe-ee13-4641-b3cc-70c32e830316

But my LNbits Infinity didn't receive any of sats at all.
179141423-d0f9b60b-451d-4bd2-9f3f-a088da31e4db
Uploading 179141413-bd413bce-1c64-4254-9396-ca21cf5575e2.png…

I had a contact with OKX, they replied that they did send those sats, so what's the problem?
P.S. I did another one withdrawl from OKX to LNbits legend and it worked. So what's the problem with OKX-to-LNbits.Infinity route?

Installation instruction fixes

System: Ubuntu 18.04.6 LTS

Frontend:

  1. Add that you have to install packages in client folder (just run yarn command)

  2. If I'm just go with yarn and quasar dev commands I'm getting an error:

    1. Error: Cannot find module 'vue/compiler-sfc' - Fix for that error - stackoverflow answer
    2. Then I'm getting @vue/composition-api/dist/vue-composition-api.mjs not found error - Fix for that yarn add vue-demi

I’m not well experienced with front, but I think here is something wrong with package.json file.

Backend:

After QUASAR_DEV_SERVER=http://localhost:8080 make dev getting error:
/usr/bin/ld: cannot find -llua5.3 - it' because sudo apt-get install lua5.3 - not enough
sudo apt install liblua5.3-dev helped me

And add information that app will be able on port 5000 (not 8080 as someone can expect)

Configs:

It would be great to have instructions on how to set the config parameters

Seed should be set upon start

In utils/utils.go, the function RandomHex generates a random string but rand is not seeded upon start / in main.go.

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.