Tech Talk 5 — SMART System in MAP
In this week’s Tech Talk, we will have a look at the SMART System in MAP. SMART stands for Sustainable MAP RunTime Env, which is a key component of the MAP. It can be used to build a standard public chain in modularity fashion while providing a smart contract platform for electronic cash payment and other application chains.
SMART includes the following components:
- MAP-VM: a trusty-worthy WebAssembly virtual machine
- Delta Language: Smart contract language suitable for SMART development
- Runtime: Runtime environment based on MAP VM.
Compared with Ethereum’s Virtual Machine, MAP VM supports native WebAssembly Compilation and Runtime Environment.
The use of WebAssembly as a format for smart contracts gains a variety of benefits, a few of which are listed below:
- Near-native execution speed for smart contracts
- The possibility to develop smart contracts in many traditional programming languages, such as C, C++, and Rust
- Access to a vast developer community and the toolchain surrounding WebAssembly
Delta Language is an Object-Oriented Programming language providing high-level abstraction and easy to get started traits. Compared with solidity, Delta Language can compile down to the WASM format in its native format and can be deployed across MAP VM. The MAP team is actively developing Delta Language as their first choice of building out smart contracts on top of MAP, but it’s not constrained only to Delta Language. Due to the nature of support WebAssembly other existing popular languages, I believe it’s also possible to be used to develop smart contracts on MAP such as Rust and C++. For more details, we should wait for the language spec and documentation from MAP’s official team’s announcement.
In Summary, I believe that based on SMART implementation, MarcoPolo can provide the scalability of the interactive chain and introduce other assets on the chain. The payment system built on SMART has tens of thousands of TPS throughput in the real network environment, and the confirmation time can be reduced to 2–3 seconds.
· MarcoPolo Protocol Medium (For the latest articles)
· MarcoPolo Protocol GitHub (For the complete codes)
For more information, visit marcopolo.link