Commit Graph

50 Commits

Author SHA1 Message Date
thesimplekid
fef1cda009 refactor(flake): remove crane build system and simplify flake dependencies
Remove crane and fenix dependencies along with their associated build
infrastructure. This simplifies the flake to focus on development
environments while removing package builds and applications.
2025-07-26 08:01:29 -04:00
thesimplekid
4028824b1a feat: mprocs regtest 2025-07-08 10:48:22 +01:00
thesimplekid
b7591d5750 fix: msrv of mintd pest 2025-06-16 13:42:27 +01:00
thesimplekid
54b061340f chore: fix msrv shell 2025-06-04 22:53:57 +01:00
thesimplekid
d1e5b378cd chore: update flake 25.05 remove nix cache (#769) 2025-05-28 10:09:45 -04:00
thesimplekid
06a3237977 chore: update stable rust to 1.86.0 2025-04-22 10:12:15 +01:00
thesimplekid
f4c857c3e7 Nutshell wallet (#695)
* chore: Add nutshell wallet integration test script

feat: Add MINT_URL configuration for docker container in nutshell wallet integration test script

chore: Make nutshell_wallet_itest.sh executable

fix: Update MINT_URL to use host.docker.internal for Docker container access

feat: Add Docker container startup for Cashu daemon in wallet integration test script

chore: Update Docker image to use Docker Hub repository

feat: Add cleanup trap to stop Docker container and unset variables

feat: Add initial test stub for nutshell wallet mint functionality

test: Add Cashu wallet mint integration test

feat: Add just command for nutshell wallet integration test

refactor: Organize imports and improve code formatting in nutshell wallet test

fix: Update Cashu Docker image and test URL for correct container access

fix: Update Docker container name and image for Cashu wallet test script

fix: Handle Docker container name conflict in nutshell wallet integration test

fix: Update Docker image to cashubtc/nutshell:latest in wallet integration test script

feat: Add support for running separate Nutshell mint and wallet containers

feat: Update Nutshell mint and wallet container configurations for integration testing

fix: Update wallet port and container configuration in integration test script

chore: Export MINT_URL and WALLET_URL as environment variables

fix: Update invoice creation and state checking in nutshell wallet test

fix: Update MINT_URL to use host.docker.internal for container access

fix: Update nutshell wallet mint test to handle invoice payment state

refactor: Improve Nutshell wallet test with better error handling and robustness

refactor: Improve code formatting and logging in nutshell wallet test

refactor: Replace anyhow with expect for error handling in Nutshell wallet test

refactor: Simplify error handling in Nutshell wallet mint test

refactor: Replace `?` with `expect()` in Nutshell wallet test

refactor: Simplify nutshell wallet test by removing unused code and improving error handling

refactor: Extract minting and balance helper functions in nutshell wallet test

feat: Add test for Nutshell wallet token swap functionality

fix: Trim quotes from token in nutshell wallet swap test

refactor: Remove debug print statements and improve code readability

refactor: Improve test_nutshell_wallet_melt with payment state checking and balance verification

refactor: Update Nutshell wallet integration test script configuration

feat: Extract common mint startup function into shared script

refactor: Simplify nutshell wallet integration test script and improve startup process

feat: Add mintd process termination and test status capture in integration test script

refactor: Capitalize env vars and ensure comprehensive cleanup in trap

feat: nutshell wallet test

* ci: Add test step for Nutshell wallet integration tests

* ci: Split Nutshell integration tests into separate jobs

* feat: nutshell wallet test

* ci: Add Docker setup and increase timeout for Nutshell wallet integration tests

* chore: Improve Nutshell wallet integration test script robustness

* fix: Remove -i flag from Nix develop and improve Docker accessibility check

* fix: payment processor

* fix: wallet tests

* feat: Add integration shell with Docker and Rust stable for testing

* ci: Simplify Nutshell wallet integration test workflow and script

* fix: Improve mintd endpoint detection and error handling in integration test script

* fix: wallet tests
2025-03-30 13:08:00 +01:00
ok300
240e22c96a Remove stale crate references (#692) 2025-03-28 14:49:07 +00:00
thesimplekid
be93ff2384 Clear and Blind Auth (#510)
* feat: auth

* chore: corret error codes

* chore: corret error codes

* fix: feature auth in cdk-axum

* refactor: auth logging

* feat: include dleq in auth proof

* feat: mint max auth proofs

* chore: clippy
2025-03-24 11:13:22 +00:00
thesimplekid
619a89060c chore: msrv of half 2025-03-14 11:15:51 +00:00
thesimplekid
e84d6ea7ab chore: Update rust-version (MSRV) to 1.75.0 (#623) 2025-03-05 10:32:41 +00:00
thesimplekid
a8ec52612b Refactor mint tranactions checks (#585)
* refactor: consolidate validation checks

* refactor: melt verification checks

* refactor: mint verification

* chore: clippy

* chore: use error codes

* fix: order of verifications

* fix: p2pk test ws updates

We only expect the proof to be set to pending once. As a proof without
a signature failes before the spent check where the state is chaged.

* fix: mint_melt regtest frome wait
2025-02-08 11:17:44 +00:00
thesimplekid
47ee54d7f5 feat: mint management rpc server and client cli 2025-02-06 12:05:13 +00:00
thesimplekid
8f5764aad2 feat: restart minting in cdk-cli with quote id 2025-02-06 10:46:18 +00:00
thesimplekid
e22510e215 chore: update flake 2025-02-05 12:01:59 +00:00
thesimplekid
c9c2061773 chore: update nix channel 2025-01-22 13:40:49 +00:00
thesimplekid
d7e84aea9a chore: update stable rust 2025-01-06 14:09:44 +00:00
thesimplekid
90f9f668e1 chore: db msrv 2024-12-23 11:05:56 -05:00
thesimplekid
003a8f1b47 feat: signature on mint witness 2024-12-23 10:25:42 -05:00
thesimplekid
064c596028 Merge pull request #472 from ok300/ok300-cdk-support-compression
`mintd`: Add support for HTTP compression
2024-12-14 22:50:27 +00:00
ok300
824bce5d37 mintd: add support for HTTP compression 2024-12-14 22:37:06 +00:00
thesimplekid
a0dca228b9 nix mintd pkg (#486) 2024-12-05 10:01:32 +00:00
thesimplekid
4cefe875f1 feat: melt startup check into cdk 2024-11-18 09:18:51 +00:00
thesimplekid
2231a54911 chore: rust comps as extentions 2024-11-15 19:38:59 +00:00
thesimplekid
f3be8fe393 feat: remove precommit use in ci 2024-11-15 19:38:59 +00:00
thesimplekid
ef456c4d7b fix: db msrv 2024-11-09 21:03:12 +00:00
thesimplekid
5e26332a45 chore: define specfic rust version in flake 2024-11-04 21:13:25 +00:00
thesimplekid
75fc00a37f fix: msrv pin url 2024-11-04 19:55:20 +00:00
ok300
dffc30233c mintd: add utoipa swagger UI 2024-10-22 08:32:56 +02:00
lollerfirst
c25bf79e8c Cache SwapResponse, MeltBolt11Response and MintBolt11Response (#361)
* added cache to mint state and post request wrapper macro.
---------

Co-authored-by: thesimplekid <tsk@thesimplekid.com>
2024-10-05 11:18:23 +02:00
thesimplekid
e67f32a474 fix: flake 2024-09-21 11:13:30 +02:00
thesimplekid
117443d126 feat: store melt_quote_id for proof 2024-09-21 11:13:30 +02:00
thesimplekid
f9bb5eb913 feat: itests
fix: melt change promises amount
2024-09-19 11:43:43 +02:00
thesimplekid
54e67b5386 chore: pin tokio 2024-09-05 12:03:46 +01:00
thesimplekid
d3ab752bd4 chore: pin tokio stream 2024-09-05 12:00:00 +01:00
thesimplekid
df69243720 chore: typos 2024-09-05 11:51:41 +01:00
thesimplekid
823f7a35f8 fix: cln msrv 2024-09-05 09:29:58 +01:00
thesimplekid
c4925aae9f fix: sqlx msrv 2024-09-04 16:27:43 +01:00
thesimplekid
13f803de82 chore: flake default to stable 2024-09-03 12:38:38 +01:00
thesimplekid
1eb14703a5 refactor: cdk MSRV 2024-09-03 12:35:35 +01:00
thesimplekid
bc3b7b28c3 chore: fmt flake and add custom justfile 2024-08-31 16:40:56 +01:00
thesimplekid
029f922326 feat: lnd ln backend 2024-08-31 16:04:06 +01:00
thesimplekid
65163b89bc refactor: check scripts for justfile
chore: ci run examples
2024-08-19 14:48:45 +02:00
thesimplekid
e4d0af8c4c chore: update nix version 2024-07-01 22:17:37 +01:00
thesimplekid
a07364c5c6 feat(mint/sqlite): use sql migrations 2024-06-12 15:43:37 +01:00
thesimplekid
7ea7e0bda0 feat: js bindings 2024-05-10 11:27:32 +01:00
thesimplekid
54a0b13104 chore: add cdk-redb to precommit check 2024-04-24 17:06:35 +01:00
kody.low
3cec49ce0d fix: flake 2024-04-07 08:38:25 -07:00
thesimplekid
f192a53c03 chore: update nix flake 2023-12-19 21:44:47 +00:00
thesimplekid
bf5ea01c1f improve: nix flakebox fmt 2023-10-22 18:36:52 +01:00