KMDLabs












Main Cluster

Main Cluster

The KMDLabs main cluster is where the bulk of testing occurs.

The KMDLabs blockchain is the center of a fungible grouping of independent blockchains with the -ac_cc=101 parameter set. This allows for any one of the chains to interact with the other chains via cross chain smart contracts. This is made possible through Komodo’s MoMoM technology.

The independent chains making up the KMDLabs cluster have different parameters permitting testing across blockchains with differing functionalities. New chains can be added to the cluster at any time, giving great flexibility in testing options. The only current requirement is that all chains have no block reward, and use -ac_algo=verushash11 and -ac_staked=20 and -ac_notarypay. This means at this time, main cluster chains cannot use -ac_pubkey or -ac_script. Its possible we can change this in the future. We have options, because the coins can be sent back to the main chain, and the 0BR chains can be replaced at any time.

Tier 2 Notary Node Network

A unique and key feature of KMDLabs is that it has its own notary node network.  This network is second tier to the main KMD notary nodes. In addition to ensuring dPoW for assetchains as KMD notaries do, the KMDLabs’ notaries also perform the function of MoMoM notarization. The notarization process for MoMoM, particularly between low hash rate chains, is a necessity for cross-chain imports and for making certain that export transactions can’t be reversed by a chain reorganization. This MoMoM notarization prevents the creation of coins “out of thin air”.

The majority of test chains in the KMDLabs cluster are powered by PoS combined with CPU PoW hashrate from notary nodes and, apart from transaction fees, have a zero block reward. This requires that they make use of dPoW to secure them against double spends.  The PoS component of the chains prevents them from stalling due to a hash attack. The PoW component of the chains will move the chain forward and allow the transfer of staking funds back into the chain in a case where all staking coins are (accidentally) removed. There are mechanisims in place that allow a chain to move along (although very slowly) with even very small staking weights.
 

Example Cluster Configuration

The CFEK test cluster gives an idea of a very basic cluster configuration.

This four chain cluster was used to test cross-chain migrations, assetchain params, PoW/PoS, NN network functionality and a multitude of changes to the underlying STAKED software, among other things.

As you can see the testing possibilities are enormous with even such a basic cluster configuration.

Free to use

Testing on the KMDLabs cluster is free. There is also the possibility of earning bounties, mining and staking and earning through running a KMDLabs Notary Node.

Adding chain(s)

The value of one coin in the cluster is equal to that of any other (1 KMDLabs(LABS)), regardless of what chain it exists on. Therefore a coin mined or staked on XCHAIN is evenly exchangeable for 1 KMDLabs(LABS) and vice versa.

The total coin supply is balanced across the cluster. Adding a new chain to the cluster requires the provable burning of an amount of KMDLabs(LABS) equal to the amount of coins added. Chains other than KMDLabs(LABS) will have a 0 block reward for the time being (ac_end=1). There is a consensus rule in the LABS komodod that means any chain launched in the main cluster cannot have any block reward past block 1, no matter what params are used. Please see the Technical page or contact us on Discord to find the correct method to do this.

Obtaining KMDLabs(LABS)

Adding and removing chains from the cluster and notarizing chains is made fast and simple through the use of STAKED software. If you would like to add chains to the cluster assistance can be easily had through Discord.

Wallets

CLI wallet – As the CLI (Command Line Interface) wallet is an integral part of most tests conducted in KMDLabs it is recommended that one become familiar with it.

The KMDLabs Notary Node CLI wallet is one of the areas that has undergone a fair amount of development work.  Methods of wallet ‘cleaning’ and DWY attack prevention, resistance and recovery have been a particular area of research and development.

The CLI wallet is currently the only method for staking the LABS coin. Staking is simple as setgenerate true 0. For more advanced staking strategies scripts that work in conjunction with the CLI wallet are available in the KMDLabs Github repo.

3rd party GUI wallets – For those that prefer a GUI wallet LABS can be used with the VERUS Agama GUI wallet.  Further 3rd party wallet partnerships are being sought and and any inquiries regarding adding LABS are welcome.

Exchange wallets – It is NOT recommended to keep LABS in exchange wallets for anything more than immediate trading.  Currently this is possible on Graviex and shortly on the ZADDEX exchange.

GUI / Wallet Development – KMDLabs will be developing a GUI wallet in the future, although this is not a priority.  GUI devs / devs who are interested in building and testing in this area are very welcome to get in touch.

Cost of adding chains

KMDLabs Notary Nodes receive a fee for notarizations. This pay-per-notarization fee is paid by the chains upon notarization and decided by the Notaries themselves. For the latest notarization rates please consult in Discord.

Please contact us with any questions and to learn more.

"I am really pleased to call KMDLabs a Komodo ecosystem project. Their remarkable dedication in the Blockchain Research & Development area has lead to significant tech optimizations in the Komodo core and Notary Node network."

How KMDLabs Works

KMDLabs is a testing and development platform suitable for research on many scales. From gaining experience using Crypto-Conditions contracts to debugging multi-contract clusters, KMDLabs provides you with the tools, platform and resources to do so. This allows you to spend your time on testing, not setup.

"So much cool stuff going on in here!"

Technical

Learn the technical aspects of KMDLabs and the LABS coin. Useful information for mining and staking and also on KMDLabs procedure relating to Notary Nodes.

"They have extended their hands to help other community projects without conditions. Like KMDICE, they helped us get KMDICE to a very efficient state when we first started the chain. KMDLabs has a lot of future for sure."