Replying to Avatar heatherm

Hey, have fun! PurrMint v0.0.1 Alpha is now live!

PurrMint app is a Mobile Cashu Mint - you can now run your own Cashu mint directly on your Android phone!

Built with Rust + Kotlin, using CDK + Nostr Rust libraries - Thanks nostr:npub12rv5lskctqxxs2c8rf2zlzc7xx3qpvzs3w4etgemauy9thegr43sf485vg nostr:npub1drvpzev3syqt0kjrls50050uzf25gehpz9vgdw08hvex7e0vgfeq0eseet for these amazing libraries πŸ™

GitHub: https://github.com/heathermm55/purrmint

Download: https://github.com/heathermm55/purrmint/releases

Core Features:

1.Mintd HTTP Mode: Start a local HTTP service

2.NIP-74 Mode: Run as a public mint using Nostr protocol (coming soon)

3.Onion Mode: Generate onion addresses for your mint (coming soon)

How to test Your Mint:

1.Open the PurrMint app

2.Login with your Nostr account

3.Select Lightning backend. Start with Fake Wallet for testing, configure LNbits/CLN for real Lightning

Connect Your Wallet:

1.Open wallet.cashu.me in your mobile browser

2.Add your mint: http://127.0.0.1:3338

3.Start using ecash

What is the use case you imagine for this?

Reply to this note

Please Login to reply.

Discussion

Imagine if every nostr account could easily run a mint on their phone, and any ecash they receive could be instantly swapped into their own mint.

Would you still worry about the centralization of ecash mint servers?

Then you'd end up paying LN fees anyway, why not just use LN itself?

Though

ecash is a digital bearer token β€” it’s private and programmable, which LN doesn’t offer.

Yes, but if every ecash tx is from one mint to another then you are doing LN txs anyway.

Hmm, yes, the implementation can be tricky. Ideally, the mint should be online all the time since it has a Lightning (LN) node behind it, or the LN backend should be running elsewhere. What is your approach for this?

Also, imagine you are receiving SATs through Nostr via nutzaps, not zaps (which would involve Lightning). When you receive these nutzaps, you have to mint them to your mint (since it is not publicly accessible). When you want to pay with them, you will also have to swap them to an online mint. Otherwise, the receiver most probably will not be able to redeem or melt them, as your mint on the phone has to be online and reachable.

At the end, it feels like the goal of running the mint on the phone works more like an accountability system. For that purpose, creating a simple wallet would be simpler.

Happy to hear your thoughts, my assumptions might be wrong if you have ideas to deal with these stuff

It's for users who don't care if the mint gets randomly killed by the OS... πŸ€·β€β™‚οΈ

OTOH mint owners I guess can use it to ensure some future cooperation in order to come online so they can be redeemed. Like giving someone a valid check that you must actively help to cash after work is done πŸ€·β€β™‚οΈ

(Also fwiw, the OS shouldn't kill it unless it's a reboot or something, so this might be a fine repurposing of an old phone)

I still think it's weird 🀣