The devnet UI offers the following features.
Wallet
Similar to the existing wallets you may have used, you can check your balance, create transactions and send QKC (tokens) to any address.
Account
On the wallet page you will be asked for a private key where you can either generate a new one (and it will only reside in your computer) or reuse those generated previously if you have noted them down. Your wallet address will be derived from the private key. All the transactions will be signed inside your local browser with Javascript using that private key.
Balance
On the Balance section, you will find two balances of the address currently selected.
- Primary balance is the balance on the default shard of the address
- Secondary balance is the sum of the balances of all the other shards
To transfer secondary balance into the primary, click the "Show Balance Detail" button. You will be presented with a page showing the balance on each shard and asking if you would like to transfer the balance to the primary.
Send Quarkash
This is where you create transactions to tokens to to other addresses. Once you click "Generate Transaction" it will show you if this is a in-shard or cross-shard transaction with expected confirmation time. The transaction will be signed in your browser. Clicking "Submit Transaction" will send the signed transaction to QuarkChain network. If the transaction is sent successfully you will see the transaction ID presented at the top. Clicking the ID will take you to the explorer where you can check the status of the transaction.
Note that cross-shard transactions require not only the confirmation of the source shard but also the confirmation of the root chain and the destination shard. Therefore it will take a bit more time to show up in the balance of the recipient's address than if it was a in-shard transaction.
Contract
QuarkChain supports Ethereum smart contracts, therefore you can use your favorite Ethereum tooling like
solc
and
remix
to compile the smart contract, deploy here in QuarkChain and interact with them.
For now QuarkChain smart contracts only support in-shard interaction, which means it can only access addresses within the same shard.
Contract is always deployed to the same shard as the creator's address. To interact with a contract the sender's address must be on the same shard as the contract.
Explorer
Explorer is where you can see almost all the data that is stored on QuarkChain.
For example you can search
Stats
This page presents the realtime statistics of QuarkChain devnet, e.g., block height, confirmed transactions, TPS, etc..
Network
This page shows the topology of the devnet. You can see where the clusters are running and how they are connected in the P2P network.
Loadtest
QuarkChain team will periodically run load test on the devnet. You may observe the realtime TPS and other interesting metrics here.