Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ sha2 = "0.10"
toml = "0.8"

futures = "0.3"
async-stream = "0.3"
tokio-stream = "0.1"
metrics = { version = "0.23", default-features = false }
metrics-exporter-prometheus = { version = "0.15.3", default-features = false }
console = "0.15"
Expand Down
16 changes: 5 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ curl http://localhost:7070/v2/admin/info \

- `/v2/admin/info`: Display wallet info (holdings, tiers).
- `/v2/admin/backup`: Upload the (encrypted) snapshot of mint notes to federation.
- `/v2/admin/discover-version`: Discover the common api version to use to communicate with the federation.
- `/v2/admin/version`: Discover the common api version to use to communicate with the federation.
- `/v2/admin/restore`: Restore the previously created backup of mint notes (with `backup` command).
- `/v2/admin/list-operations`: List operations.
- `/v2/admin/operations`: List operations.
- `/v2/admin/module`: Call a module subcommand.
- `/v2/admin/config`: Returns the client config.

Expand All @@ -73,11 +73,8 @@ curl http://localhost:7070/v2/admin/info \
### Lightning network related commands:

- `/v2/ln/invoice`: Create a lightning invoice to receive payment via gateway.
- `/v2/ln/await-invoice`: Wait for incoming invoice to be paid.
- `/v2/ln/pay`: Pay a lightning invoice or lnurl via a gateway.
- `/v2/ln/await-pay`: Wait for a lightning payment to complete.
- `/v2/ln/list-gateways`: List registered gateways.
- `/v2/ln/switch-gateway`: Switch active gateway.
- `/v2/ln/gateways`: List registered gateways.

### Onchain related commands:

Expand Down Expand Up @@ -197,11 +194,8 @@ docker logs fmcd | grep "Generating"
Build your own OCI image using Nix:

```bash
# Build the OCI container
nix build .#oci

# Load into Docker
docker load < ./result
# Build the OCI container and Load into Docker
nix build .#oci && docker load < ./result

# Verify the image
docker image ls | grep fmcd
Expand Down
Loading
Loading