Best way to accept $ZEC as a payment method

Thanks for the offer! Not yet. I would wait until the release of BTCPayServer 2.1 and a working/tested version of btcpayserver-zcash-plugin. I have a work in progress PR up: BTCPayServer 2.0 fixes by macintoshhelper · Pull Request #1 · btcpayserver/btcpayserver-zcash-plugin · GitHub . However it still needs some work and doesn’t yet work in a 2.0.7 Docker environment. Once it is working I will write up some documentation and work on integrating it into the Docker Compose fragments setup process.

1.x should work in theory if you modify this docker-compose setup: zcash-btcpay/docker-compose.yml at main · hhanh00/zcash-btcpay · GitHub . However, I’m not confident yet on the migration path towards 2.x, it’ll need some support/testing.

- image: hhanh00/btcp
+ image: btcpayserver/btcpayserver:1.13.7-altcoins
- image: hhanh00/zcash-walletd
+ image: 1337bytes/zcash-walletd:v0.0.1

-   - "wallet_datadir:/data"
+   - "./wallet_datadir:/data"
+   - "./walletd/Rocket.toml:/root/Rocket.toml"

./walletd/Rocket.toml

[global]
db_path = "zec-wallet-test.db"
confirmations = 5
lwd_url = "https://zec.rocks:443"
notify_tx_url = "http://btcp:9000/zcashlikedaemoncallback/tx?cryptoCode=zec&hash="
poll_interval = 60
regtest = false

[debug]
address = "127.0.0.1"

[release]
address = "0.0.0.0"

I also found that I need these custom rate rules (namely ZEC_USD):

ZEC_X = ZEC_BTC * BTC_X
ZEC_BTC = kraken(ZEC_BTC)
ZEC_USD = kraken(ZEC_USD)
1 Like