Full Node
Install a Monad Mainnet full node on a dedicated server.
Mainnet · Chain ID 143 · Ubuntu 24.04 / bare metal
Use a fresh machine meeting the requirements. These commands run in a root shell. Set up SSH access and identify your dedicated TrieDB disk before continuing.
Prepare the machine
Open a root shell
Use administrator access for package, service and raw-device setup.
sudo -iRefresh packages
Refresh the package index.
apt updateInstall utilities
Install disk, download and configuration tools.
apt install -y ca-certificates curl gnupg nvme-cli parted aria2 jq openssl nano ufwCreate the signing-key directory
Prepare APT’s keyring location.
Import the package key
Trust packages signed by the official Category Labs repository.
Configure the repository
Add the Ubuntu Noble package source.
Refresh package versions
Load the available Monad package versions.
Inspect available versions
Check that the release announced for Mainnet is available.
Install the approved release
0.16.4 is the reviewed reference. Follow the Mainnet deployment announcement when choosing a version.
Hold the package
Prevent unattended system upgrades from changing the consensus version.
Create the service user
Skip only if the monad account already exists.
Create node directories
Prepare configuration, ledger and runtime metadata paths.
Prepare the TrieDB disk
List NVMe devices
Identify the model and capacity of the dedicated disk.
Inspect mounts and filesystems
Check every partition and confirm the target disk is unused.
Choose the disk
Enter its exact path after inspection; no disk is selected by default.
Inspect LBA formats
Identify a 512-byte LBA format and its index.
If 512-byte sectors are not active, select the index shown for the 512-byte format. Formatting destroys this disk’s contents.
Select the format index — only if needed
Use the index reported by your device. Do not assume index 0 on every disk.
Apply 512-byte format — only if needed
Format the verified unused device.
Create the partition table
Create a fresh GPT on the selected empty disk.
Create the TrieDB partition
Allocate the disk to one raw database partition.
Read the partition UUID
Use the only partition created above.
Create a stable device name
Allow only root and the monad group to access the raw partition.
Reload device rules
Load the new rule.
Apply the rule
Apply permissions and the triedb symlink.
Wait for device setup
Wait for udev to finish.
Verify the target
Confirm /dev/triedb points to the dedicated partition.
Initialize TrieDB
Run the package’s one-time database initializer.
Check initialization
Confirm the initializer completed successfully.
Configure Mainnet
Download the environment template
Use the mainnet configuration supplied by Monad Foundation.
Download the full-node template
Use the public full-node network configuration.
Protect the environment
Restrict the file before adding the keystore password.
Set the password
On this fresh setup, generate the password when the template contains an empty KEYSTORE_PASSWORD entry.
Load service variables
Load the template after reviewing it.
Confirm a password is set
Continue only if this command succeeds.
Prepare private backups
Create a restricted backup location.
Restrict new private files
Keep newly generated backup files private.
Create the SECP identity
Run only on a new node with no existing id-secp file.
Create the BLS identity
Run only on a new node with no existing id-bls file.
Securely back up both keystores, their password and the recovery files outside the node. Do not post recovery-file contents.
Edit node settings
Set a unique node_name. For a full node, beneficiary may be the zero address. Keep enable_client=true under fullnode_raptorcast, expand_to_group=true under statesync, and the public full-node blocksync_override list empty.
Inspect name-record options
Use the flags supported by the installed release.
Set the public IP
Enter the routable address assigned to this server.
Sign the discovery record
This is the Mainnet command from the official installation guide. Match its port flags to your approved release.
Copy the generated signature and sequence number into [peer_discovery] in node.toml. Use the field layout of the downloaded release template: older Mainnet templates combine IP and TCP port in self_address; newer templates expose separate address and port fields. Do not paste an example signature. If your version replaces --udp-port with --direct-udp-port, follow the installed help and matching release instructions.
Check remote metadata URLs
Confirm both variables use /mainnet/, then save any missing values in .env.
Network access
Preserve your actual SSH port before enabling a firewall. Allow the consensus ports required by the selected template; keep RPC 8080 and metrics private.
Allow SSH
Use this on hosts using standard SSH port 22; adapt it before proceeding if yours differs.
Allow consensus traffic
Permit the ports used by the official node template.
Enable the firewall
Review the rules and apply the firewall.
The upstream guide also recommends a UDP anti-spam rule on port 8000. Confirm your release’s networking requirements and persist the rule with your firewall tooling. See the official networking section.
Bootstrap and start
Set file ownership
Give the service account access to its configuration and data.
Enable services
Enable startup on boot.
Follow Snapshots to import current Mainnet state before starting. The recovery procedure handles the active TrieDB storage format.
Start the node
Start consensus, execution and RPC after restoration.
Check services
All three should be active.
Verify Mainnet
After statesync, RPC should return 0x8f (143).
Verify progress
Repeat to confirm the block number advances.
Check cleanup
The package’s cleanup timer prevents old artifacts from accumulating.
Configure release-appropriate monitoring using the metrics migration guide.