Skip to content

Frequently Asked Questions

General

Diora

What is Diora?

Diora Network is a incentivised smart contract parachain, utilizing advanced PoSM with Double Validation & Randomization for security guarantees. Diora is built with Substrate which natively supports EVM, WASM (soon) and a multi-layer sharding scaling solution if needed.

The main goal of Diora Network is to foster an array of diverse and sustainable cross-chain applications by empowering and rewarding developers that build on the network with baked in incentives and rewards. More specifically, we are constructing an efficient and fully decentralized consensus protocol.

Baked into the network itself, Diora rewards developers based on the value and impact of their dapp, rather than their close association or connections to capital. Unlike existing versions of older layer 1s, where tokens are mostly concentrated in the hands of the first few early participants, Diora is designed to be shared across all contributors, users and stakeholders. Meaning the very talented creators and developers who are building on our network get a true stake in the growth and governance of the network itself.

How does Diora work? What is the architecture and consensus used?

Diora relies on a system of 150 Masternodes with Proof of Stake Masternode (PoSM) consensus that can support low fees (approx. 1/100 of that of Ethereum's) and sub second transaction confirmation times. Security, stability and chain finality are guaranteed via novel techniques such as Double Validation, staking via smart-contracts and true randomization processes.

Can you tell more about Proof of Stake Masternode (PoSM)? What is it?

At the heart of Diora, the Proof of Stake Masternode (PoSM) consensus enables Diora as an EVM-compatible and scalable public blockchain, on which every Ethereum smart contract can be effectively run with almost instant transaction confirmation.

PoSM features its Masternode architecture in which token holders deposit 25k DeFi to become a masternode candidate and receive votes from other token holders. The most voted masternode candidates are selected as masternodes for block creation within a period, called epoch. Each masternode takes its block creation in a round-robin manner every 2-second and follows the double validation technique for security reinforcement. A block is finalised if it is signed off by 3/4 masternodes. At the end of each epoch, the masternodes that have signed finalised blocks are rewarded. Stakers who voted for those masternodes will also be rewarded.

What is Double Validation?

Double Validation provides an additional trustless validation layer for security enhancement through a provable uniform distribution decentralized randomization. Specifically, when a block is created by a masternode, it must be verified by another masternode that is randomly selected among the set of masternodes before being added to the blockchain. Double validation strengthens Diora’s security, reduces fork and nothing-at-stake attacks, and makes Diora unique among other Proof of Stake-based blockchains.

What is an 'epoch'?

An epoch is a 300-block period of 6 second block time starting from block #1 (300 blocks x 6s/block = around 1800s or ~30 minutes).

Which scaling solutions will Diora implement? Will you have sharding?

Diora solutions are based on on-chain scaling built into an architecture of 150 voted masternodes with our Proof of Stake Masternode (PoSM) consensus protocol. We achieve 6 second block-time and almost instant transaction confirmation.

To scale our infrastructure further, we have presented our sharding proposal for uniquely integrating multi-layer sharding into our current architecture and consensus. The implementation of sharding our chain is still just a idea and we will look to enable it in Q1 2023, after a smooth Diora Network launch.

Besides sharding, we are actively researching scalability solutions like ZkProofs, Rollups, EVM parallelization and Plasma. New scaling techniques will be evaluated before being integrated into Diora's masternode architecture.

What is the current TPS? What is your targeted transaction speed and when do you think you can achieve that speed?

Diora supports low transaction fees (approx. 1/100 of that of Ethereum's) and 6 second transaction confirmation times. The mainnet with PoSM Masternodes delivers 2'000 transactions per second (TPS). Once sharding is implemented by Q2 2022, we expect 20'000-30'000 TPS.

Diora team is continuously researching other scaling techniques to keep improving.

What makes Diora different?

The unique point of Diora comes from technology, the products and the ecosystem.

Novel technology: includes

  • Proof of Stake Masternode consensus
  • On-chain governance and Forkless upgrades
  • Double Validation and Randomization
  • Dapp Staking Rewards
  • Gas Rebates
  • Sharding based on a stable masternode artichitecture

This enables Diora to achieve:

  • Cheap transactions: approx. 1/100 of that of Ethereum
  • 2000 TPS to handle a robust daapp and token ecosystem; TPS will be dramatically higher once our sharding solution is enabled (20k-30k TPS)
  • 6 second block time for fast transactions
  • EVM compatibility allows for interoperability with Ethereum ecosystem.

Our unique products

  • Diora: Diora is the backbone public blockchain of Diora's product map. Diora is a public incentivized smart contract blockchain with 2000+ TPS utilizing advanced PoSM with Double Validation & Randomization for security guarantees.

  • DioraScan: DioraScan provides a user friendly, details and perfection-oriented user interface for Diora block explorer. From a user perspective, DeFiScan brings Diora’s transparency to users, because all block, transaction, finality, smart contracts, Dapp and token information are read from Diora and shown to users. Furthermore, DeFiScan also offers technical visualisations and does useful statistics about the Diora performance, token holders and other functionalities.

  • DeFiMaster: The Governance Dapp DeFiMaster, provides a professional UI that allows to see the list of masternodes and candidates, to deposit 25k DeFi to become a masternode candidate, to vote for masternodes, and to show masternode performance statistics.

  • DeFiMask: DeFiMask is the official wallet for Diora, aiming to store the DeFi native coin and tokens issued on Diora. DeFi Wallet also allows users to vote for masternodes, intreact with Dapps and track rewards.

  • Web Wallet: Diora Web Wallet can send DeFi & DRC20 tokens on any web browser! It can also help you manage your balance and transactions.

  • Token Bridge: The Bridge allows users to transfer assets between two chains in the Ethereum ecosystem. This is a customized version of POA network Bridge

  • Token Wizard: provides a friendly UI and a smart contract that allow any user to issue a ERC-20/DRC-21 token in minutes without any programming skills required.

  • Faucet: Get some free testnet Diora.

  • Network Stats: This is a visual interface for tracking Diora network status. It uses WebSockets to receive stats from running nodes and output them through an angular interface.

Our own ecosystem

  • Diora also is working vigorously on building its ecosystem and has sealed many partnerships from all fields such as agriculture, robotics, gaming, IT solution providers, advertising, pharmaceutical tracking, education and research, payment, communication, name service, food traceability, tourism etc

How does Diora compare with other available blockchain projects?

The world is a pretty big place, and startups often kill themselves because they cannot make a desirable product, not because of the competition. At the moment, besides the core Diora platform, we want to focus on a few quality Dapp use cases that can make a difference. Quality before quantity.

Our core blockchain solution like the sharding proposal is of very high quality, and potentially better than multiple high profile attempts at scaling currently. The solution is also very unique to Diora's Marsternode design, which will remain our competitive product advantage for a long time.

There are also several other product solutions in design stage which also highly integrate with Diora's overall design. These product innovations is one of the core competencies we have that make Diora very unique compared to other big projects. We are doing our best to solve the scalability problem, maximize the TPS and stay strong in our target market.

Diora is EVM-compatible. What does that mean?

EVM means Ethereum Virtual Machine. Diora supports all EVM-compatible smart-contracts, protocols, and atomic cross-chain token transfers. This means that any smart-contract written in Ethereum protocol can be easily ported to Diora. Any Dapp written in Ethereum can be seamlessly ported to Diora.

Can developers make hybrid Dapps using both Ethereum and Diora in one single Dapp?

Yes, they can make an app, and deploy it to both Ethereum, and Diora. It can be done relatively easy since Diora supports EVM, and share a common architecture with Ethereum.

What is the difference between DIR and Diora?

DIR is the native currency of the Diora ecosystem used for transaction fees and block rewards.

How do you solve 'security problems' when using Diora?

In terms of security of consensus protocol, Diora proposes Double Validation and Randomization to protect the system.

Diora solves some consensus-related security aspects:

  1. Nothing-at-stake problem: This problem is commonly discussed in PoS-based blockchain consensus and just like 51% attacks in PoW. Diora solves it by using Double Validation and Randomization. The details are shown in our whitepaper.
  2. Long-range attacks: Attackers can try to recreate all blocks from a very far position to the current block. Attackers can do that because PoS-based consensus does not require extra-ordinary hashing power to re-write the whole blockchain. Diora addresses by providing finality. Once a block is signed by at least 3/4 masternodes, it is consider irreversible, meaning that any attempt to re-write the blockchain history will be rejected.
  3. Censorship-resistance: our PoSM Consensus mixed with subsrate's on-chain governance and forkless upgrades.
  4. DDoS and spamming attacks: Diora's transaction fee is not zero (even tho it's a very small), attackers still require a significant amount of DIR in order to flood the network for only a short time.

How does Diora defend against spamming attacks?

Diora has different measures to defend against spamming attacks.

For instance, increasing transaction fees for smart contract creation is one of them. The min is 10 DIR. Otherwise an error of smart contract creation cost is under allowance may show up.

Where can I take a look at Diora code? Is there a GitHub repository?

All the code regarding Diora is free and open source to consult on our GitHub. This includes the code for the Diora blockchain client, governance Dapp, block explorer, tools, wallets, documentation, etc.

We like to publish code publicly when it reaches a certain level of development and/or when we think auditing and contributions are beneficial to the codebase. Keeping early projects private is probably more responsible for now due to our scale. It might change in the future.

We are also working with some third parties with which we signed a non-disclosure-agreements for code development.

Where can I contact you to get support?

If you need support, please contact us via email

Support@Diora.network

Ecosystem

What incentives have partners and Dapp developers to build on Diora?

Diora supports all EVM-compatible smart-contracts, protocols, and atomic cross-chain token transfers. This means that any smart-contract written in Ethereum protocol can be easily ported to Diora.

Any Dapp written in Ethereum can be seamlessly ported to Diora, instantly enjoying all Diora advantages: almost zero-transaction fee; 2-second confirmation time; 2'000 TPS and soon 20K-30K TPS once sharding is enabled.

Dapp developers also have the Dapp Staking program which will be explained soon.

Besides the technical aspects, our partners will also benefit from the Diora community support and fundraising opportunities, thanks to Diora very good relationships with well-known investors.

Where can I see Diora partnerships?

Diora is working vigorously on building its ecosystem and has sealed partnerships from >

All partnership announcements can be found Medium and our official Twitter account for partnership announcements.

Masternodes

Does Diora have Vaildators/Masternodes? How do they work?

Yes, Diora has a maximum of 150 Masternodes with Proof of Stake Masternode (PoSM) consensus for low transaction fee, and instant transaction confirmation. Masternodes create, verify and validate new blocks in Diora’s platform.

  • Masternode Candidates: Any account can deposit 25,000 DIR using DeFiMaster to become a masternode candidate. A candidate can resign, but the tokens will be locked for the next 30 days (1'296'000 blocks) after the resignation.
  • Becoming a Masternode: A candidate becomes a masternode when he/she belongs to the top 150 most voted candidates in each epoch. A Masternode can resign, but the tokens will be locked for the next 30 days after the resignation.
  • Rewards: The rewards a masternode receives in each epoch is proportional to the number of signatures it signs. Masternodes will also receive fees from the Diora DEX, which is planned for development in Q2 2022.

What is a masternode in the Diora ecosystem?

A Diora masternode is a server which uses its computing power to contribute to the network. Its job is to create and sign blocks. For this contribution to the network, masternodes receive rewards in the form of DIR.

Masternodes are elected using the PoSM consensus via our governance Dapp DeFiMaster

What are the incentives to run a masternode?

Masternodes contribute to the network and for this work they will receive a significant amount of block rewards, which will far exceed the cost for running the infrastructure. However, masternode owners need to invest in Diora by depositing at least 25,000 DIR, and stake them in the long term.

After the initial deposit, if the account does not become a masternode (has less votes than the top 150 most voted candidates), he will not receive rewards. Therefore, candidates are incentivised to do as much as they can to signal their capability to support Diora to get into top 150 most voted candidates.

How did you decide on 150 masternodes?

The reason came from both decentralization consideration, and also scalability consideration. In terms of decentralization, 150 is much better than 10. The more important consideration is the scalability. We also increased the number of masternodes to better suit the sharding solution later.

Also 150 is Dunbar’s Number.

Where will the Masternode rewards come from? Will they be from the DEX?

The block rewards will come from a 80 million DIR reserve for the next 8 years - this was decided since the genesis block.

And then later on, because we plan to have a built-in DEX, the revenues from the DEX will go to the Masternodes as well.

When are Masternode rewards paid out?

Masternode operators and stakers will receive rewards every epoch. An epoch is a 300-block period of 6 second block time (~30 minutes).

How can I check my rewards?

You can check your masternode/staking rewards using DeFiMask. Alternatively you can use DeFiMaster or DeFiScan.

How much rewards will Masternodes receive?

Each epoch consists of 300 blocks, which will reward a total of TBF DIR in the first two years. This amount of TBD DIR will be divided to all of the Masternodes proportionally to the number of signatures they sign during the epoch.

Example: With only 25 Masternodes and equal performances, every masternode would be rewarded with 10 DIR. With 125 Masternodes, each one would receive 2 DIR per epoch.

Please, refer to our Economics paper for more details about the masternodes reward.

How much reward from Masternodes will go to the Masternode infrastructure (node owner) and how much is for voters?

There is a reward sharing ratio among token holders and masternode who has been elected supported by the token holders. The reward achieved by each Masternode will be divided into three portions:

  • Infrastructure Reward: The first portion of 40% called Infrastructure Reward goes to the Masternode operator.
  • Staking Reward: The second portion of 50% called Staking Reward goes to the pool of all voters for that Masternode which is shared proportionally based on the token stake. The Masternode also gets proportional rewards for his 25K DIR initial deposit.
  • Treasury Reward: The last portion of 10% called Tresuary Reward goes to a special treasury account which is controlled and run by the Diora commuinty through on-chain goverance.

Masternode Candidate

What is a masternode candidate? What is the difference between masternode candidate and masternode?

A Masternode Candidate is any node who deposited 25K DIR and is listed on DeFiMaster

One Candidate only becomes a Masternode when he is in the top-150 most-voted masternode candidates in an epoch. Only these elected masternodes will be able to sign blocks and receive block rewards.

Do I need to use my own computer to run a node?

We recommend using an IaaS ("cloud") provider of your choice (like Amazon AWS, Digital Ocean, Google Cloud GCE, Vultr, etc). The machine must be directly facing internet (public IP, no NAT) and with 100% uptime.

If you have other production grade environment than cloud provider at your disposal, please tell us more about it.

Which are the hardware requirements to run a node?

Processing transactions is mostly CPU bound. Therefore we recommend running CPU optimized servers.

  • Directly facing internet (public IP, no NAT)
  • 16 cores CPU
  • 32GB of RAM
  • SSD storage

We recommend using popular cloud providers as their reliability and uptime are close to 100%. Those servers would be a good starting point:

  • DigitalOcean: CPU optimized droplet 32GB/16CPU
  • Amazon EC2: C5 instance
  • Google Cloud Engine: n1-highcpu-16

Setting up a masternode candidate on a weaker machine might result in poor performances, significantly impacting owner's rewards and the chain performance.

Note: If you are running a node in Testnet, 2CPU/8GB of RAM is sufficient.

What is 'Slashing'?

With Slashing v2.0, a masternode who doesn't create any block within an epoch and therefore delays the network by 10 seconds at each of their turns will be penalized (no rewards) for the next five epochs.

Note: a slashed Masternode can still sign transactions if he’s online but receive no rewards for doing so.

After being slashed for 5 epochs, the Masternode is analysed for re-entry. If the slashed Masternode have signed any transaction during the last epoch (meaning that he's up and working again) it will come back to its Masternode status and receive rewards normally. Otherwise it will be slashed for a new round of 5 epochs. This can happen as long as the node isn't back up or kicked out of the top 150.

Some reasons for being Slashed might be that the masternode does not have the correct Diora software, lack of memory or masternode crashes due to the lack of e-maintenance and operation by the masternode owner.

How many nodes I am allowed to run?

As many as you can.

Staking

Token holders can stake DIR and receive rewards.

To stake DIR you need to vote for masternode candidates by sending DIR to each candidates specific Masternode-address using the official governance dapp: DeFiMaster.` The top-150 most voted candidates will become masternodes. Token holders can also un-vote candidates, but the tokens will be locked for the next 96 epochs / 8,640 blocks (approx. 48 hours) after the un-Masternode.

Masternode token deposits, and all tokens used to vote for masternodes will enter the staking program, and earn block rewards in each epoch, plus any fees. Tokens used to vote for candidates who do not become masternodes will not earn staking rewards.

Voting/Staking

What are the voters incentives? Do voters get rewards too?

Token voters should vote for the candidates who demonstrate strong support to the Diora ecosystem. If strong candidates are voted to become masternodes, the network will be more powerful and the voters will earn more rewards.

More information on the Masternode and reward mechanism in the Economics paper.

Can you stake DIR?

Yes, you can stake DIR and receive more DIR tokens as reward.

How do I Stake? Just holding on my wallet?

To stake in Diora you must participate in the Diora Masternode election, Masternode for masternode candidate(s) using DeFiMaster to deposit your tokens in a Masternode smart-contract.

Login to DeFiMaster and click 'Vote' on a node.

How does Diora Masternode Proof of Stake-Masternode (PoSM) work?

Everyone can can find a list of all masternode candidates on DeFiMaster All token holders can vote DIR on any candidates via DeFiMaster. To vote, token holders must deposit DeFi in a smart-contract associated with the voted candidate.

The top-150 most-voted candidates will be promoted to masternode during the next epoch and will be able to sign blocks and collect rewards. All the voters (stakers) who supported the elected masternodes will receive rewards, proportional to the amount of DeFi voted and the efficiency of the masternode.

How do I vote (stake)?

Any token holder can vote. Login to and then click 'Vote' on a node. Then enter the amount of DIR you want to vote (minimum is 100 DIR). You vote by depositing (staking) tokens to a smart-contract associated with a masternode candidate.

There are many ways to vote in DeFiMaster:

  • Masternode from DeFiMask.
  • Masternode from Ledger wallet
  • Masternode from Trezor wallet
  • Masternode via MetaMask (can be connected to your hardware wallets).
  • Masternode from Polkadot.js
  • Masternode with your wallet's Private Key or MNEMONIC.

What criteria must be considered when Masternode? Which masternode candidate should I vote for?

The most important criteria to maximize voter’s profit, the main points you should consider when Masternode, are the following:

  • Top-150 most voted: Your candidate must be one of the top-150 most-voted. If your candidate gets in the 151th most-voted place, it will not be promoted to masternode and you will earn zero rewards.
  • Hardware, Performance: Powerful CPU, RAM, bandwidth, latency, etc so the node can work hard and receive high rewards
  • Number of signed blocks: The more signed blocks per epoch, the higher rewards
  • Time of last signed block: Verify that the masternode is active
  • Total Capacity: Staking rewards are shared between all the masternode votes. Less voted masternodes are more profitable. 5K staked on a 50K-staked masternode will receive ten times more rewards than 5K staked on a 500K total staked masternode.
  • Social Proof, Reputation: Masternodes managed by trusted companies that are for the long term, maintaining the masternode, updating hardware and software to last versions, fixing problems, etc.

How many Masternode Candidates can I vote for?

You can vote for as many candidates as you wish, splitting your DeFi.

Example: If you have 1,000 DIR you can vote 500 DIR for candidate A, 450 DIR for candidate B, and 50 DIR for candidate C.

What is the minimum amount to Stake?

The minimum amount to stake is 100 DIR.

How do I UnVote?

If you do not want to support a masternode you voted for, you can unvote it by clicking the ‘Unvote’ button on the masternode's page and enter the amount of DIR you wish to unvote.

After unMasternode, your DIR are still locked in the smart contract for 96 epochs (approx. 48 hours) before you are able to withdraw. When the lockup period is finished you need to click the ‘Withdraw’ button and the coins will appear again on your wallet.

How to withdraw after unMasternode?

After unMasternode, you need to wait until your DIR is unlocked from the smart contract (96 epochs, approx. 48 hours). Then you can go to DeFiMaster and click the 'Withdraw' button in your account page (the three vertical dots on the top-right) and choose which withdrawal you want to receive back your DIR.

Note that you might see multiple withdrawals on your account page if you made multiple unvotes previously.