├── .cargo └── config.toml ├── .config └── flakebox │ ├── .gitignore │ ├── bin │ └── flakebox-in-each-cargo-workspace │ ├── id │ └── shellHook.sh ├── .envrc ├── .github └── workflows │ ├── flakebox-ci.yml │ └── flakebox-flakehub-publish.yml ├── .gitignore ├── .replit ├── .rustfmt.toml ├── Cargo.lock ├── Cargo.toml ├── JUSTFILE ├── LICENSE ├── README.md ├── assets └── federated-cashu.jpg ├── example.env ├── flake.lock ├── flake.nix ├── misc └── git-hooks │ ├── commit-msg │ ├── commit-template.txt │ └── pre-commit ├── mprocs-new.yaml ├── mprocs.yaml ├── scripts ├── mprocs-nix-gateway.sh ├── mprocs-nix.sh └── mprocs-user-shell.sh └── src ├── config.rs ├── error.rs ├── main.rs ├── router ├── handlers │ ├── cashu │ │ ├── check.rs │ │ ├── info.rs │ │ ├── keys.rs │ │ ├── keysets.rs │ │ ├── melt │ │ │ ├── method.rs │ │ │ ├── mod.rs │ │ │ └── quote.rs │ │ ├── mint │ │ │ ├── method.rs │ │ │ ├── mod.rs │ │ │ └── quote.rs │ │ ├── mod.rs │ │ └── swap.rs │ ├── fedimint │ │ ├── admin │ │ │ ├── backup.rs │ │ │ ├── config.rs │ │ │ ├── discover_version.rs │ │ │ ├── federation_ids.rs │ │ │ ├── info.rs │ │ │ ├── join.rs │ │ │ ├── list_operations.rs │ │ │ ├── mod.rs │ │ │ ├── module.rs │ │ │ └── restore.rs │ │ ├── ln │ │ │ ├── await_invoice.rs │ │ │ ├── await_pay.rs │ │ │ ├── invoice.rs │ │ │ ├── list_gateways.rs │ │ │ ├── mod.rs │ │ │ ├── pay.rs │ │ │ └── switch_gateway.rs │ │ ├── mint │ │ │ ├── combine.rs │ │ │ ├── mod.rs │ │ │ ├── reissue.rs │ │ │ ├── spend.rs │ │ │ ├── split.rs │ │ │ └── validate.rs │ │ ├── mod.rs │ │ └── wallet │ │ │ ├── await_deposit.rs │ │ │ ├── deposit_address.rs │ │ │ ├── mod.rs │ │ │ └── withdraw.rs │ └── mod.rs ├── mod.rs └── ws.rs ├── state.rs └── utils.rs /.cargo/config.toml: -------------------------------------------------------------------------------- 1 | [build] 2 | rustflags = ["--cfg", "tokio_unstable"] 3 | 4 | [env] 5 | RUST_LOG = "info" 6 | -------------------------------------------------------------------------------- /.config/flakebox/.gitignore: -------------------------------------------------------------------------------- 1 | tmp/ 2 | -------------------------------------------------------------------------------- /.config/flakebox/bin/flakebox-in-each-cargo-workspace: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/.config/flakebox/bin/flakebox-in-each-cargo-workspace -------------------------------------------------------------------------------- /.config/flakebox/id: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/.config/flakebox/id -------------------------------------------------------------------------------- /.config/flakebox/shellHook.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/.config/flakebox/shellHook.sh -------------------------------------------------------------------------------- /.envrc: -------------------------------------------------------------------------------- 1 | use flake 2 | -------------------------------------------------------------------------------- /.github/workflows/flakebox-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/.github/workflows/flakebox-ci.yml -------------------------------------------------------------------------------- /.github/workflows/flakebox-flakehub-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/.github/workflows/flakebox-flakehub-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | .env 3 | fm_client_db 4 | .cargo 5 | .vscode 6 | -------------------------------------------------------------------------------- /.replit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/.replit -------------------------------------------------------------------------------- /.rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/.rustfmt.toml -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/Cargo.toml -------------------------------------------------------------------------------- /JUSTFILE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/JUSTFILE -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/README.md -------------------------------------------------------------------------------- /assets/federated-cashu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/assets/federated-cashu.jpg -------------------------------------------------------------------------------- /example.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/example.env -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/flake.nix -------------------------------------------------------------------------------- /misc/git-hooks/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/misc/git-hooks/commit-msg -------------------------------------------------------------------------------- /misc/git-hooks/commit-template.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/misc/git-hooks/commit-template.txt -------------------------------------------------------------------------------- /misc/git-hooks/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/misc/git-hooks/pre-commit -------------------------------------------------------------------------------- /mprocs-new.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/mprocs-new.yaml -------------------------------------------------------------------------------- /mprocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/mprocs.yaml -------------------------------------------------------------------------------- /scripts/mprocs-nix-gateway.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/scripts/mprocs-nix-gateway.sh -------------------------------------------------------------------------------- /scripts/mprocs-nix.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/scripts/mprocs-nix.sh -------------------------------------------------------------------------------- /scripts/mprocs-user-shell.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/scripts/mprocs-user-shell.sh -------------------------------------------------------------------------------- /src/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/config.rs -------------------------------------------------------------------------------- /src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/error.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/router/handlers/cashu/check.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/cashu/check.rs -------------------------------------------------------------------------------- /src/router/handlers/cashu/info.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/cashu/info.rs -------------------------------------------------------------------------------- /src/router/handlers/cashu/keys.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/cashu/keys.rs -------------------------------------------------------------------------------- /src/router/handlers/cashu/keysets.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/cashu/keysets.rs -------------------------------------------------------------------------------- /src/router/handlers/cashu/melt/method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/cashu/melt/method.rs -------------------------------------------------------------------------------- /src/router/handlers/cashu/melt/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/cashu/melt/mod.rs -------------------------------------------------------------------------------- /src/router/handlers/cashu/melt/quote.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/cashu/melt/quote.rs -------------------------------------------------------------------------------- /src/router/handlers/cashu/mint/method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/cashu/mint/method.rs -------------------------------------------------------------------------------- /src/router/handlers/cashu/mint/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/cashu/mint/mod.rs -------------------------------------------------------------------------------- /src/router/handlers/cashu/mint/quote.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/cashu/mint/quote.rs -------------------------------------------------------------------------------- /src/router/handlers/cashu/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/cashu/mod.rs -------------------------------------------------------------------------------- /src/router/handlers/cashu/swap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/cashu/swap.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/admin/backup.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/admin/backup.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/admin/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/admin/config.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/admin/discover_version.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/admin/discover_version.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/admin/federation_ids.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/admin/federation_ids.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/admin/info.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/admin/info.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/admin/join.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/admin/join.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/admin/list_operations.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/admin/list_operations.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/admin/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/admin/mod.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/admin/module.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/admin/module.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/admin/restore.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/admin/restore.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/ln/await_invoice.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/ln/await_invoice.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/ln/await_pay.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/ln/await_pay.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/ln/invoice.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/ln/invoice.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/ln/list_gateways.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/ln/list_gateways.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/ln/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/ln/mod.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/ln/pay.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/ln/pay.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/ln/switch_gateway.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/ln/switch_gateway.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/mint/combine.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/mint/combine.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/mint/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/mint/mod.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/mint/reissue.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/mint/reissue.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/mint/spend.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/mint/spend.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/mint/split.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/mint/split.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/mint/validate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/mint/validate.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/mod.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/wallet/await_deposit.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/wallet/await_deposit.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/wallet/deposit_address.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/wallet/deposit_address.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/wallet/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/wallet/mod.rs -------------------------------------------------------------------------------- /src/router/handlers/fedimint/wallet/withdraw.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/fedimint/wallet/withdraw.rs -------------------------------------------------------------------------------- /src/router/handlers/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/handlers/mod.rs -------------------------------------------------------------------------------- /src/router/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/mod.rs -------------------------------------------------------------------------------- /src/router/ws.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/router/ws.rs -------------------------------------------------------------------------------- /src/state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/state.rs -------------------------------------------------------------------------------- /src/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kodylow/fedimint-http/HEAD/src/utils.rs --------------------------------------------------------------------------------