Crypto Whitepaper
Crypto Whitepaper
v1.2
-2-
carrier of Web3.
1.3.5 Contract composability
The composability of the Move language
comes from the design of its Modules. Upgrading
II Technical Differences of Solidity VS
and optimizing Modules enables all other contracts
that have used this Module to automatically use the Move
latest version, accelerating the speed of upgrading
and optimizing smart contracts using the Move Transitioning from Bitcoin's Script to
language. Ethereum's Solidity, undergoing the baptism of
DeFi, Solidity has undoubtedly been successful.
However, the security vulnerabilities of DeFi are
1.4 Status quo of Move series public
also worth paying attention to. How to ensure the
chains security of on-chain assets has become a major
issue that the entire industry urgently needs to face.
The Move language truly achieves the Behind these vulnerabilities, VM is also
digitization of assets and is hailed as one of the constantly patching up, such as fixing the original
most suitable languages for writing blockchain overflow issues, but it is difficult to make
smart contracts. It has been compared to the current substantial improvements in the underlying design
mainstream language Solidity multiple times and flaws. Unlike previous development experiences,
has surpassed it in many aspects. The main reason DeFi applications are essentially open-source and
is that Move provides a more fitting handling of the transparent financial systems that have extremely
core token assets in blockchain, compensating for high security requirements. So, for financial
Solidity's shortcomings in intuitiveness and scenarios, designing a more secure, reliable, and
security. user-friendly smart contract language may be a
better choice.
- 12 -
both application developers and users can transaction without exposing any information about
experience unprecedented freedom in the the transaction participants or the assets involved,
blockchain world. generate ZK proofs.
9.2.4 Scalability
The distributed storage system of Mango
public chain can be horizontally scaled according to
demand. When more data storage is needed, simply
adding more storage nodes can increase the storage
capacity of the entire system without compromising
In the Mango public chain infrastructure performance or reliability.
protocol, distributed storage is a technology used
for storing and managing data. It disperses data
storage across multiple nodes in the network to
9.2.5 Data permission control
enhance data reliability, security, and scalability.
The Mango public chain infrastructure
protocol provides a powerful data permission
9.2.1 Data redundancy
control mechanism. Users can define the
The Mango public chain adopts distributed permissions and policies for accessing their data,
storage technology to achieve data redundancy. ensuring that only authorized users can access and
Each data block will be replicated on multiple modify this data.
different nodes to ensure that even if some nodes
- 14 -
converting names into hash addresses and some
9.3 MgoDNS domain name service
mainstream public chain addresses. Based on
MgoDNS is a solution for distributed domain cross-chain design, MgoDNS can serve existing
names based on cross-chain protocols. It provides public chain ecosystems such as Ethereum, IPFS,
domain and domain data analysis services for etc., making file access, address transfers, and smart
non-intermediated networks. This platform can help contract calls more convenient and faster.
businesses and individual users manage valuable
on-chain data information, and now they can
participate in digital asset transactions in a more 9.3.2 MgoDNS domain name parsing
efficient, secure, and convenient way. MgoDNS
system, super hub connecting the
aims to make the internet a transparent, secure, and
free space through its innovative decentralized information Internet and the value
measures. blockchain.
MgoDNS maximizes compatibility and
achieves decentralization of the system. The MgoDNS domain name system focuses on
underlying layer of MgoDNS is blockchain, and the providing blockchain domain names and domain
upper layer is traditional internet. MgoDNS can name data resolution services for blockchain
also connect various types of public chains and networks, helping enterprises and individual users
consortium chains, collectively forming a super hub to participate in digital asset transactions and
for connecting various blockchains. manage on-chain value data information more
Traditional Internet has mature business conveniently and securely. Meanwhile, based on
models in project operation, but its drawbacks are cross-chain design, MgoDNS can serve existing
also obvious, such as data leakage, server downtime, public chain ecosystems such as Ethereum, IPFS,
and other incidents. On the other hand, although etc., making file access, address transfers, and smart
blockchain technology fundamentally solves the contract calls more convenient and faster.
problem of data trust, there is a lack of a certain
foundation in terms of the scale and operation of
applicable scenarios. So, the connection function of
MgoDNS will enable the effective integration and
application of both, complementing each other and
achieving decentralization of the system.
- 16 -
evidence packages and effect certificates, the phase is to execute the transaction and commit its
lightweight client can undergo transformation effects.
within Mango and perform transaction operations For transactions involving shared objects, it is
or observe results. Regular checkpoint mechanism necessary to use consensus protocols for ordering,
can be used to create collective checkpoints for which may become a bottleneck. "But the latest
final transactions, effectively verifying the recent high-throughput consensus protocol for engineering
state of objects and the events issued. indicates that sorting is only the bottleneck in state
Customer-driven is a mechanism for handling machine replication, not the execution order." In the
authorization failures or client malfunctions. The Mango system, sorting is only used to determine the
client can solve these problems by updating to a version of the input shared object, that is,
level of honest authority that can handle correct incrementing the object version number and
transactions. Once there are no more certificates to associating it with the transaction summary, without
synchronize, the list will be submitted to the new involving sequential execution.
authority for execution. The relay is the client that The second phase occurs when the versions of
performs this operation, and multiple relays can run all input objects are known to the permissions and
simultaneously to update and coordinate the replica involves executing a move transaction and
operation service with each other. Blocks are tools committing its effects. Once the version of the input
used by followers to receive updates and maintain object is known, it can be executed in a fully
the latest view state when processing authorizations. parallel manner. On multi-core or multi-physical
In addition, the authorities can use a push-pull machines, virtual machines read versioned input
gossip network to update transactions with each objects and write the generated objects to storage.
other and reduce the number of times the relay For object and transaction storage, the consistency
needs to perform this function. The authorities may requirements are very loose (except for sequential
use periodic status commitments to ensure that they lock mapping), allowing each authority to use
have dealt with the complete set of certificates until scalable distributed key-value storage. In addition,
a certain checkpoint. due to the idempotent nature of the execution, it is
The Mango system expands its capabilities by easy to recover even in the event of component
allocating more resources to handle transaction crashes or hardware failures.
permissions. These resources include CPU, memory,
network, and storage within or across multiple
machines. Increasing resources can improve the
ability to process transactions, thereby increasing
X References
revenue. At the same time, more resources will also 1. https://github.com/MangoNet-Labs/mango
reduce latency because operations can be executed 2. D. Matsuoka, C. Dixon, E. Lazzarin, and R.
without waiting for necessary resources to become Hackett.(2022) Introducing the 2022 state of crypto
available. report. https://a16z.com/tag/state-of-crypto-2022/
In order to ensure that more resources can 3. S. Blackshear, E. Cheng, D. L. Dill, V. Gao, B.
increase capacity in a quasi-linear manner, the Maurer, T. Nowacki, A. Pott, S. Qadeer, D. R.
Mango system actively reduces bottlenecks and Rain, S. Sezer, T. Zakian, and R. Zhou, "Move: A
synchronizes points that require global locking language with programmable resources," 2019.
within permissions. Transaction processing is https://developers.diem.com/papers/diem-move-a-la
explicitly divided into two phases: the first phase is nguage-with-programmableresources/2019-06-18.p
to ensure exclusive access to a specific version of df
an object or shared access to an object; the second 4. Sam Blackshear, David L. Dill, Shaz Qadeer,
- 17 -
Clark W. Barrett, John C. Mitchell, Oded Padon,
and Yoni Zohar. Submitted on July 23, 2020; v1
submitted on April 10, 2020; originally announced
in April 2020. Resources: A Safe Language
Abstraction for Money. CoRR abs/2004.05106
(2020). arXiv:2004.05106
https://arxiv.org/abs/2004.05106
5. Marco Patrignani and Sam Blackshear. 2021.
Robust Safety for Move. CoRR
abs/218.05043(2021).arXiv:218.05043
https://arxiv.org/abs/218.05043
6. Daniel Collins, Rachid Guerraoui, Jovan
Komatovic, Petr Kuznetsov, Matteo Monti, Matej
Pavlovic, Yvonne-Anne Pignolet, Dragos-Adrian
Seredinschi, Andrei Tonkikh, and Athanasios
Xygkis. 2020. Online Payments by Merely
Broadcasting Messages. In the 50th Annual
IEEE/IFIP International Conference on Dependable
Systems and Networks, DSN 2020, Valencia, Spain,
June 29 - July 2, 2020. IEEE
7. David Dill, Wolfgang Grieskamp, Junkil Park,
Shaz Qadeer, Meng Xu, Emma Zhong. Fast and
Reliable Formal Verification of Smart Contracts
with the Move Prover. Submitted 12 February,
2022; v1 submitted 15 October, 2021; originally
announced October.2021. arXiv:218.08362
https://arxiv.org/abs/218.08362
- 18 -