I have pushed the repositories for my native SwiftUI app CocoCashuApp that I have developed with great inspiration from nostr:npub1mhcr4j594hsrnen594d7700n2t03n8gdx83zhxzculk6sh9nhwlq7uc226 coco-cashu. CocoCashuApp is a native, cross-platform Cashu wallet for iOS and macOS, built specifically for the Swift ecosystem. CocoCashu demonstrates how to build a self-custodial ecash wallet using the CocoCashuSwift library at https://github.com/imyrvold/CocoCashuSwift. The app itself is available at https://github.com/imyrvold/CocoCashuApp.

Reply to this note

Please Login to reply.

Discussion

Looks like a period at the end of the URL’s destroys the opening of my repositories. Here are the repositories: https://github.com/imyrvold/CocoCashuApp and https://github.com/imyrvold/CocoCashuSwift

This looks great! Lots is still mocked, right? I have only quickly glanced over the files, maybe I was looking in the wrong place.

You might want to look into CDK as well. It’s a battle-tested Cashu implementation written in rust and they got Swift bindings too!

I have tested minting, sending/receiving tokens, and it seems to work. All with real sats. There is probably a lot of bugs in the code, so it should be used with care. I have developed this (with a lot of help from Google Gemini) to learn how Cashu wallets work, but I have still a lot to learn.