OpenChat: A decentralized product that can truly replace WhatsApp

OpenChat functions similarly to WhatsApp, with the difference that OpenChat runs entirely on Internet computers and is the world’s first blockchain application with Internet scale.

Earlier this year, WhatsApp announced a revised and updated privacy policy that requires users to accept that their account details including: phone numbers, metadata (data that describes data, primarily information that describes data attributes and is used to support features such as indicating storage locations, historical data, resource lookups, file logs, etc.), financial transactions, log reports, location, device identifiers, and IP addresses will be shared with Facebook’s requirements. Users were told that if they did not accept the new privacy policy, they risked losing access to their accounts. This caused a heated debate in the community, and eventually the policy changed: if users did not accept it, the communications program would gradually reduce its level of service to users from now on until they were completely inaccessible.

This is the reason for building OpenChat, a decentralized messaging service application that functions very similarly to existing messaging applications such as WhatsApp and Signal, the main difference being that OpenChat runs end-to-end on a blockchain Internet computer.

OpenChat: A decentralized product that can truly replace WhatsApp

You can try the Alpha version by opening the link (the Alpha version of the product still requires full functional testing and is not yet fully functional, but it meets general requirements and is the first major stage in the entire software development cycle).

User chat message data is processed and maintained by a chain of high-level smart contracts, called “containers” in Internet computer languages because they are a bunch of network assembly bytecodes and persistent memory pages, and run in parallel using a software participant model that allows data applications to scale.

OpenChat’s architecture will allow it to reach millions of users while still being free for the average user, a situation that was not previously possible when a scalable system was built on a public blockchain and was cheap enough to be made available to users for free. Furthermore, at the time of writing, the cost of storing 1 GB of data on Ether is $60.86 million (after recently peaking at $869 million), and its storage cost will remain stable at around $5/year/per GB/per GB due to its scalable architecture and Chain Key that allows Internet computers to run efficiently.

Once the token is enabled on the Internet computer, OpenChat will become an open Internet application, which means that the Dapp will be completely decentralized and managed entirely by the community – no company will track and sell user data. tokens will be widely distributed to users around the world to enable decentralized decision making and incentivize user participation in platform governance. As an open Internet application, all changes to the program must be made through public governance proposals. Any OpenChat token holder who wants to participate in the governance of the platform can vote on these proposals, and only those proposals that receive sufficient support will be adopted and implemented.

OpenChat is being offered in limited quantities as it is in beta, currently limited to 10,000 users, and its code will soon be made public and open to any developer who wants to participate in OpenChat. The emergence of open internet applications will reward developers with OpenChat tokens for bug fixes in application features, thus creating a great open product. In the meantime, end users will be able to enjoy a secure, open chat application!

A brief technical description of the OpenChat system

The chat system runs on a smart contract on the Internet computer blockchain where all messages are processed and stored by the smart contract, but the Internet computer still takes 2 seconds to complete changing the state of the transaction. Therefore, trying to run the smart contract in advance using WebRTC can be faster and keep it online during the chat. The smart contract agent establishes a peer-to-peer WebRTC connection between the web browsers hosting the chat.

It is important to note that a smart contract on an Internet computer can securely transmit interactive web content to the end user’s browser, and that content can then securely interact with the smart contract. Thus, the open chat system uses blockchain to provide its functionality end-to-end and does not rely on cloud services or any other centralized and insecure technology.

To scale using a simple architecture, a new container smart contract will be created for each user, which will store a copy of the chat history and configuration information, and the inherent security of Internet computers means that users can only access their own container data, or in the case of group chats, the chat data within the group.

Once the code becomes open source, the version of software running on each container can be identified and verified, and linked to a specific version in the source code management. In addition, as an open Internet application, OpenChat will function as a governance system similar to the NNS, so that only proposals voted on and accepted by OpenChat token holders worldwide can be implemented. Given the secure nature of Internet computers, where software visibility is maintained at all times, the OpenChat community itself will be responsible for approving each software modification measure, and once SEV-ES is enabled on an Internet computer node, users can be confident that their data will not be accessed and stolen by anyone other than themselves, now or in the future.

For enhanced security, OpenChat will provide end-to-end encryption on an already secure network of Internet computers. With this option enabled, chat participants can only access chat data on their own devices, and if they access it using another device, the associated data will be encrypted again, similar to the way WhatsApp protects user data, but this means that the only way to search chat history is through their own device.

As mentioned earlier, chat history will be stored in the relevant smart contract created for its owner. Currently, however, single-tank smart contracts can only use up to 4GB of persistent memory, and while this will increase in the future, this will limit the amount of chat history data that some users wish to save. To address this issue, we will provide users with the ability to maintain stored images and videos in a BigMap smart contract database created on the blockchain that can store an unlimited amount of data. Such widely shared media only needs to be stored once, which is more efficient and cost effective, albeit at the cost of introducing some privacy issues – but which will be addressed in the future.

Functional Features

The following are features that OpenChat currently offers and that other communication software also has.

The ability to send messages to other users and set when OpenChat will receive the message and have it read by the recipient.

The ability to send media messages, such as photos and videos.

Instant messaging for online users.

Ability to see if a contact is currently typing a message.

Group chat feature.

The ability to see if a message is waiting for a reply, even if OpenChat is not open in the browser.

Here are some features of OpenChat that are not available in other messaging applications.

Blockchain authentication technology that allows users to log in anonymously and securely using any of their devices without a username or password (essentially, the WebAuthn protocol allows a web browser to integrate with a TPM chip, such as through a fingerprint sensor on a Mac Book, a face ID system on a phone, or an HSM device such as a YubiKey).

Once SEV is enabled on the node machine hosting the Internet computer blockchain network, it is possible to search the entire chat history without compromising security.

The ability to send loops to other developers for driving calculations on Internet computers – as well as other advanced tokenization features, which have not yet been announced.

Future plans.

In the near future, as open chat transforms into an open Internet application, early adopters and contributors will be rewarded with open chat tokens that can be used to participate in the governance of the service, which will be governed using the service neural system model, a networked neural system from an Internet computer. Users should participate in the services they have become valuable through governance, and eventually should also become part of a team that is rewarded by participating in tasks such as public chat groups that serve as forums.

Posted by:CoinYuppie,Reprinted with attribution to:
Coinyuppie is an open information publishing platform, all information provided is not related to the views and positions of coinyuppie, and does not constitute any investment and financial advice. Users are expected to carefully screen and prevent risks.

Like (1)
Donate Buy me a coffee Buy me a coffee
Previous 2021-06-07 10:31
Next 2021-06-07 10:36

Related articles