lnbits-js
lnbits-js copied to clipboard
NPM Package for LNBits.com API.
/payments endpoint is not available in lnbits-js API.
Working in progress
In testing, there is a lot of more return parameters than payment_hash (and payment_hash is on details) paid: boolean, preimage: string details: { checking_id: string, pending: boolean, amount: number, fee:...
- Fix default URL to legend.lnbits.com (the lnbits.com doesn't have any API endpoint, 404) - Fix line endings (force LF), some files was in CRLF and others in LF, leading...
Apparently the data sent is '{"amount":1000,"memo":"Lightning invoice"}', and throws this error. Default values didn't not work because an object entity is provided when calling and javascript does not use the...
Right now lnbits can't be used in a cloudflare worker, because cloudflare workers can only use `fetch` to interact. We can use `@vespaiach/axios-fetch-adapter` if only we could pass it in....
README: Donation link (lightning network) service down.