Cashu Protocol
The Cashu protocol defines 3 types of interactions that can happen between a client and a mint, where the client can exchange:
- bitcoin for ecash tokens (mint)
- ecash tokens for bitcoin (melt)
- ecash tokens for ecash tokens (swap)
The core goal of the cashu-client
library is to handle all 3 of those interactions as well as the creation, serialization, and storage of the ecash tokens.