What are Smart Contracts?
Smart contracts are a major feature of Ethereum. They represent a computer protocol designed to automate processes related to contract executions. They imply rules, penalties, and conditions on which the operation must be completed.
1) QTUM can be applied differently: from Ethereum and Bitcoin blockchains like SegWit technology to Lightning Network, and Raiden. Compatibility with Ethereum smart contracts helps developers build distributed applications (dApps) on QTUM, and dApps are also enabled for running on QTUM due to backward compatibility.
2) QTUM is running on the UTXO, a scalable and well-protected database. But it gives an ability to implement Simple Payment Verification (SPV) protocol that allows clients (such as lightweight wallets) to interact with smart contracts without storing the whole sequence of blocks.
What is UTXO and how does it work?
UTXO (Unsent Transactions Output) database is used by full nodes to understand whether the specific transaction is valid or not. To be valid, all the inputs of the transaction must be stored in the UTXO database. If the transaction is not in the database, then it’s either double-spent or the coins don’t exist in the network.
What is SPV?
Simplified payment verification is technology that enables user to not store the full node on the device for confirming the transaction. SPV use software to find the longest chain which is available to link the user’s transaction to it. This technology is implemented in different wallets, like in Atomic Wallet.
SPV also enables to implement smart contracts on the mobile devices, it will help developers create dApps especially for mobile platforms.
How does QTUM combine Bitcoin UTXO and Ethereum EVM?
For this, the Account Abstract Layer (AAL) was created which is the layer between blockchain and EVM:
The QTUM team is already planning to develop an x86 smart contract virtual machine for QTUM. The x86 architecture is popular, time-proven and well designed, so the virtual machine based on this architecture compensating the shortcomings found in Solidity and the EVM. For one, it allows developers to program smart contracts in popular programming languages like C, C++, C#, and Java.
Outside data feeds
Qtum is supporting outside data feeds and so-called “oracles”. Oracles are API’s that allow external devices to supply and acquire information from the smart contracts operating on the QTUM platform. They are trusted parties which can perform off-network calculations, supply or aid computations and help to keep virtual machines from being overused. Acceptance of the outside data is especially helpful in business when a huge amount of processing power is required.
Total supply of QTUM is 100.000.000 ERC20 QTUM.
Every new block is generated every two minutes.
Block reward is 4 QTUM.
Block explorer: www.qtumexplorer.io.
Where to store QTUM?
Store, send, receive and exchange QTUM with atomic swap option in Atomic Wallet: Decentralized, secured and custody-free solution created for multi-purposes.