Canonical: https://nitride.xyz/docs

# Quickstart: from payment to first packet

The shortest path from a paid plan to raw Solana shreds on your own server. There is no SDK, API key or dashboard: you give us an IP address and a UDP port, we verify it, and the shreds arrive there.

## Before you start
You need three things:

- a Linux server with a **public IPv4 address** (IPv6 and private addresses can't be used);
- a free **UDP port** on it, reachable from the internet;
- **Python 3**, for the test receiver below.

This page uses port `9000` throughout. Use your own port wherever you see it.

## 1. Pick a plan and pay
Standard Shreds costs $100 and Ultra Low Latency Shreds costs $200, each for one destination for 30 days. Both send shreds from [Frankfurt](https://nitride.xyz/blog/why-frankfurt) and the shreds are identical; Ultra comes directly from our server to yours with no relay hop, Standard is delivered through our relay. Pay in USDC on Solana at the checkout. Before your 30 days end, we email you a link to pay for the next 30 days. Nothing is charged automatically. Pay early and you lose nothing: your next 30 days start when the current 30 days end.

[Buy and activate](https://nitride.xyz/docs/start/buy-and-activate) covers payment, the trial, renewal and refunds in full, and the [pricing page](https://nitride.xyz/pricing) compares the plans.

## 2. Email us your destination
Write to [support@nitride.xyz](mailto:support@nitride.xyz) with your order reference, the plan, the server's public IPv4 address and the UDP port. [Your destination IP and port](https://nitride.xyz/docs/delivery/destination) covers NAT, clouds and choosing a port. If the server is behind NAT, forward that public port to the machine that will run the receiver.

## 3. Open the port
The port must accept UDP from the internet while we verify it. With ufw (other firewalls are in [firewall rules for the feed](https://nitride.xyz/docs/delivery/firewall)):

```sh
sudo ufw allow 9000/udp
```

Add the same rule to any cloud firewall or security group in front of the server. Once delivery is active you can narrow the rule to our source address; [command-line checks](https://nitride.xyz/docs/cli#open-the-port) shows both versions.

## 4. Start a receiver
Run this on the destination server and leave it running. It needs nothing beyond Python 3. Text datagrams, such as the verification token, are printed in full; everything else is counted, with a summary once a second.

```sh file="terminal"
python3 - <<'PY'
import socket
import time

HOST = "0.0.0.0"
PORT = 9000

sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.setsockopt(socket.SOL_SOCKET, socket.SO_RCVBUF, 8 * 1024 * 1024)
sock.bind((HOST, PORT))
print(f"listening on udp://{HOST}:{PORT}", flush=True)

packets = 0
size = 0
last = time.monotonic()

while True:
    data, peer = sock.recvfrom(2048)
    if data and all(32 <= b < 127 or b in (9, 10, 13) for b in data):
        print(f"text from {peer[0]}: {data.decode().strip()}", flush=True)
        continue
    packets += 1
    size += len(data)
    now = time.monotonic()
    if now - last >= 1.0:
        print(f"source={peer[0]} packets={packets} bytes={size}", flush=True)
        packets = 0
        size = 0
        last = now
PY
```

The receive buffer it asks for is a request, not a guarantee: Linux caps it at `net.core.rmem_max`. That is fine for a first test; for anything longer, see [receive-side requirements](https://nitride.xyz/docs/udp#tuning).

## 5. Verify your destination
We send your address a short text datagram carrying a one-time token. Your receiver prints it on a line that starts with `text from`. Reply to our email with the token.

Activation, or a trial, starts after we confirm it. If no `text from` line appears, check the port, the cloud firewall and any NAT rule, keep the receiver running, and ask us to send the datagram again.

## 6. See the first packets
Once delivery is active, the counter lines begin:

```text file="terminal"
listening on udp://0.0.0.0:9000
source=<source-ip> packets=… bytes=…
```

The packet count moves with Solana's own activity, so it rises and falls through the day. If the counter stays at zero, start with [troubleshooting](https://nitride.xyz/docs/troubleshooting).

> [!NOTE]
> Nothing on this path is resent. Raw UDP has no ordering, retransmission or backpressure, so a receiver that stalls simply misses packets. Prove the path, then count, and only then decode.

## Next steps
- [Concepts](https://nitride.xyz/docs/concepts): what the packets contain and how the two plans differ.
- [The UDP wire contract](https://nitride.xyz/docs/udp): exactly what arrives, and what to build for.
- Header parsing in [Rust](https://nitride.xyz/docs/rust), [Node.js](https://nitride.xyz/docs/typescript), [Python](https://nitride.xyz/docs/receiver/python) or [Go](https://nitride.xyz/docs/receiver/go).
- [Command-line checks](https://nitride.xyz/docs/cli): prove each part of the path with standard Linux tools.
