tee8z / doppler

A tool for building out a local regtest environment
Creative Commons Zero v1.0 Universal
38 stars 6 forks source link

Add grammar for BOLT12 #80

Open tee8z opened 2 months ago

tee8z commented 2 months ago

This should make it possible to send BOLT 12 invoices through different implementations. It is okay if the PR does not add support for LND as that implementation requires LNDK to be running along side of it which is a much bigger change required. However, if someone has the inclination to tackle both adding LNDK plus all the other implementations bolt12 for the grammar it would be appreciated. To start, take a look at SEND_LN command and see if there would be a good way to signify bolt12 maybe like how we do for amp or keysend at the moment. Any addition needs to be backwards compatible with the grammar already created so run through the many example script with the new grammar to verify everything works as expected.