Skip to content
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

Does LDK already support production environment (BTC mainnet) use? #63

Open
runfali opened this issue Jul 12, 2022 · 2 comments
Open

Does LDK already support production environment (BTC mainnet) use? #63

runfali opened this issue Jul 12, 2022 · 2 comments

Comments

@runfali
Copy link

runfali commented Jul 12, 2022

When I was working on a project, I tried to start a Lightning Network node with reference to the ldk-sample project.
If the bitcoin-network parameter is filled with mainnet or main, the following information will be prompted:
Unsupported network provided. Options are: regtest, testnet, and signet

@tnull
Copy link
Contributor

tnull commented Jul 13, 2022

LDK itself is ready to be used on mainnet, but the ldk-sample project is really just a sample project that is not intended to replace a full node or to be used in a production environment (even though rumor has it some are reckless enough to do so).
So, if you're interested in a full node based on LDK, you may want to have a look at Sensei.

If you're building your own thing based off ldk-sample and you know what you're doing you should easily be able to add a corresponding option. That's coming of course with the usual disclaimer that it's then on you if you're putting your funds at risk.

@TheBlueMatt
Copy link
Contributor

We should maybe consider enabling mainnet on the sample node, I think. Indeed, its not really intended to be used "seriously" - its just a sample, after all, not a node. Indeed, I do run a mainnet node with a bunch of channels using (a fork of) the ldk-sample here, and it generally works well. We also fix issues with things as they come up, so it mostly is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants