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
Add support for Chia #5431
Add support for Chia #5431
Conversation
Thanks for this, however, we will move the altcoins integration in plugins, which mean you will need #5331 in the next 1.12.0 version. The reason why we will soon move altcoins integration to plugin is because we found out that having altcoin integration in the core source code put the burden of maintenance on our shoulder. Most of the code you wrote should just work as is in plugins. But you need to wait next 1.12.0 version. |
Sure, no problem, I'll take a look at #5331 to see what needs to be adapted. |
Missing: * Polling for new transactions * Fetching exchange rat * Remove unnecessary stuff
* Uses polling instead of websocket, since daemon uses TLS 1.3, which is not yet supported on my MacOS .NET * Doesn't handle reorgs yet * Doesn't have WalletConnect or similar wallet integration
93e2bb0
to
2dd6985
Compare
The payment is already stored using the transaction id, so multiple payments to a single address shouldn't be a problem
Going to close this for now, and reopen it as a plugin after 1.12 lands. |
Hi @greimela ! Thank you for your work! |
Hi. I installed your build. But can't see where to add XCH wallet. No any settings in UI... |
Hi @gentoosys! |
This pull request integrates support for the Chia blockchain (chia.net) into BTCPayServer.
It uses polling instead of a websocket connection, since the Chia daemon websocket forces TLS 1.3, which is not yet supported on MacOS .NET.
It doesn't require a full node at the moment, but connects to the Chia SPV light wallet.
A docker fragment to run the Chia light wallet next to BTCPayServer can be found here: btcpayserver/btcpayserver-docker#842