
At 1 a.m. on May 8th, Beijing time, the much-anticipated "Heavenly King" project DFINITY officially launched the Mercury Beta main network, which means that DFINITY has initially realized the decentralization of Internet computers, making the network nervous system (NNS) an algorithm The governance system can carry thousands of independent data centers and millions of special node machines.
With the maturity of DFINITY, a blockchain-based Internet computer was born. DFINITY is not just a public chain project, but a more complete Internet service based on blockchain, which is a huge innovation no less than Ethereum and Bitcoin.
In order to welcome this historic moment in the industry, DFINITY, together with 36 Krypton and Odaily, held the "DFINITY Internet Computer Mainnet Launch Conference", we discussed technology and applications, opportunities and challenges, business and ecology with decentralized builders.
At the press conference, software engineer Yan Chen shared with us a decentralized social application Openchat based on the DFINITY Internet computer.
The following is the specific speech content of Yan Chen, organized by Odaily:
Hi, my name is Yan Chen, and I'm an engineer at DFINITY. Today, what I will demonstrate to you is a chat app built on an Internet computer - Openchat.
Usually, the first step for users to use any APP is to register an account. In fact, this is a very complicated process. You need to find an unused username and a secure and memorable password. In Internet computers, we have developed a general identity authentication system through blockchain and cryptography technologies. Through this system, you can use any encryption device, such as fingerprint recognition on a laptop, or face recognition on a mobile phone and a USB key for identity authentication, thereby avoiding the trouble of creating an account on each APP.
videovideo) Let’s take a look at how Openchat’s login interface performs identity authentication. When we click Sign In, we will automatically jump to the identity authentication service, click Register New User, and then enter the device name, such as MacBook, and choose to use the fingerprint on the MacBook to register. Now I click on the fingerprint recognition on the Mac, and then click OK, so that my fingerprint information is sent to the backend of the Internet computer, and you can see that we have registered successfully.
After successful registration, we will get a user code. This code is equivalent to your username when you log in. You need to write it down, but there is no password information in it, because all passwords are hidden in the fingerprint or face support. Among the identified cryptographic hardware.
Then we try to log in, the address of Openchat is in the gray box, click Proceed. Then we entered Openchat, we need to set a user name first, such as Xiaoqiang, and then we can choose a certain other user to initiate a chat, such as Xiaoming. We can send text messages, or send pictures or other attachments such as PDF files.
Let's open a new window and log in with Xiao Ming's account. Now we can see that the message that Xiaoqiang sent to Xiaoming just now is also displayed on Xiaoming's account. We can reply a message, and there is no delay in message transmission from Xiaoqiang's window.
We can see that when Xiao Ming is typing a message, Xiao Qiang's screen will display Typing (the other party is typing). Similarly, when Xiao Qiang is typing a message, Xiao Ming's window will also reflect this status in real time. Through P2P transmission, information can be conveyed to the other party's screen faster.
For multi-person chat scenarios, we can add a chat group, and then add both Xiao Ming and Xiao Hong. At this time, we can see a chat group message will appear on Xiaoming's screen. We log in to Xiaohong's account, and we can see that this account has also received this message.
Openchat also supports the search function of chat records. For example, if I enter a message here to search, I can jump to the corresponding chat paragraph after clicking. Different from the chat search function of traditional social apps, traditional chat apps use the N2N method for security reasons, so you can only search chat records stored on your mobile phone (or other devices), while Openchat uses All information is stored on Internet computers, which will support searching all chat history records, no matter which device you store things on, they can be searched on the same device.
Openchat also supports sending currency in the chat, for example, here we can send cycles, which is a currency unit that drives the APP to run on the Internet computer. At the beginning, everyone has 10 T cycles, here we ask Xiaoqiang to send 2.5 T cycles to Xiao Ming, and then open Xiao Ming's window, you can see that Xiao Ming's cycle balance has changed to 12.5 T, and Xiao Ming's side has decreased To 7.5T.