-
Notifications
You must be signed in to change notification settings - Fork 2k
Create a local testnet for fast, private testing
Adam Kelly edited this page Jun 22, 2021
·
6 revisions
- Stop all chia processes. Check that they have stopped with
ps -ef | grep chia
- Create a new chia root using
export CHIA_ROOT="~/.chia/my_testnet
, thenchia init
. Don't forget to export CHIA_ROOT, or prefix your chia commands withCHIA_ROOT="~/.chia/my_testnet
if you want to run on my_testnet when starting a new terminal. - Create a new entry in config.yaml with a different GENESIS_CHALLENGE, and reduced DIFFICULTY_CONSTANT_FACTOR. 2^67 constant factor is around 110PiB assuming a fast timelord. So if you have around 110GiB, you can set it to 2 ^ 47. Decrease SUB_SLOT_ITERS_STARTING if you are using a slow computer. Decrease PLOT_FILTER if you want to have more proof checks per signage point.
- Make sure to add my_testnet to all places that need it, like network_overrides.config, and selected_network
- Change the introducer URLs to point to localhost so you don't contact the real ones
- Do
sh install-timelord.sh
- Run the system with
chia start all
- If you have installed the gui, run
(cd chia-blockchain-gui && npm run electron &)
Chia Network - Green money for a digital world.
- Home
- Beginners Guide
- Install instructions
- Quick Start Guide
- FAQ - Frequently Asked Questions
- Pooling FAQ
- Pooling User Guide
- Chia Project FAQ
- Plotting Basics
- Alternate Plotters
- Plot Sizes (k-sizes)
- CLI Commands Reference
- Windows Tips & Tricks
- How to Check if Everything is Working (or Not)
- SSD Endurance - Info on SSD's and plotting
- Reference Plotting Hardware
- Reference Farming Hardware
- Farming on Many Machines
- Good Security Practices on Many Machines
- Chialisp Documentation (Official)
- How to Connect to Testnet
- Timelords and Cluster Timelords
- Release Notes
- RPC Interfaces
- Resolve Sync Issues - Port 8444