lnflash / flash Goto Github PK
View Code? Open in Web Editor NEWThis project forked from galoymoney/galoy
fork of galoy bitcoin banking infrastructure
Home Page: https://getflash.io
License: MIT License
This project forked from galoymoney/galoy
fork of galoy bitcoin banking infrastructure
Home Page: https://getflash.io
License: MIT License
This task is to replace the galoy USD (stablesats) wallet with the IBEX custodial USD wallet on the Home Screen in the wallet overview
component on the frontend, so that it is displaying the latest balance of the IBEX custodial USD wallet.
The stablesats wallet uses a graphql query to get the latest balance from galoy, so ideally this would also use a graphql query to get the latest balance from flash backend. This means the flash backend could be storing the balance, and use the IBEX API to get the latest balance if the balance is stale.
An alternate solution would be to hit the IBEX API every time we need a balance, instead of storing the balance on the server.
Code improvements and suggestions are welcome.
For testing the frontend you can connect the staging environment to http://api-development.flashapp.me:4002/graphql
For testing the IBEX API you can connect to http://api-development.flashapp.me:8760/api/v1/
BOUNTY available ⚡⚡⚡
Initial test returned a 0-fee. Requires further testing with:
Reference for changing fees here:
GaloyMoney@e1584bd
Upon sending a payment, UI should be updated with a completed status. This status update is triggered by a Ibex webhook and should be propagated downstream.
This task is to do a comprehensive code review for the changes made to the flash backend that replace the galoy USD (stablesats) wallet with the IBEX custodial USD wallet when generating a lightning invoice using the LnUsdInvoiceCreate
mutation, and suggest a solution for updating the flash backend with the updated IBEX wallet balance once the invoice has been paid and the IBEX API returns the webhook.
The branch with these changes can be found here
Submitted PR can be found here
For testing the frontend you can connect the staging environment to http://api-development.flashapp.me:4002/graphql
For testing the IBEX API you can connect to http://api-development.flashapp.me:8760/api/v1/
BOUNTY available ⚡⚡⚡
UI: "Failed to calculate fee."
See: #17 (comment)
Backend:
This task is to replace the galoy lightning address with the IBEX lightning address and update the address domain name to be flashapp.me, but forward to an IBEX LNURL.
This should be done using accounts USD wallet
This task involves the following at minimum:
The QR code showing on the Paycode screen should display an LNURL that is associated to the users IBEX account
When trying to send from IBEX USD Wallet over 10k sats, UI responds:
"An unexpected error occurred, please try again later" Log: "name":"IbexApiError","level":"info","code":400},"msg":"{"error":"daily limit exceeded"
TBD: What should the error message display?
This bounty can be claimed by completing and testing the following tasks:
id
field) as the galoy USD walletId (instead of galoy generating an ID by default)This should take less than 3 hours to complete. Bounty Details are here
Add JMD currency support to the graphs repo.
This may not be needed if we can merge the latest galoy code with multi currency support
TODO:
UI makes GraphQL query with the following supported pagination args (ConnectionArguments
):
before?: ConnectionCursor | null;
after?: ConnectionCursor | null;
first?: number | null;
last?: number | null;
These arguments should be mapped to the pagination scheme used by Ibex with params:
sort?: string | undefined;
limit?: number | undefined;
page?: number | undefined;
This task is to replace the galoy USD (stablesats) wallet with the IBEX custodial USD wallet when paying a lightning invoice using the LnNoAmountUsdInvoicePaymentSend mutation ( and any other related mutations) and update the flash backend persistent storage with the updated IBEX wallet balance once the invoice has been paid and the IBEX API returns the webhook.
For reference on how I did the changes to the LnUsdInvoiceCreate Mutation [please see here (https://github.com/lnflash/flash/tree/ln-usd-ibex-invoice)
Code improvement suggestions are welcome.
For testing the frontend you can connect the staging environment to http://api-development.flashapp.me:4002/graphql
For testing the IBEX API you can connect to http://api-development.flashapp.me:8760/api/v1/
BOUNTY available ⚡⚡⚡
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.