-
Notifications
You must be signed in to change notification settings - Fork 35
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
Updates documentation on how to run a full node #175
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
1. From https://github.com/dydxprotocol/v4-chain/releases/ | Look for the `protocol` assets. | ||
2. For example, as of `10/19/2023`, this was the correct binary to use: | ||
|
||
2. For example, as of `04/26/2024`, this was the correct binary to use: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we provide instructions on how to figure out which version to use at any given time?
 | ||
3. Download, extract, and rename the binary to `dydxprotocold`. Move it to a directory in your `$PATH`. Now, initialize the data directory (create the directory first if it doesn’t exist). | ||
3. Download, extract, and rename the binary to `dydxprotocold`. Move it to a directory in your `$PATH`. Now, initialize the dydx home directory (create the directory first if it doesn’t exist). | ||
```bash | ||
CHAIN_ID=dydx-mainnet-1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CHAIN_ID=dydx-testnet-4 # or dydx-mainnet-1 for the deployment by DYDX token holders
DYDX_HOME=/home/vmware/.dydx-mainnet-1 | ||
sudo tee /etc/systemd/system/dydxprotocold.service > /dev/null << EOF | ||
[Unit] | ||
Description=osmosis node service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: dydxprotocol node service
```bash | ||
sudo systemctl start dydxprotocold | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also add command on how to stop the service
``` | ||
3. The full node is now syncing. To determine whether the full node is caught up with the chain head, please check the applicable block explorer to determine when it reaches the current block – an example block explorer is shown on https://www.mintscan.io/dydx | ||
The full node is now syncing. To determine whether the full node is caught up with the chain head, please check the applicable block explorer to determine when it reaches the current block – an example block explorer is shown on https://www.mintscan.io/dydx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would also add a small section on different interesting queries you can run. for ex, command to see how much the node has synced rather than parsing through logs
Updating documentation on full node setup to include cosmovisor being included in