mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-30 19:15:20 +01:00
* fix: grpc set mint urls * refactor: Extract payment processor retrieval into helper method * fix: only allow updates to nut04/05 where there is a backend * feat: Add GetQuoteTtl RPC method to retrieve quote TTL settings * fix: update long desctiption
cdk-mintd
Building from source
nix develop
Build
cargo b --bin cdk-mintd -r
Configuration
Copy example config to cdk-mintd working directory.
cp ./example.config.toml ~/.cdk-mintd/config.toml
Edit config file
vi ~/.cdk-mintd/config.toml
Running with Docker
Build the Docker image
docker build -t cdk-mintd .
Run the Docker container with the configuration file mapped
docker run -v ~/.cdk-mintd/config.toml:/root/.cdk-mintd/config.toml cdk-mintd