MAINNET • RUN A NODE
Run a PHONCOIN node
Goal: make the network stronger by adding more gateways and (optionally) core nodes. This guide stays simple and safe.
Node types
- Gateway: public API + explorer access. Acts as a “front door” for wallets (HTTPS).
- Core: participates in consensus + block validation, stores the chain state.
Recommended specs
- Linux VPS (Ubuntu/Debian), always-on network
- 2 vCPU / 4 GB RAM (more is better for gateways under heavy traffic)
- Fast SSD (chain state + logs)
At scale, gateways need bandwidth. Core nodes need disk reliability.
Minimal checklist
- Pick a domain (example: api2.yourdomain) and enable HTTPS (Nginx + Let’s Encrypt).
- Expose only what you need:
- HTTP/HTTPS: 80/443
- Peer/consensus ports (if your core needs them) — keep them strict and documented.
- Keep the process stable:
- systemd service with auto-restart
- log rotation
- monitoring (Prometheus endpoint if enabled)
- Configure your gateway to point to a trusted core (or your own core).
- Announce the new public endpoint to the community so wallets can use it.
Public endpoints (example)
These URLs can be shared publicly:
Explorer: https://explorer.phoncoin.org/explorer
Gateway API (example): https://api.phonchain.org
Security basics (non negotiable)
- Run updates, disable password SSH (use keys), and keep firewall rules tight.
- Terminate TLS at the gateway (HTTPS), and never log secrets.
- Rate-limit abusive traffic (Nginx / WAF) and enable basic DDoS protections if available.