-
-
Save jcnelson/8d86edeff62f5ab08c01ff5ca1b0e648 to your computer and use it in GitHub Desktop.
Stacks 2.1 Testnet Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[node] | |
working_dir = "$PATH_TO_YOUR_CHAINSTATE" | |
rpc_bind = "0.0.0.0:20443" | |
p2p_bind = "0.0.0.0:20444" | |
seed = "$YOUR_BTC_PRIVATE_KEY" | |
local_peer_seed = "$SOME_OTHER_PRIVATE_KEY" | |
prometheus_bind = "0.0.0.0:9153" | |
mine_microblocks = true | |
wait_time_for_microblocks = 0 | |
bootstrap_node = "027e929237cc4c12980b109bd3180ca591f3b72896b6e3716f5d1dce0a5bdd2dc4@next.stacks.org:20444" | |
name = "xenon-node-2.1" | |
# NOTE: you will need to run your own testnet Bitcoind node to mine! | |
miner = true | |
[miner] | |
first_attempt_time_ms = 2000 | |
subsequent_attempt_time_ms = 15000 | |
microblock_attempt_time_ms = 5000 | |
[burnchain] | |
# NOTE: you will need to run your own Bitcoin testnet node to mine! | |
chain = "bitcoin" | |
mode = "xenon" | |
peer_host = "52.0.54.100" | |
username = "xenon" | |
password = "password" | |
rpc_port = 18332 | |
peer_port = 18333 | |
pox_2_activation = 2406590 | |
satoshis_per_byte = 150 | |
burn_fee_cap = 300000 | |
poll_time_secs = 2 | |
magic_bytes = "21" | |
[[burnchain.epochs]] | |
epoch_name = "1.0" | |
start_height = 0 | |
[[burnchain.epochs]] | |
epoch_name = "2.0" | |
start_height = 2000000 | |
[[burnchain.epochs]] | |
epoch_name = "2.05" | |
start_height = 2104380 | |
[[burnchain.epochs]] | |
epoch_name = "2.1" | |
start_height = 2406000 | |
[[ustx_balance]] | |
address = "ST2QKZ4FKHAH1NQKYKYAYZPY440FEPK7GZ1R5HBP2" | |
amount = 10000000000000000 | |
[[ustx_balance]] | |
address = "ST319CF5WV77KYR1H3GT0GZ7B8Q4AQPY42ETP1VPF" | |
amount = 10000000000000000 | |
[[ustx_balance]] | |
address = "ST221Z6TDTC5E0BYR2V624Q2ST6R0Q71T78WTAX6H" | |
amount = 10000000000000000 | |
[[ustx_balance]] | |
address = "ST2TFVBMRPS5SSNP98DQKQ5JNB2B6NZM91C4K3P7B" | |
amount = 10000000000000000 |
1 more: the public key of the bootstrap_node should be 027e929237cc4c12980b109bd3180ca591f3b72896b6e3716f5d1dce0a5bdd2dc4
i believe:
{
"peer_version": 4207599110,
"pox_consensus": "09353758e9d56202ce8bb266fd8e7cbf57bfc35a",
"burn_block_height": 2407720,
"stable_pox_consensus": "875a6a26f7f7e4d43edb207d90e01efd7aa580fc",
"stable_burn_block_height": 2407713,
"server_version": "stacks-node 0.0.1 (feat/check-pox-2-params:9475b9983, release build, linux [x86_64])",
"network_id": 2147483648,
"parent_network_id": 118034699,
"stacks_tip_height": 77,
"stacks_tip": "fbe0954b12fcc8d28ea7f26ee70811f5ff47363b59aeed9fa53f847e7bc5cb6b",
"stacks_tip_consensus_hash": "09353758e9d56202ce8bb266fd8e7cbf57bfc35a",
"genesis_chainstate_hash": "74237aa39aa50a83de11a4f53e9d3bb7d43461d1de9873f402e5453ae60bc59b",
"unanchored_tip": null,
"unanchored_seq": null,
"exit_at_block_height": null,
"node_public_key": "027e929237cc4c12980b109bd3180ca591f3b72896b6e3716f5d1dce0a5bdd2dc4",
"node_public_key_hash": "9dccc2cf87f971cd8d13c155e4370f83246cf1f0"
}
Done and done
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
small edit:
bootstrap_node = "0229c2c95f0578fc55ddd45c73c56b76ae32fc3850af087e7fdf1459844bb96e1c@44.205.240.82:20444"
->bootstrap_node = "0229c2c95f0578fc55ddd45c73c56b76ae32fc3850af087e7fdf1459844bb96e1c@next.stacks.org:20444"