Mainchain
There are two permanently accessible public Klayr blockchain networks which are entirely independent of each other: the Klayr Mainnet and the Klayr Testnet.
In addition to the permanent networks, it is also possible to spin up a local network for development, known as the Klayr Devnet, or to connect to a public network such as the Klayr Betanet, which is accessible during beta releases for new Klayr Core versions. Klayr Core is the blockchain client that is required to be installed on a server in order to configure a node that can connect to the respective Klayr mainchain.
Table 1 provides a comparison between the Mainnet and the Testnet mainchain, and lists their specific properties and configurations:
Property | Mainnet[1] | Testnet |
---|---|---|
Genesis height Klayr fork |
24823618 |
21976183 |
Genesis height v4 |
23390991 |
20449414 |
Genesis height v3 |
16270294 |
14075260 |
Chain ID |
00000000 |
01000000 |
KLY Token ID |
0000000000000000 |
0100000000000000 |
Native Token |
||
Validator selection algorithm |
||
Block time |
7 seconds |
7 seconds |
Maximum block size |
15 kB |
15 kB |
Default P2P Port |
7667 |
7667 |
Default RPC Port |
7887 |
7887 |
Minimum fee per byte |
1000 Beddows (0.00001 KLY) |
1000 Beddows (0.00001 KLY) |
User account initialization fee |
5000000 Beddows (0.05 KLY) |
5000000 Beddows (0.05 KLY) |
Escrow account initialization fee |
5000000 Beddows (0.05 KLY) |
5000000 Beddows (0.05 KLY) |
Keeps blockchain events (default) |
For latest 300 blocks |
For latest 300 blocks |
PoS init rounds[1] |
60,480 = 7 * 24 * 3600 |
60,480 = 7 * 24 * 3600 |
Explorer |
||
Klayr service API base URLs |
Klayr Mainnet
The Mainnet is where the true Klayr economy exists.
Within this network, Klayr users can transfer KLY tokens from one account to another, register accounts as validators to generate new blocks, or register their sidechains to make them interoperable with any other registered sidechain.
Token
The native token for the Klayr Mainchain is KLY, pronounced as "Klayr".
Each KLY is further subdivided into 108 Beddows.
1 KLY = 100000000 Beddows
Proof of Stake (Mainnet)
Configurations of the PoS module of Klayr Mainnet mainchain.
Property | Value |
---|---|
Max length for the validator name |
20 |
Max number of sent stakes |
10 |
Max number of pending unlocks |
20 |
Minimum weight for standby validators |
100000000000 Beddows (1000 KLY) |
Round length |
53 blocks |
Number of active validators |
51 |
Number of standby validators |
2 |
Registration fee for validators |
1000000000 Beddows (10 KLY) |
Rewards (Mainnet)
Configurations of the Dynamic Reward module of the Klayr Mainnet mainchain.
Property | Value |
---|---|
KLY Token ID for block rewards |
0000000000000000 |
Offset for starting with block rewards |
2160 blocks |
Distance for each milestone |
3000000 blocks |
Brackets (Block reward for each milestone in Beddows) |
["500000000", "400000000", "300000000", "200000000", "200000000"] |
Klayr Testnet
The Testnet is an independent replica of the Klayr Mainnet, primarily designed to test upgrades before implementing them on the Klayr Mainnet.
This is where the new upcoming versions and fixes of the Klayr Core are tested, and, subsequently applied to the Klayr Mainnet.
For users, the Testnet provides the possibility to perform their own tests of their Klayr applications, or to test their validator node setup, without spending any real KLY, or risking punishment[2] on the Mainnet.
Using Klayr Desktop for a Testnet account
To connect to the Testnet via Klayr Desktop, simply enable the "Network Switcher" in the settings and then go back to the login screen and switch the network to Testnet in the dropdown menu.
|
Faucet
Get free Testnet KLY from the Testnet faucet to start using the Testnet for your own purposes.
Testnet KLY serves as "play money"
Testnet KLY holds no intrinsic monetary value; they are purely intended for testing purposes within the Klayr Testnet, eliminating the necessity to spend "real" KLY tokens.
Furthermore, Testnet KLY cannot be exchanged for Mainnet KLY or any other currency.
|
Proof of Stake (Testnet)
Configurations of the PoS module of the Klayr Testnet mainchain.
Property | Value |
---|---|
Max length for the validator name |
20 |
Max number of sent stakes |
10 |
Max number of pending unlocks |
20 |
Round length |
53 blocks |
Minimum weight for standby delegates |
1000 KLY |
Number of active validators |
51 |
Number of standby validators |
2 |
Registration fee for validators |
10 KLY |
Rewards (Testnet)
Configurations of the Dynamic Reward module of Klayr Testnet mainchain.
Property | Value |
---|---|
KLY Token ID for block rewards |
0100000000000000 |
Offset for starting with block rewards |
2160 blocks |
Distance for each milestone |
3000000 blocks |
Brackets (Block reward for each milestone in Beddows) |
["500000000", "400000000", "300000000", "200000000", "200000000"] |
Klayr Betanet
The Klayr Betanet is a temporarily accessible public blockchain network, that is used to test new beta releases of Klayr Core, prior to testing them on the Testnet.
In contrast to the Klayr Testnet, the Klayr Betanet is exclusively accessible during the beta testing phases of Klayr Core, which typically occur in preparation for major updates to the blockchain protocol.
The Betanet holds significant appeal for validators and Klayr application developers, offering them the opportunity to explore new releases ahead of their deployment on the Testnet and the Mainnet. This allows them to gain insights into new features and stay updated with the latest advancements in the protocol.
Furthermore, it is the first publicly accessible network for new releases of Klayr Core, which is testing the new release in a broader scope. This helps to identify and fix remaining issues with the release, and therefore participation from the community is welcomed during this phase. Feel free to play around in the Betanet and report any feedback or issues you might encounter in the dedicated channels on Klayr.chat.
The most important properties of the Klayr Betanet are listed in the table below:
Property | Betanet |
---|---|
Chain ID |
02000000 |
KLY Token ID |
0200000000000000 |
P2P Port |
7667 |
Explorer |
|
Klayr service API base URLs |
|
Faucet |
Klayr Alphanet
The Klayr Alphanet is used to test alpha releases for new Klayr Core versions.
Generally, a Klayr Alphanet is only used for internal testing purposes and will only stay online temporarily to perform quality assurance of the new software release.
Property | Alphanet |
---|---|
Chain ID |
03000000 |
KLY Token ID |
0300000000000000 |
Klayr Devnet
The Devnet is a local development network which can be set up on a single node.
The purpose of the Devnet is to provide a user-friendly locally set up blockchain network for performing specific tests, granting the user complete control over the environment.
This can be beneficial when planning to operate the blockchain with different configurations and/or modules compared to the public mainchains, or to test specific functionalities that might be too intricate or complex to evaluate on one of our public networks, such as the Betanet (whenever operational/available) or the Testnet.
Especially, it is recommended to set up a Devnet to search for bugs which can be reported through the Klayr Bug Bounty Program.
The Table 6 below displays the main default configuration for the Klayr Devnet.
Please note that all configurations displayed in Table 6, Table 7 and Table 8 are just the default values of the Devnet, and can be updated by the developer to meet their specific needs. |
Property | Devnet |
---|---|
Chain ID |
04000000 |
KLY Token ID |
0400000000000000 |
Validator selection algorithm |
|
Block time |
7 seconds |
Maximum block size |
15 kB |
Default P2P Port |
7667 |
Default RPC Port |
7887 |
Minimum fee per byte |
1000 Beddows (0.00001 KLY) |
User account initialization fee |
5000000 Beddows (0.05 KLY) |
Escrow account initialization fee |
5000000 Beddows (0.05 KLY) |
Keeps blockchain events (default) |
For latest 300 blocks |
Proof of Stake (Devnet)
Default configurations of the PoS module of Klayr Testnet mainchain.
Property | Value |
---|---|
Max length for the validator name |
20 |
Max number of sent stakes |
10 |
Max number of pending unlocks |
20 |
Round length |
53 blocks |
Minimum weight for standby delegates |
1000 KLY |
Number of active validators |
51 |
Number of standby validators |
2 |
Registration fee for validators |
10 KLY |
Rewards (Devnet)
Default configurations of the Dynamic Reward module of Klayr Testnet mainchain.
Property | Value |
---|---|
KLY Token ID for block rewards |
0400000000000000 |
Offset for starting with block rewards |
360 blocks |
Distance for each milestone |
1000 blocks |
Brackets (Block reward for each milestone in Beddows) |
["500000000", "400000000", "300000000", "200000000", "200000000"] |