enable - stale - production = false # Percent of witnesses (0-100) that must be participating in order to produce blocks # required-participation = 33 # If start a private testnet with the default number 33, the node won't produce blocks #-> For Private testnet, set 0 required - participation = 0 #-> For Private Testnet, set own key pairs # Tuple of (may specify multiple times) private - key = # ID of witness controlled by this node (e.g. json # = # witness plugin options # = # Enable block production, even if the chain is stale. # checkpoint = # File to read Genesis State from genesis - json = genesis / my - genesis. checkpoint = # Pairs of that should be enforced as checkpoints. 0.1 : 11011 #-> For Private Testnet, add a seed node of your own # P2P nodes to connect to on startup (may specify multiple times) # seed_node = #-> For Private Testnet, this value set needs to overwrite default checkpoint. 0.1 : 11010 # Endpoint for websocket RPC to listen on rpc - endpoint = 127.0. # Endpoint for P2P node to listen on p2p - endpoint = 127.0. The core token symbol in testnet is “TEST” (hardcoded in binaries, cannot be changed in genesis file).
![hotswitch into core hotswitch into core](https://mydownloadtube.net/poster_image/detail_page_poster/poster_core_tt0298814.jpg)
However, you must replace each key value for the private testnet. The account / signing keys of the init witnesses (or in fact any account at all).įor a Private Testnet setup, a genesis-dev.json file can be used as a template. The accounts that exist at genesis, their names and public keysĪssets and their initial distribution (including core asset)
![hotswitch into core hotswitch into core](https://checkpointgaming.net/wp-content/uploads/2021/06/core-keeper.jpg)
For the private testnet preparation, you must set up (generate) each key value in the genesis file.Įmbedding my-genesis.json after completed customization of a genesis file (Optional)Ĭustomizing a genesis file allows to control the followings: The genesis file is the initial state of the network. This section provides instructions for preparing the genesis file for the Private Testnet. Preparing a genesis file for the Private Testnet ¶ Prv_my-genesis-example-Private-testnet.json (my-genesis.json) Prv_Get-Dev-Key-used-in-my-genesis.txt (get_dev_key) Uses for your Graphene Private Testnet ProjectĮxample files location for this section: /docs/development/testnets/ Uses for downloading Graphene Core files and build the programs In this chapter, we define our base directory $HOME/ and create two directories inside of $HOME directory.
#HOTSWITCH INTO CORE PASSWORD#
Preparing a genesis file for the Private Testnetģ.Embedding my-genesis.json file (Optional)Ĭreating Another Directory for the Graphene Private Testnet Projectġ.Creating another directory for Graphene Private Testnet ProjectĢ.Copying the two program files (witness_node and cli_wallet) in the Testnet-Home directoryģ.Creating a genesis directory for the Private testnetġ.Creating a Data directory for the Private Testnet ProjectĢ.Obtaining a configuration file (config.ini)Ĥ.Viewing the configuration file parametersĥ.Setting up the configuration file parametersġ.Starting witness_node with parameter optionsģ.Setting a password and Unlock the cli walletġ.Importing key and account name into cli walletģ.Viewing the imported account information Building two application program files (witness_node and cli_wallet) Downloading Graphene Core (testnet branch) and Buildġ.Downloading Graphene Core – Testnet branch – source filesĢ.