storefront-bvba / btcpayserver-kraken-plugin

6 stars 9 forks source link

does this plugin still work? #2

Open wtzr opened 12 months ago

wtzr commented 12 months ago

just installed this and restarted the server, but where is this plugin supposed to popup? I can only see that it's installed, but i can't find any page where i can see settings

woutersamaey commented 12 months ago

Please turn on "Experimental Features" in "Server Settings" and it will appear in the left sidebar.

wtzr commented 12 months ago

Got it, works now.

Looks good. It was not exactly what I was looking for, but still nice to have.

Maybe suggestion for the plugin. What is really valuable for us is that we currently sell from our outstanding balance at kraken, the moment an invoice is paid with 0 confirmations. This reduces the volatility risk to basically 0. The only requirement is that you always hold balances in btc at kraken, which we do. At a later moment we sent the bitcoins from btcpay to kraken, to fill up the balance again.

We currently built this with a python script, but it would be nicer to have that integrated in btcpay. But perhaps this is not something you are looking to add.

woutersamaey commented 12 months ago

You can already do this using the BTCPay Server API (Greenfield), which you can use to automate this custodian account (Kraken for now, but other to follow).

So, instead of your Python script talking to Kraken, it could talk to BTCPay and have the same result. As BTCPay gets support for more custodians, you would not need to change your code.

If you're not into code, you can also do the same thing by using Zapier. The custodian stuff is there as well and it's point-and-click for non-tech people. You may also like this, for prototyping for example.

wtzr commented 11 months ago

Awesome, i did not know the greenfield api was already able to work with the custodians. This works very well. Was able to transfer my python script over to the greenfield apy. Great work!

woutersamaey commented 11 months ago

Thanks for your kind words @wtzr . Your gratitude helps tremendously.