# Shredstream

Request Shredstream access, prepare your first UDP receiver and confirm delivery

Source: https://zerocopy.sh/docs/quickstart/shredstream

Shredstream delivers raw Solana shreds to a public IPv4 address and UDP port in a
selected metro. You need a receiver you control and an application that
[verifies and processes the stream](/docs/shredstream/processing).

## 1. Request access [#1-request-access]

If you're a team admin or developer, open **Shredstream** in the
[console](https://console.zerocopy.sh). Choose your [metros](/docs/shredstream#metros)
and request at least one receiver. Your team can have up to 16 receivers in total.

Have each receiver's public IPv4 address and UDP port ready. Add a note of up to 1,000
characters if you have requirements, then select **Request Shredstream**.

You can edit or withdraw an open request. Existing receivers keep running if you
withdraw it. You'll find ZeroCopy's answer on the Shredstream page and in your notifications.

## 2. Prepare the first receiver [#2-prepare-the-first-receiver]

ZeroCopy supplies source addresses when it sets up your receivers. Open the receiver's
UDP port only to those addresses for its metro. IPv6 is not supported.

Bind a UDP socket to the assigned port and raise the operating system and socket receive
buffers. Keep logging and block processing off the receive path. See
[receiver setup](/docs/shredstream/receivers) for firewall and buffer requirements.

For an initial check, use the Rust [receiver example](/docs/shredstream/processing#receiver-example)
in the [example project](/docs/reference/json-rpc#example-project). Set `SHREDSTREAM_UDP_PORT`
to the assigned port and `DEDUPE_ENTRIES` to the number of header keys to retain, then run
`cargo run --bin shred_receiver`. Go and TypeScript alternatives are in the same example.
It only inspects headers; it does not verify shreds or reconstruct blocks.

## 3. Check delivery [#3-check-delivery]

Delivery starts within a minute of a receiver becoming active. Billing starts that day,
so keep [prepaid credit](/docs/account/billing#shredstream) available.

Compare incoming packets with the [delivery reports](/docs/shredstream/monitoring#receivers)
in the console. If nothing arrives, check the destination IP and port, your firewall
allowlist and the port your application is listening on.

Use the [delivery format](/docs/shredstream/format) and [processing guide](/docs/shredstream/processing)
to build your consumer. Confirm transactions separately before acting on them.

## Changes [#changes]

For more metros or receivers, select **Request more metros or receivers**. To change
or pause an existing receiver, use [Requests in the console](https://console.zerocopy.sh).
Changing an active receiver's address or metro starts a new delivery period.
