Closed Sjors closed 2 years ago
Thank you. Yes, I agree. I was planning on doing this someday.
Initially this wasn't supposed to be a separate plugin, that's why it is so half-assed separated inside this repo and with no documentation (also because it is a little too burdensome to write very complete documentation for stuff literally no one was using besides myself and MrKukks when bundling stuff to the BTCPayServer docker releases).
But if you look inside the Makefile
you'll see you don't need gox
. You can just run go build
-- which is also something any Go programmer would know and automatically try (of course I didn't realize people without experience in Go would ever try to compile this).
My go skills are a no-go :-)
When using
invoicewithdescriptionhash
plugin with BTCPay, it might be easier for folks to understand how to install it, if it lived in its own repo. The other thing I found confusing is the cross compilation.Addition suggested documentation:
Install Go and gox:
go get github.com/mitchellh/gox && go install github.com/mitchellh/gox
. Check ifgox -h
works, you may need to add~/go/bin
to yourPATH
.Restart c-lighting.
When updating, stop c-lightning before copying the updated binary.