Added a transfer funds handler using a-frame and wolverine.

This commit is contained in:
2026-07-14 16:57:03 +02:00
parent 9de9777926
commit 0de38ef2df
7 changed files with 105 additions and 25 deletions
@@ -53,4 +53,10 @@ app.MapPost("/accounts/apply-fee", async (ApplyFeeCommand cmd, IMessageBus bus)
return Results.Accepted();
});
app.MapPost("/accounts/transfer", async (TransferFundsCommand cmd, IMessageBus bus) =>
{
await bus.InvokeAsync(cmd);
return Results.Accepted();
});
app.Run();