question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to use Liquid Bitcoin support?

See original GitHub issue

How to use Liquid Bitcoin support in BTCPay?

Enable it as if it was any other coin by following the official docs

Enabling LBTC also implicitly enables any Liquid assets that have been configured in BTCPay such as Liquid Tether (USDt).

We also prune the Liquid node to ~5GB in order to not break existing installs that wanted to support Liquid on a tightly constrained server( such as the ones from the LunaNode installer)

Wallet Configuration

BTCPay supports Liquid’s confidential transactions. In order to make use of this though, you’ll need to use the “Generate Wallet” feature as there are no other wallets that support our way of deriving blinding keys and would not be able to track incoming funds.

The Generate Wallet feature allows you to generate or provide a mnemonic seed to the store, and it will generate the xpub for the store to use. Furthermore, it allows you to import your keys to the bitcoin/liquid node so that you can spend any incoming funds from the node’s wallet itself via cli commands such as sendtoaddress OR a remote bitcoin node app such as FullyNoded.

image

It’s important to check the Is hot wallet & Import keys to RPC options. Also note that while BTCPay supports Liquid’s Blech32 segwit confidential addresses, Green wallet still does not. It is recommended to use “Segwit wrapped” p2sh addresses. image

Make sure you save the seed key after generating and then clicking Confirm.

WARNING: EVEN THOUGH YOU HAVE THE SEED. IT IS NOT CURRENTLY POSSIBLE TO RESTORE SO BE CAREFUL WITH YOUR SERVER.

image

Skipping Confidential transactions.

You may skip the confidential transactions feature and use the traditional xpub input method. Just add -[unblinded] at the end xpub6DHf9nVQP6mc5FgKD4E3UuxPubv7Gf19BUMemRR73o5BRiTsgexiDmMsVv3DDeH251UdJFkUYAkneiwg5RKHn8wa3Azpkx2eVHmFLY3ErmF-[p2sh]-[unblinded]

NOTE: If you generated a wallet using the Generate wallet feature, and then added -[unblinded] afterwards, the keys will not be imported to the node.

Configuring Assets

Liquid assets show up as if they are their own coin in BTCPay and are configured as such. I would recommend just using the same seed/xpub on liquid bitcoin & each liquid asset.

I’d like to add my own Liquid asset

It should be relatively simple. If you don’t know how to code, just contract me at kukks.org 😃

Spending Liquid

  • SSH into your server
  • switch to root user (sudo su -)
  • go to your btcpayserver-docker directory (cd btcpayserver-docker)
  • use elements.cli to do a transaction (elements-cli.sh sendtoaddress xxx)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:27 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
Kukkscommented, Jan 16, 2020

I wanted to keep the altcoins faq generic and then linked to this from the docs

2reactions
ProTechExcommented, Nov 28, 2022

@Kukks where can I found more detailed informations about sending Liquid ?

And basically it would be also amzing if also a sending part available on the BTCPay Server Web GUI.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How does Liquid Bitcoin (L-BTC) work?
Transferring BTC from the Bitcoin mainchain to the Liquid sidechain is called a peg-in, and involves sending BTC to a multisig wallet controlled...
Read more >
Getting Started with the Liquid Network
Get started creating a wallet, running a Liquid node, transferring bitcoin to the sidechain, unlocking Liquid BTC, and issuing assets.
Read more >
A Beginner's Guide To The Liquid Network
To use Liquid Network, users initiate a “peg-in”, which involves sending BTC to a Lightning Network address on the Bitcoin blockchain. Once the ......
Read more >
Liquid Network and Bitcoin: What is it, How Does it Work?
Liquid Network is a sidechain that improves the functionality of Bitcoin transactions, issuance of digital assets, and exchanges.
Read more >
Liquid Network - River Financial
In order to use Bitcoin on the Liquid Network, a user must lock up their bitcoin in a transaction known as a peg-in....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found