nervosnetwork / nervosnetwork/fiber

How to subscribe the status of invoice

Open
#259 3 comments 1 reaction 1 assignee View on GitHub

@chenyukang is already working on this.

Since Nov 13, 2024.

Dominant language
Rust
Stars
59
Forks
31
Avg merge
3d 5h
Merged PRs (30d)
18

Description

I can only see the relevant RPC methods for the "new_invoice" and "parse_invoice" in https://github.com/nervosnetwork/fiber/blob/main/src/rpc/README.md.

When the invoice I created is paid or the status changes, how can I subscribe to the status change? Is there an RPC method that provides a "SubscribeInvoices" method similar to https://github.com/lightningnetwork/lnd/blob/master/lnrpc/README.md?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.