Before running the node, you need to register an account and obtain your API Key.
-
Visit the registration page:
https://dashboard.datagram.network?ref=183600408 -
Sign up using your email address.
-
After logging in, copy your API Key from the dashboard.
-
Download the
datagram-cli
binary:wget -O datagram-cli https://github.com/Datagram-Group/datagram-cli-release/releases/latest/download/datagram-cli-x86_64-linux
-
Make the file executable:
chmod +x datagram-cli
-
Start a new
screen
session to keep the program running in the background:screen -S datagram
-
Run the CLI with your API Key (replace
YOUR_API_KEY
):./datagram-cli run -- -key YOUR_API_KEY
-
To detach from the screen session without stopping the process:
Press:
Ctrl + A then D
-
To reattach to the screen session:
screen -r datagram
- Make sure your API Key is valid and active.
- Use
screen
so the node keeps running even after you log out. - You can always reattach to the screen to monitor the node.