Avatar
water783
7adb520c3ac7cb6dc8253508df0ce1d975da49fefda9b5c956744a049d230ace
Building for 0xchat & XChat

I've considered that as well, but i also think sending ecash reactions would be as valuable and simple as sending emojis

No, it use NIP-44 encryption

Replying to Avatar rockinhawke

nostr:npub10td4yrp6cl9kmjp9x5yd7r8pm96a5j07lk5mtj2kw39qf8frpt8qm9x2wl is there a way to send ecash or sats thru messages in 0xChat?

Yeah, we have built-in cashu ecash wallet, and you can sent ecash through messages. Just click the β€œ+” button and you will see the ecash option

Replying to Avatar calle

*working on transaction fees for cashu*

This will protect mints from denial of service attacks and incentivize wallets to use good coin selection algorithms to gain an economic advantage.

Fee settings I'm currently using are at 0.1 sats per input, always rounded up the the next smallest denomination (1 sat) at the level of a transaction.

According to these super useful measurements by nostr:npub1thunderat5g552cuy7umk624ct5xe4tpgwr2jcjjq2gc0567wgrqnya79l, around 50% of transactions (up to 1M sats) will have less than 10 inputs (1 sat fees) and almost all will have < 20 (2 sat fees). That's pretty good.

If you are ok with overpaying a couple of sats, the chance of finding a good selection of coins increases substantially which means that as a sender, you can remain offline for most payments.

Good stuff.

Are the fees going to mints?

This is an issue with the implementation of the relay. Storing data in a database is not convenient; using files can be an alternative. Although the cost is high, it can be managed through paid services. This should not be a problem.

The relay should no longer dump. We need to add a β€œadd to follow” event, and then the relay should automatically add the user to the follow list, instead of updating the entire list at once.

This requires the person you DM to also trust the relay, but not everyone trusts the relays you trust.