Avatar
Minibits
b33bf9e97b78f35694a02e6bbef8e77059373e42b0a85a63f25a50ebfdadf50d
₿ ecash and lightning wallet for instant, low-cost and private value transfers.
Replying to Avatar ciori

nostr:npub12rv5lskctqxxs2c8rf2zlzc7xx3qpvzs3w4etgemauy9thegr43sf485vg nostr:npub1kvaln6tm0re4d99q9e4ma788wpvnw0jzkz595cljtfgwhldd75xsj9tkzv I really like the idea behind the minibits ln address to cashu mint flow, and it made me think about this: is there a way to achieve the same thing, but without being dependent from a specific wallet app (nothing against minibits in particular, I am just reasoning about this from a general point of view). So a ln address service that will lock all the received sats on a user specified cashu mint based on some logic (nostr pubkey, wallet seed, etc...). I might be saying stupid things here as I am not an expert on these topics, but I like the general idea.

The flow is as follows:

1. Address is parsed by the wallet and Lnurl well-known link is constructed

2. Lnurl link is requested by sender wallet, retrieving min/max limits and an url to get invoice next

3. Invoice for specific amount is requested by wallet. Server requests quote from the mint that includes an invoice and est fee and passes that to the senderwallet. Server stores related data.

4. Server checks with the mint if an invoice has been paid.

5. If so, server constructs blinded messages for paid amount and asks mint for ecash

6. Server stores retrieved ecash and uses some way (push message+claim api or nostr dm) to send the ecash to the receiving wallet.

7. Wallet receives (swaps ecash for fresh notes with the mint)

So eventually this could be generalized in terms of mints. Because server needs to know how to reach recieving wallet, not sure it can be easily done on the receiving wallet side.

Give us some time, it's in the making / testing by community contributors, instructions will follow.

Have you been using it with your own mint behind tor so far?

If you're not on v0.1.8 please get native upgrade from Play or github. Namely v0.1.6 and before are not safe to be used, missing many fixes and changes.

You're right, as per 0.1.8 release notes, tor daemon had to go (not maintained and broke the app build).

However in the process to make v0.1.8 work with mints behind tor using Orbot. Once successfully tested and released, there will be how-to added to the github readme.

Replying to Avatar ciori

nostr:npub1lxktpvp5cnq3wl5ctu2x88e30mc0ahh8v47qvzc5dmneqqjrzlkqpm5xlc Hi, I saw the last minibits update with support for a "@minibits.cash" LN address, and given your experience with these kind of stuff I wanted to ask you: do you know if I am forced to use their minibits app, or could I just use another cashu wallet imported from the same seed generated with minibits?

Easiest way to move ecash to another wallet is just send it there, no need to run the recovery from seed.

Another than Minibits wallet won't be able to receive funds sent to minibits.cash lightning address - seed recovery there regenerates ecash only with help of the mint.

Hi write me a dm and add version you are running and eventually audit trail of related error transactions if any.

Replying to Avatar Leito

nostr:npub1kvaln6tm0re4d99q9e4ma788wpvnw0jzkz595cljtfgwhldd75xsj9tkzv is receiving zaps broken at te moment ? I don't seem to be receiving them

As well check you use latest version in dev settings - 0.1.8-beta.28

Replying to Avatar Leito

nostr:npub1kvaln6tm0re4d99q9e4ma788wpvnw0jzkz595cljtfgwhldd75xsj9tkzv is receiving zaps broken at te moment ? I don't seem to be receiving them

Zapped you just now. Try app restart and dm me any error you'd see. I'll check in the evening if there is some unclaimed to your address.

Ah I see the pic up the thread. That's it. Please go to Backup and Recovery, copy seed phrase and run through Wallet address recovery. It will sync missing profile authentication params necessary for claim to pass and solve it - restart after to force claim.

Do you run latest version 0.1.8-beta.27 and if so do you see any popup with error message on app start?

Please check. There are cases where claiming fails an latest version prints a warning.

Sent you test zap. Please post which version you are running from dev options screen. Will check on server and re-publish any not yet claimed if any later when at the pc

Sent you test zap. Please post which version you are running from dev options screen. Will check on server and re-publish any not yet claimed if any later when at the pc

Replying to foxy

[{"status":"DRAFT","mintBalanceToSendFrom":{"mint":"https://legend.lnbits.com/cashu/api/v1/AptDNABNBXv8gpuywhx6NV","balance":2},"createdAt":"2024-05-20T01:00:36.796Z"},{"status":"PREPARED","proofsToSend":[{"id":"Oy7FuFDashzo","amount":2,"secret":"7psIKYzVQfNHeUXO3NX+KSAVxbFC1jBU7DzmxVI3CUQ=","C":"021a7a8ced09acaa83ea7f55431958c48ad68a1d663a25b9a2834f41ff40155b3b"}],"createdAt":"2024-05-20T01:00:37.300Z"},{"status":"PENDING","encodedTokenToSend":"cashuAeyJ0b2tlbiI6W3sibWludCI6Imh0dHBzOi8vbGVnZW5kLmxuYml0cy5jb20vY2FzaHUvYXBpL3YxL0FwdEROQUJOQlh2OGdwdXl3aHg2TlYiLCJwcm9vZnMiOlt7ImlkIjoiT3k3RnVGRGFzaHpvIiwiYW1vdW50IjoyLCJzZWNyZXQiOiI3cHNJS1l6VlFmTkhlVVhPM05YK0tTQVZ4YkZDMWpCVTdEem14VkkzQ1VRPSIsIkMiOiIwMjFhN2E4Y2VkMDlhY2FhODNlYTdmNTU0MzE5NThjNDhhZDY4YTFkNjYzYTI1YjlhMjgzNGY0MWZmNDAxNTViM2IifV19XSwibWVtbyI6IlNlbnQgZnJvbSBNaW5pYml0cyB3YWxsZXQifQ","createdAt":"2024-05-20T01:00:37.448Z"}]

No error. Receiving wallet never received so tx stays pending. Legend server mints are likely not live anymore, if that's the case then receiving won't work.