[Translate] Mixin network
See the Li Huilai teacher led Mixin, also carefully review the Mixin white Paper, decided to translate over
Click here to view the original
Constructs one of the largest and developer-friendly mobile blockchain networks, connecting all existing blockchain, unlimited throughput.
Contents (catalogue)
- Motivation
- Design
- End-to-end Encrypted information
- Mobile-based identity and pin identification
- Xin-token
- Conclusion
1. Motivation
There is a growing understanding of blockchain and cryptocurrency, but these can still be called exotic or difficult to access, and even for software developers, this is not an easy task.
Most blockchain projects focus on distributed and key management, but this is precisely why transactions are slow, private keys are lost, and difficult to understand. It is also almost impossible to deploy these distributed nodes on mobile devices or in the most popular computing devices.
Despite their efforts to distribute their dreams, we have to remind you that even the most fragmented blockchain consensus mechanism will be controlled by the largest pool of pools, and consider the hard fork BCH of BTC.
Some popular distributed projects have (or are planning to) deliberately selected less "distributed" consensus algorithms, such as Ethereum migrating to Pos,eos for DPoS. These efforts may indeed have increased the throughput of the transaction, but that is only the limit.
Nowadays, people still have to manage some strange-shaped private keys, and they may lose them carelessly. Pools and large nodes can still be endlessly forked, although developers are doing their best to develop new tokens, but people can't use them on their mobile devices.
Design
Mixin is to find a balance point and a traditional server cluster in a distributed network, making some tradeoffs to combine the advantages of both:
- Limited and trusted full-node, with data transparency and consistency-preserving capabilities
- 0 Knowledge proof and free trade with high throughput and low latency
- Connect to all popular blockchain networks using the Inter-blockchain communication protocol
- Non-deterministic transactions, interacting with external trusted sources
- Easy access to mobile devices using account models based on mobile phone numbers and pin codes
- Delivery of notifications via secure, end-to-end encrypted message Channel
- Developer-friendly to drive the development of Linux libraries and development languages
- Maximum mobile blockchain network effect to prevent bifurcation
To accomplish this goal, we designed a unique blockchain model, which relies on Trusted execution environment, which is mainly used to ensure data response, and the mobile node acts as a validator to perform the operation authentication for the whole node.
, the basic principle of Mixin Network is that some trusted full nodes run in Trusted execution environment.
All nodes are fully trusted because they can verify other full-node identities, and they can validate their run-dependent code with TEE authentication.
Mixin The whole node accepts the transaction, participates in the network consensus mechanism algorithm. Because of code validation, only one node needs to run Dapp code to achieve high throughput and low latency.
All sensitive parts of the network must run within the Trusted execution environment and are responsible for protecting security and privacy, and protecting data transparency and consistency.
End-to-end Encrypting messages
Mixin uses sender key in the signaling protocol to manage all sessions, whether it is a direct message or a group chat.
The protocol is client-based, so the service side (server) is used only as a proxy for messages. And because of the End-to-end encryption feature, no one can see anything from the proxy message, even the Mixin full node.
All messages in a session are permanently deleted from the server once they are consulted by the legitimate recipient.
Photos, videos, and all other attachments are encrypted using a random AES key before uploading to our cloud server. The client then converts all meta information, such as thumbnail, to the recipient's AES key (encrypted with Signal sender key).
Because Mixin uses mature Signal protocal and open source libraries as a messaging protocol, we don't delve into the details in the white paper.
Mobile and PIN-based identities
Blocking users from using blockchain is not their performance, but the process of identity and account management.
All the popular blockchain networks require users to at least acquire and manage a private key to maintain identity, which is too complex, and is a lot more complicated than a user name and password solution.
Because all of the existing blockchain data is open to the world, use the account password. However, this leads to a user still having to manage a very complex password to keep the account secure and can refer to BTS and EOS.
Thanks to the zero-knowledge and secure execution environment in the Mixin Network, we have been able to design a simple identity scheme based on the phone verification code and PIN.
People just need a mobile phone number and remember a 6 digit PIN code, you can keep an account exists, which is more simple than the account password, no complex private key, but has a similar security level.
Transferring the private key in phone number verification ensures that the phone is easily migrated, and a 6-digit PIN can be replaced with Touch ID or face ID, which increases the user experience by one level.
A classic BTC transaction takes 1 hours to confirm, and the transaction fees for small payments are very expensive, and the public blockchain data makes trading virtually non-private.
To overcome the BTC problem, based on the above identity mechanism, we have designed a cross-chain trading network similar to the Bitcoin Lighting network or Ethereum Raiden networks.
The underlying technology of the Mixin PIN identity is still managing the private key, but it's very secure, and with the help of Mixin Zero-knowledge, it makes it all very simple.
When the assets of other blockchain networks come to Mixin network, no matter when the two Mixin users start a BTC transaction, the server does not make a real deal on the BTC Blockchain, only manages their revenue data on the Mixin blockchain, which is much faster than executing the SQL statement.
Xin-the Token
Many of the services in Mixin have Xin as their sole token, especially full-node mortgages, creating Dapp, and invoking APIs.
Join the network as a full node, and at least need to mortgage the XIN token to establish the initial trust.
The creation of each dapp will cost XIN, and the amount of money spent is determined by Dapp's demand for resources.
The number of XIN that Dapp calls the API depends on the type and number of API calls.
XIN fees charged on all platforms will be destroyed to increase the value of existing XIN tokens.
This means that the average user will not be charged for the service and only DAPP developers will be charged. However, the DAPP itself may be charged to the user.
1,000,000 permanent XIN token will be released once in the world, in order to facilitate the calculation,
Mixin Messenger mainly uses millixin as the main currency symbol, we are abbreviated to MIX, equivalent to 1/1000 of the XIN.
Conclusion
With unlimited throughput, the Mixin network provides users with a familiar and easy-to-use account model that enables connection and use of all currencies on known blockchain networks.
In addition to the underlying Mixin network, we built the first dapp:the Mixin Messenger, all of which were open source and gave developers an overview to understand how to develop on Mixin.
Treat Mixin Network is an open Android ecosystem that sees all existing blockchain networks as different handset manufacturers and countries, Mixin Messenger as Google Play's role to provide users with the ability to find Dapp, Provides a simple notification and payment function for developers.
With nearly 1,000,000 of pre-registered users, Mixin Network welcomes all developers, and also welcomes them to launch the app that has been developed to the platform, where everything is familiar with the development environment.
Mixin Network Whitepaper