Avatar
thesimplekid
04918dfc36c93e7db6cc0d60f37e1522f1c36b64d3f4b424c532d7c595febbc5
Grantee @spiralbtc working on Cashu Dev Kit DMs: @thesimplekid:matrix.org β‚Ώtsk@thesimplekid.com

You don't have to, cashu wallets pay ln address.

Curious how you're thinking you would do it? Accept tokens from any mint and instantly redeem?

Nut 11 will allow cashu to be only spendable by a specific nostr key. So that will fix it

Bots claim the ones posted publicly anyway

Yeah this is partially an issue with the ts lib that enuts uses and the rust lib cashu-lnurl uses any mint with a trailing slash will fail in the ts lib and the rust lib will always append a trailing /. I've created a PR to fix it in the ts lib. And I've updated the rust lib so it will not append a / if one is not intentionally set by the client.

https://github.com/cashubtc/cashu-ts/pull/87#pullrequestreview-1633300612

cashuAeyJ0b2tlbiI6W3sibWludCI6Imh0dHBzOi8vODMzMy5zcGFjZTozMzM4LyIsInByb29mcyI6W3siYW1vdW50IjoxLCJzZWNyZXQiOiIxT2xWSV9rSFk0bVl2bHhUTGtBemh3PT0iLCJDIjoiMDNlZDYxY2NkNWE1NTVmOWZiYzQ2NzE4MTE1ZjRjZmZiYjJjMGVkODI1NTkyZDczMWEyOTI5M2FiMWJlMDk5ZmRiIiwiaWQiOiJJMnlOK2lSWWZrelQifSx7ImFtb3VudCI6MTYsInNlY3JldCI6InlRczh4azdGbFJRM1BudnRWdUw4YWc9PSIsIkMiOiIwMmJmZTg4NWU0YzdlYWJhYWRlYTQzYmNiYjhlZTNjZGViYmU4ZDg1YmE1NGU3ODdiYTY5ZGY2ZGJhOWJhZDNkNDIiLCJpZCI6IkkyeU4raVJZZmt6VCJ9LHsiYW1vdW50IjozMiwic2VjcmV0IjoiN2k0TGQxYk9UaGVYS2pLR2R1NlRydz09IiwiQyI6IjAzN2UxOWExZGU3N2YyMzdjZTVmZjY1MzkzNTYxZGJkODk4NDgxYzQxNTQ0ODFmNmM1NzdhNTg1YWYzZTYxZmUzYiIsImlkIjoiSTJ5TitpUllma3pUIn1dfV0sIm1lbW8iOm51bGx9

Replying to Avatar thesimplekid

https://github.com/thesimplekid/cashu-lnurl so nothing big. It's just a 1core cloud vps. This was after I changed the rust version and updated the nix flake, its usually quick enough. Thanks for the tip on the shared cache will look at that.

I also think with the krops deployment I use for nix-bitcoin there is way i can build it locally and upload it. Maybe better depending on internet.

https://github.com/thesimplekid/cashu-lnurl so nothing big. It's just a 1core cloud vps. This was after I changed the rust version and updated the nix flake, its usually quick enough. Thanks for the tip on the shared cache will look at that.

Yep. I want to add wrapped invoices and lock tokens to a nostr pubkey with p2pk to reduce trust in the provider. But will always have to trust the provider and the mint

Use rust they said

Oh yeah guess so don't really need to see it

If you want to redeem it to a different ecash wallet you'll need the string