Skip to content

Conversation

@pablof7z
Copy link
Collaborator

Summary

  • Upgrade @cashu/cashu-ts from v2.1 to v3.1
  • Update all class references: CashuWalletWallet, CashuMintMint
  • Migrate to new method names: createMintQuoteBolt11, createMeltQuoteBolt11, meltProofsBolt11
  • Move P2PK handling from SendConfig to OutputConfig parameter
  • Fix keyset access pattern using wallet.keyChain.getCache()

Test plan

  • Build succeeds (JS, CJS, DTS)
  • Tests pass (46 pass, matches baseline)
  • Manual testing with actual mint

- Update @cashu/cashu-ts from ^2.1 to ^3.1
- Rename CashuWallet → Wallet, CashuMint → Mint
- Rename methods: createMintQuote → createMintQuoteBolt11,
  createMeltQuote → createMeltQuoteBolt11, meltProofs → meltProofsBolt11
- Fix static method: CashuMint.getInfo() → new Mint().getInfo()
- Fix keyset access: wallet.keys → wallet.keyChain.getCache()
- Move P2PK handling from SendConfig to OutputConfig parameter
- Move custom denominations to OutputConfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants