Frequently Asked Questions
What is XinFin Network?
XinFin Network is an innovative solution to the scalability problem of the Ethereum blockchain, and other current blockchain platforms. XinFin Network relies on a system of 18 Masternodes with XinFin Delegated Proof of stake (XDPOS)consensus that can support low transaction fees and 2-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.
XinFin Network supports all EVM-compatible smart-contracts, protocols, and atomic cross-chain token transfers. New scaling techniques such as sharding, EVM parallelisation, private-chain generation, hardware integration will be continuously researched and incorporated into XinFin Network's Masternode architecture. It will be an ideal scalable smart-contract public blockchain for decentralized apps, token issuances and token integrations for small and big businesses.
What problem is XinFin Network aiming to solve?
The problems that XinFin Network aims to solve can be summarized as follows:
- The network congestion on Ethereum (low transaction time)
- High transaction fees on Ethereum
- Most other blockchains are highly centralized and/or do not have interoperability with Ethereum system
Blockchain has become one of the most disruptive technologies that enables many decentralized applications, including but not limited to cryptocurrencies, smart-contracts and supply-chain management. Blockchain proponents have been trying to inject it into this Industry 4.0 revolution era. In order to reach this goal, the current blockchain infrastructure must at least be able to compete with many mainstream technologies, such as Visa and MasterCard processors in financial services. Nevertheless, the reality is disappointing: Bitcoin and Ethereum can only process around 7 and 15 transactions per second, respectively. Remember that, these numbers in Visa and MasterCard are around 5'000-6'000 transactions per second.
XinFin Network is continuously working and researching several scaling solutions. Regarding on-chain scaling, Sharding and Proof-of-Stake-based consensus are of potential that can significantly improve transaction processing performance while trying to maintain security requirements of the system.
How does XinFin Network work? What is the architecture and consensus used?
XinFin Network relies on a system of 18 Masternodes with XinFin Delegated Proof of stake (XDPoS) consensus that can support low fees (approx. 1/100 of that of Ethereum's) and 2-second transaction confirmation times. Security, stability and chain finality are guaranteed via novel techniques such as Double Validation.
Can you tell more about XinFin Delegated Proof of stake (XDPoS)? What is it?
At the heart of XinFin Network, the XinFin Delegated Proof of stake (XDPoS) consensus enables XinFin Network as an EVM-compatible and scalable public blockchain, on which every Ethereum smart contract can be effectively run with almost instant transaction confirmation.
XDPoS features its Masternode architecture in which token holders deposit 10,000,000 XDC to become a masternode. masternode are selected 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.
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 XinFin Blockchain security, reduces fork and makes XinFin Network unique among other Delegated Proof of stake based blockchains.
What is an 'epoch'?
An epoch is a 900-block period of 2-second block time starting from block #1 (900 blocks x 2s/block = around 1800s or ~30 minutes).
Which scaling solutions will XinFin Network implement? Will you have sharding?
XinFin Network solutions are based on on-chain scaling built into an architecture of 18 masternodes with our XinFin Delegated Proof of stake (XDPoS) consensus protocol. We achieve 2-second block-time and almost instant transaction confirmation.
To scale further our infrastructure, we have presented our Sharding proposal for uniquely integrating Sharding into our current architecture and consensus.
Besides sharding, we are actively researching scalability solutions like EVM parallelization and Plasma. New scaling techniques such as sharding, EVM parallelisation, private-chain generation, hardware integration will be evaluated before being integrated into XinFin Network's masternode architecture.
What makes XinFin Network different?
The unique point of XinFin Network comes from technology, the products and the ecosystem.
Novel technology: includes
- XinFin Delegated Proof of stake (XDPoS) consensus
- Build in governance D-app
- Double Validation and Randomization
- Sharding based on a stable masternode artichitecture
This enables XinFin Network to achieve:
- Cheap transactions: approx. 1/100 of that of Ethereum
- 2000 TPS to handle a robust d-app and token ecosystem.
- 2 second block time for fast transactions
- EVM-compatibility allows for interoperability with Ethereum ecosystem.
Our unique products
- XinFinScan: Shows all blocks, transactions, finality, smart contracts, D-Apps and token information
- XinFinMaster: Allows users to apply for a Masternode Candidate position; and shows Masternode performance statistics
- xdcwallet: Securely store, send, receive XinFin and other tokens issued on XinFin Network; Allows users to track rewards
Our own ecosystem
- XinFin Network 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 and tourism.
Which blockchain(s) are XinFin Network's main competitors?
On the one hand, all base layer blockchains such as Ethereum, EOS, NEM, NEO etc are competitors because app developers/token issuers will generally choose only one blockchain to work on. On the other hand, it is too early to focus on competition as it is more important to expand the whole blockchain ecosystem rather than to compete.
XinFin Network has a unique position in which it adds value to the Ethereum ecosystem by addressing scalability and governance issues while keeping the same smart-contracts and general architecture.
XinFin Network is EVM-compatible. What does that mean?
EVM means Ethereum Virtual Machine. XinFin Network 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 XinFin Network. Any d-App written in Ethereum can be seamlessly ported to XinFin Network.
Is XinFin Network a side-chain of Ethereum?
XinFin Network has its own blockchain since XinFin Network Mainnet is about to launch.
Is XinFin Network compatible with Ethereum?
Yes, any smart-contract written in Ethereum protocol can be easily ported to XinFin Network. This is one strength appealing to some dApp developers and some of our partners.
Can developers make hybrid dApps using both Ethereum and XinFin Network in one single dApp?
Yes, they can make an app, and deploy it to both Ethereum, and XinFin Network. It can be done relatively easy since XinFin Network supports EVM, and share a common architecture with Ethereum.
How do you solve 'security problems' when using XinFin Network?
In terms of security of consensus protocol, XinFin Network proposes Double Validation and Randomization to protect the system.
XinFin Network solves some consensus-related security aspects:
- This problem is commonly discussed in PoS-based blockchain consensus and just like 51% attacks in PoW. XinFin Network solves it by using Double Validation and Randomization. The details are shown in our technical paper.
- 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. XinFin Network 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.
- DDoS and spamming attacks: XinFin Network's transaction fee is not zero (even it is very low), attackers still require a significant amount of XDC in order to flood the network for only a short time.
Where is XinFin Network registered?
You can check our company
XinFin Network Pte. Ltd. information on the Singaporean registry
You can also check the ACRA copy if you need more details.
Where are XinFin Network offices?
XinFin current offices is located in Singapore
Check us out on our main website!
Where can I take a look at XinFin Network code? Is there a GitHub repository?
All the code regarding XinFin Network is free to consult on our GitHub. This includes the code for the XinFin Network blockchain client, governance DApp, block explorer, tools, docker images, documentation, etc.
However, other blockchain related projects like ReplyBlock or drafts, work-in-progress and not yet disclosed projects are usually kept in private repositories.
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 on [email protected]
Which are XinFin Network's official channels for communication and information?
You can keep in touch with our latest news here:
What incentives have partners and dApp developers to build on XinFin Network?
XinFin Network 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 XinFin Network.
Any d-App written in Ethereum can be seamlessly ported to XinFin Network, instantly enjoying all XinFin Network advantages: almost zero-transaction fee; 2-second confirmation time; 2'000 TPS.
D-app developers also have dedicated technical support from XinFin Network developers.
Besides the technical aspects, our partners will also benefit from the XinFin Network community support and fundraising opportunities, thanks to XinFin Network very good relationships with well-known investors.
Where can I see XinFin Network partnerships?
XinFin Network is working vigorously on building its ecosystem and has sealed 10 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 (as of Jan 2019).
You can also find a list of partners willing to run D-apps on XinFin Network here. This list will be updated in the future.
Where can I check the actual products, ecosystem?
If you want to access it directly, you can find the links to our different products deployed in Testnet on our Networks page.
The list of XinFin Network Products is as follows: XinFinScan, XinFinStats, XinFinMaster, xdcwallet.
XinFin - Economics¶
What is XinFin? Can you describe the functions and purposes of XinFin?
XDC is the native cryptocurrency of XinFin Network and will be the reserve cryptocurrency for all third-party apps running on XinFin Network. Being the protocol token for the XinFin Network infrastructure, XDC will be needed by all parties utilising XinFin Network to build apps or issue and integrate cryptographic tokens into their apps.
The supply of XDC is fixed, long-term and non-inflationary.
In addition to the above, XDC is an integral part of the XinFin Network network for a number of reasons.
- XinFin will be used to fund the development of XinFin Network and its ecosystem (XinFinScan, XinFinMater, xdcwallet, etc.).
- XinFin will be used as a incentivise the building of the XinFin Network engine/ecosystem.
- XinFin will be used as a long-term, decentralized governance instrument of the XinFin Network network.
You can check our technical whitepaper for more details.
Can I mine XDC?
XDC is not
mintable by masternodes.
Masternodes are responsible for creating, verifying and finalizing the blocks created within a period, called epoch.
Masternodes will receive block rewards.
How often are block rewards paid out?
Block rewards will be earnt every epoch, which lasts for 900 of two-second-block time (~30 minutes)
When will XinFin be listed on new exchanges?
We do not discuss about exchange related questions due to the regulation. We will announce every exchange news on our official channels on due time.
Is XDC an ERC-20 token?
Since Mainnet is above to Launch, XDC has become the native coin of the XinFin Network blockchain.
Where to store XDC? How can I send XDC to my wallet?
You can store XinFin in xdcwallet.
Where can I buy XinFin? (exchanges)
You can trade XinFin on various exchanges.
Does XinFin Network have Masternodes? How do they work?
Yes, XinFin Network has a maximum of 18 Masternodes with XinFin Delegated Proof of stake (XDPOS) consensus for low transaction fee, and instant transaction confirmation. Masternodes create, verify and validate new blocks in XinFin platform.
- Masternode Candidates: Any account can deposit 10,000,000 XDC using XinFinMaster 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. 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 XinFin Network which is planned for development.
XinFin Network masternodes started signing blocks and receiving block rewards on Mainnet.
What is a masternode in the XinFin Network ecosystem?
A XinFin Network 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 XDC.
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 likely exceed the cost for running the infrastructure. However, masternode owners need to invest in XinFin Network by depositing at least 10,000,000 XDC, for the long term.
When are Masternode rewards paid out?
Masternode operators will receive rewards every epoch. An epoch is a 900-block period of 2-second block time (~30 minutes).
How can I check my rewards?
You can check your masternode rewards using xdcwallet. Alternatively you can use XinFinMaster or XinFinScan.
What is a masternode candidate? What is the difference between masternode candidate and masternode?
A Masternode Candidate is any node who deposited 10,000,000 XDC and is listed on XinFinMaster.
masternodes will be able to sign blocks and receive block rewards.
How can I become a Masternode?
The first step to become a masternode, is becoming a masternode candidate. To become a Masternode Candidate you need:
- to run XinFin Network software in a machine with certain minimal hardware requirements
- to deposit 10,000,000 XDC in a smart-contract via XinFinMaster
The list of Masternode Candidates will be available on the governance DApp, XinFinMaster.
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.
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.
How do Masternode Candidates become Masternodes?
Once you are a Masternode Candidate, you need the support of XinFin Network community. Masternode candidates every period called epoch (900 blocks of 2-second block-time) will be promoted to Masternode. This list will change dynamically every epoch. masternodes will be able to sign blocks and will receive rewards in the form of XDC.
Do I need two wallets to run a Masternode?
It is recommended for security reasons. You can create your wallet from wherever you want, the only rule being that you need two of them. One for your masternode, and one to make the 10,000,000 XDC deposit (this account will receive the rewards).
What is the 'coinbase address'?
'Coinbase address' is the public address used to run your node and register it to the system.
We recommend using two addresses when running your nodes. The public address or 'coinbase address' will only receive transaction fees. The private address is from where you make the initial 10,000,000 XDC deposit and where the block rewards will be collected.
How can I create a public 'coinbase address' wallet? Is it only with xdcwallet for iOS and Android? Are there other options?
You need to create a wallet for the masternode public address. This wallet does not need to contain any XDC, think of it as a shell address. You will then stake XDC into the masternode address via your main XinFin wallet.
You can use the iOS and Android apps. Also you can create wallets with Metamask, MyEtherWallet.
You can also use https://wallet.testnet.xinfin.org to create an empty wallet, then use it as coinbase address.
I noticed that we need another wallet for masternode with a different mnemonic. Assume we use a hardware wallet, we would need another hardware wallet with different mnemonic?
It is recommended to use a separate empty account for your masternode as it only receive transactions fees - what we call public or 'coinbase address' on the documentation.
The block rewards are sent to the account connected to XinFinMaster who make the initial deposit - the 'private' address.
Can I use the same address pair (tmn public address + initial deposit address) for all my nodes? Or I have to transfer tokens to another wallet and start the second node?
No. Must use different public 'coinbase' addresses. But you can use the same initial deposit ('private') address, then all rewards will be transferred to only one address.
I have finished all steps of setting up node. Why I don't see my node on XinFinMaster?
You must apply to become a masternode candidate.
Do I need to deposit the 10,000,000 XDC before or after running 'tmn' in VPS?
After. Your node must be fully synched before applying.
How do I check the blockchain sync status from the node?
You can watch the logs, but it is easier from the XinFinStats website or its eth.blockNumber API call.
If the masternode owner deposits 11,000,000 XDC instead of 10,000,000 XDC on its own node, can it later on unstake the excess ?
Yes, it can.
How can I change my node's name?
You can do it on XinFinMaster. Go to your masternode page on XinFinMaster, if you are logged in XinFinMaster with the owner account, you can click next to the masternode name to edit infos.
Why is a node flagged as 'Slashed'?
A masternode will be automatically slashed by the Slashing Mechanism if the node doesn't validate any block within an epoch.
Some reasons for this might be that the masternode does not have the correct XinFin Network software, lack of memory or masternode crashes due to the lack of e-maintenance and operation by the masternode owner.
A Slashed node will be 'kicked out' for the next 4 epochs. At the 5th epoch after being slashed, the slashed masternode can go back to the candidate list.
How do I update my Masternode to the newest version?
Run this command:
pip3 install -U tmn && tmn update && tmn start
How many nodes I am allowed to run?
As many as you can.
How can I resign as Masternode?
If you no longer want to be a masternode, you can resign on XinFinMaster. Your masternode will stop generating rewards and your funds will be locked for 30 days (1 296 000 blocks). After the lockup period you will be able to withdraw your 10,000,000 XDC deposit.
Can I close the node entirely, then start a new one with a totally separate coinbase address without being penalized?
No. Your old node will be penalized (10,000,000 XDC initial deposit 30-day lockup) and your new node has to apply again.
Is it possible to move a masternode later, like backup and start it from another IP address?
What is XinFinScan?
XinFinScan is our block explorer. It is pretty similar to EtherScan if you are already familiar with it.
XinFinScan provides a user friendly, details and perfection-oriented user interface for XinFin Network block explorer. From a user perspective, XinFinScan brings XinFinChain’s transparency to users, because all block, transaction, finality, smart contracts, dApp and token information are read from XinFin Network and shown to users. Furthermore, XinFinScan also offers technical visualisations and does useful statistics about the XinFin Network performance, token holders and other functionalities.
What is a TxHash? How to check a TxHash?
TxHash stands for 'transaction hash', and is also known as a transaction ID.
An example of what a TxHash looks like:
To check a TxHash, follow the steps below:
On XinFinScan, go to the search bar with the magnifying glass icon. Paste your transaction hash (TxHash) in the search bar and click the icon or press ENTER. Your transaction details will show up.
What is XinFinStats?
XinFinStats shows the various metrics regarding the current mainnet including the current number of masternodes, masternodes performance, current TPS, block-time, confirmation time, finality and other useful metrics.
How much is the average time to see my node appear on XinFinStats?
It should be less than a minute after tmn command is executed and finished.
Stats page wasn't working and showed a 70-second block. What happened?
What is XinFinMaster?
XinFinMaster, the 'Governance dApp', provides a professional UI that allows to see the list of masternodes and candidates, to deposit 10,000,000 XDC to become a masternode candidate, to vote for masternodes, and to show masternode performance statistics.
How do I login on XinFinMaster?
Go to XinFinMaster. On the top-right corner click 'Login'. Then select how do you want to login: with xdcwallet or Private Key/Mnemonic.
What is the 'capacity' of a Candidate/Masternode?
The capacity of a candidate is the 10,000,000 XDC initial deposit for that candidate.
Which of these numbers on XinFinMaster will tell us which is a good performing node vs poorly performing?
On XinFinMaster, click on a candidate to open the candidate page. Scroll down to 'Masternode Rewards'. You should look at 'Sign number' under Masternode Rewards to determine a good node or not.
Masternodes will sign a maximum of 60 blocks per epoch. A good masternode will create around 60 sign transactions in that epoch. We also calculate the reward based on sign transactions number.
What is a 'checkpoint'?
For each iteration of 900 blocks (called epoch), a checkpoint block is created, which implements only reward works. The masternode, who takes turn in the circular and sequential order to create blocks, has to scan all of the created blocks in the epoch and count number of signatures.
It is worth noting that token holders who unvote before the checkpoint block will not receive any shared reward in the Staking Reward portion.
I want to stop running my node.
If you don't want to run your masternode anymore, please remember to resign before shutting down the node.