You may want to test the node in a safe environment before running a mainnet node. The testnet configuration lets you experiment and run tests without affecting the mainnet.
-
Automatic installation
You can use the installation script to automatically install the node for testnet:
sudo bash -c "$(wget -O - https://adamant.im/install_node.sh)" -O -b master -n testnet -j 24This will create a
test/config.jsonfile, which you can edit as needed. -
Manual setup
To manually set up and run a local testnet node, copy the default config file and edit your copy:
cp test/config.default.json test/config.json
To start the testnet node:
npm run start:testnetYou can also override individual configuration values at startup without editing test/config.json. For example, to enable public API access:
npm run start:testnet -- --config-set api.access.public=trueSee Configuration Overrides for the full override syntax.
Refer to CONTRIBUTING.md.
- A bootstrap snapshot of the testnet database is available for download (the installation script also supports bootstrapping): https://testnet.adamant.im/db_test_backup.sql.gz
- The testnet explorer: testnet.adamant.im
- Request testnet ADM coins (3500 ADM) via the faucet: Faucet
- Access the testnet messenger app (dev branch build): Testnet messenger
- View the IPs and ports of testnet peers in test/config.default.json.