Kadena Devnet v0.1.0, 6533bbf

This is the crashnet configuration of the Kadena Devnet.

Services

Chainweb Node v2.24, e363858

The Chainweb Node service is running on this node. Its service endpoint is available at port 1848, however the public HTTP API is configured to proxy requests to this port.

Block Explorer devnet@1d9fa54

This container has a block explorer connected to the devnet.

Flexible Mining

This container comes with a chainweb-mining-client in on-demand mode and a mining-trigger service that triggers mining periodically and also in response to incoming transactions. You can customise the mining behaviour by setting environment variables.

Environment Variables

MINING_BATCH_PERIOD

Wait for this period, in seconds, after receiving a transaction and then mine blocks on the chain where the transaction was received. This period is used to batch transactions and avoid mining a block for each transaction. Increasing this period also makes mining more realistic compared to the public networks (default: 5.0)

MINING_CONFIRMATION_COUNT

The number of blocks to mine faster after transactions; This makes it quicker to get a transaction confirmed. (default: 5)

MINING_CONFIRMATION_PERIOD

The period, in seconds, to wait after minting the confirmation blocks of transactions (default: 5.0)

MINING_DISABLE_CONFIRMATION

Disable quick mining for confirming transactions. Note that if you want to mint the blocks containing transactions only and no further confirmations, don’t disable this option and use MINING_CONFIRMATION_COUNT=1 instead. (default: false)

MINING_DISABLE_IDLE

Disable periodic mining when the network is idle. Note that this is NOT RECOMMENDED for most cases, since in the absence of mining, the node’s current time will lag behind and transactions will not be accepted. Consider increasing MINING_IDLE_PERIOD instead. (default: false)

MINING_IDLE_PERIOD

The average time, in seconds, it takes to mine blocks and advance the block height by one while the network is idle (i.e. no incoming transactions) (default: 30.0)

Graph v1.0.2

Kadena GraphQL uses chainweb-data’s database and various chainweb-node endpoints to provide a GraphQL interface to the Kadena blockchain data. The service is running at port 4000, however the HTTP API is configured to proxy the GraphQL endpoint at the /graphql route.

Chainweb Data v2.4.0, c9b1a02

Useful pages for interacting with the chainweb-data service.

The chainweb-data service is configured to use additional migrations from these folders:

The chainweb-data service is configured to listen to port 1849, however, the public HTTP API is configured to proxy requests to this port.

Available Commands

These commands are available inside the devnet container:

Container API

Ports

Folders

Environment Variables