Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help!where the testnet is #81

Open
earth-2022 opened this issue Aug 20, 2024 · 1 comment
Open

help!where the testnet is #81

earth-2022 opened this issue Aug 20, 2024 · 1 comment
Labels

Comments

@earth-2022
Copy link

where the testnet is,my team needs to do some test before the main net

@yoxira
Copy link
Member

yoxira commented Oct 8, 2024

Hi!

To use testnet, you should set nethash in the config to:

38f153a81332dea86751451fd992df26a9249f0834f72f58f84ac31cceb70f43

The config for testnet can be located under test directory (copy test/config.default.json).

test
├── config.default.json
└── config.json

To run the node using the config (test/config.json) run:

npm run start:testnet

Or if your config is located in a different directory, you can use --config flag:

node app.js --config path/to/your/config.json --genesis test/genesisBlock.json

Regards.

@yoxira yoxira added the question label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants