Skip to content

Welcome to 0xchat

Welcome to 0xChat⚡️

0xchat is a secure chat app built on the Nostr protocol. It prioritizes security, featuring private key login, encrypted private chats and contacts, encrypted group chats, and lightning payments(Cashu). Additionally, it also offers an open communication platform through public channels.

0xchat Download links:

Features

No Registration Required

As a chat client based on the Nostr protocol, we only require the creation of a Nostr account to log in; there is no need to register through a phone number, email, or any other means. You must safeguard your nsec key, as it allows you to control your own data. Additionally, your Nostr account is compatible with other Nostr clients.

Secure DM

Currently, we support three types of direct messages (DMs), Please review the provided links for a deeper understanding of each DM type:

NIP-04 DM is the most widely used DM type in nostr, but it is not our recommended option currently because NIP-04 is not private in terms of DMs. Even though the content is encrypted, it leaks a lot of metadata. We do not use this DM type by default but are compatible with NIP-04 DM from other nostr clients.

This is our default and recommended DM type. By using Gift-Wrapped for event messages, it minimizes metadata leakage. Not only is the message content encrypted, but the sender and the timestamp are also concealed. Moreover, the encryption algorithm employed is the latest audited NIP-44 algorithm.

Secret Chat is our third DM type, an extension of the Gift-Wrapped DM. Since Gift-Wrapped DM does not support forward secrecy, if a user's private key is compromised, all DM messages could be recovered. Therefore, we added a NIP-101 key exchange protocol to ensure each message session uses a different receiver key, securing forward secrecy. Additionally, we have incorporated the option to select a fixed relay for these sessions, allowing messages to be transmitted through a single trusted relay for both parties.

If you wish to recover your private chat messages on a different Nostr client or new device, we recommend using our default Gift-Wrapped DM. For more confidential conversations, you can initiate a Secret Chat with your friend, which requires their consent to establish a secret chat session. Please note that without backing up your chat database, you cannot retrieve historical messages if you switch devices or Nostr clients.

Private Group

For private group, we combine NIP-28 and NIP-59 to support group member management, where group messages, processed through gift-wrapping, are sent to all group members, ensuring messages are received only by group members even with frequent joins and leaves.

Since our private group chats do not use a shared group private key, each group message is individually encrypted and sent to group members, which is not ideal for large groups. After testing, the 0xchat app, with a multi-threading approach, can support private groups well with fewer than 200 members.

Open Channels

We also provide an open channels feature, compatible with other nostr clients. These channels are public, allowing anyone to join and speak, with message content visible to all. This feature is primarily aimed at fostering community and enhancing chat enjoyment.

Audio & Video Call

We also offer E2EE audio and video call functionalities between contacts. Signaling communication is conducted through Nostr relay using NIP-100, with actual audio and video calls facilitated via ICE servers.

If you wish to protect your privacy further, you have the option to set up your own relay and ICE services. Within the 0xchat app, you can select these self-hosted services for your relay and ICE interactions. By doing so, both signaling and ICE services will only pass through your own infrastructure.

Push Notifications

0xchat proposes a push notification method for Nostr, where the push configuration is set up by sending DM messages to the push server. The push server then forwards the notifications to the corresponding distributor, which is responsible for relaying the push messages to the app.

In the latest Android version, we have integrated Unifiedpush with an embedded FCM distributor, also allowing users to select their preferred distributor in the settings.

Lightning Payment ⚡️

For lightning payment, we have integrated a Cashu wallet into the app, utilizing the Lightning Network for ecash deposits and withdrawals. Within the app, users can send Ecash to friends and group members. The Ecash is stored locally, anonymizing ownership and effectively protecting user privacy.

If you want to learn more about Cashu, please check here.

Badge Collections

Finally, we offer a badge collection feature, where you can obtain badges of different levels by making donations to us. You can set these badges as your profile picture and also enjoy the corresponding privileges.

Future Enhancements

We continuously aim to improve and enhance the features. Stay tuned for future updates!

Some important planned features:

  • Threads, mentions, reactions
  • Zap Red Envelopes between friends
  • P2P audio/video calling
  • Private group
  • Cashu wallet Integration
  • Audio/video chat room
  • Private notes
  • Desktop&Tablets versions

Pinned

  1. nostr-dart nostr-dart Public

    This is a Dart implementation of the Nostr protocol

    Dart 14 3

  2. 0xchat-core 0xchat-core Public

    0xchat-core, built on Nostr

    Dart 38 2

Repositories

Showing 8 of 8 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Dart C++

Most used topics

Loading…