-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] - Lightning and Liquid Network deposit support #3
Comments
Also in line with lombard-finance/evm-smart-contracts#23 allow LBTC received from these deposits to be minted in a much cheaper Ethereum Layer 2 blockchain like Polygon, Arbitrum or Base. |
"Skip to main contenthttps://en.wikipedia.org/wiki/HTTP RFC 9110https://changellywidget.banxa.com/?expires=1738182055&id=cfb073a3-5022-46b9-aa37-bc2bb9d3696c&oid=4cb1b35f6194c4ea5441ea41bf31626c&signature=d905e3e17fdebf4f5c719a27974ff2ccb90fd6ed82e47a6d3901c7f2122ccfa2//+------------------------------------------------------------------+ //--- Input Parameters //--- Global Variables //+------------------------------------------------------------------+
} //+-----------------------------------------------------------Skip to main content My Site Logo Find a module that supports generating an RSA signature using the SHA256 hashing algorithm. Find a module that allows sending HTTP requests. Install the needed modules in any convenient way. For example, with npm: Import the modules to your code: Define the variables for your private and public keys: Create a private key object with the following type, format and encoding: Define the variables for the URL and body message of the API method you want to request. For example: To provide path or query request parameters, specify them in the path variable, for example: const path = 'https://fiat-api.changelly.com/v1/currencies?type=crypto'; Important! This message example is applied to the POST request. If you want to send GET request, you should make the message empty: const message = {}; If you delete the message variable, you will get an error. Concatenate the path and the message object into one string: Create a signature that will be used as X-Api-Signature header: crypto.sign takes as input 3 parameters: hashing algorithm – sha256. Create an options object which contains info for API request – HTTP method, headers and body: Send a request: Previous //+------------------------------------------------------------------+
} //+------------------------------------------------------------------+ //+------------------------------------------------------------------+ //+------------------------------------------------------------------+ //+------------------------------------------------------Skip to content |
Could you consider to make it possible to deposit BTC via either Lightning and/or Liquid Network as well ?
It helps to enhance BTCfi and allows funds that are on these networks to be staked and also allow significant savings on transfer fees. There is a fair amount of material to integrate both Lightning (from Lightning Labs and Breeze SDK) and Liquid (from Blockstream).
The text was updated successfully, but these errors were encountered: