Skip to main content

Digital Ocean

This guide will walk you through deploying a rollup full node on a Kubernetes cluster on Digital Ocean which uses the Astria shared sequencer network.

Local Dependencies

Install the latest Astria cli

Clone the Astria dev-cluster

git clone --branch dusk-3

Install the latest astria cli

curl -L > astria-cli.tar.gz
tar -xvzf astria-cli.tar.gz

You'll also need to install the following tools:


There is a bug in the latest Docker desktop release for MacOS
Please install the following release:
For more details see here

Dusknet Endpoints

The endpoints for the remote shared sequencer are:

Sequencer RPCrpc.sequencer.dusk-3.devnet.astria.org34.111.73.187
Sequencer Faucetfaucet.sequencer.dusk-3.devnet.astria.org34.36.8.102

Create a New Cluster

This guide assumes you're using Digital Ocean's Kubernetes (K8s) service.

Install and configure doctl:

Follow the instructions in Digital Ocean's Quick Start Guide to create a new cluster in the region of your choosing.

Configure kubectl with doctl

Once your k8s cluster is created configure kubectl.

doctl screenshot

Deploy Ingress Nginx Controller

We use the Nginx Ingress Controller, documentation can be found here

To install it run:

kubectl apply -f

This will create several Kubernetes (k8s) resources and a Digital Ocean loadbalancer.

Verify Loadbalancer with external IP

You should see a new loadbalancer being created in the Digital Ocean console:

You can also check that your Digital Ocean load balancer was created with:

kubectl get svc -n ingress-nginx

It may take a few minutes for the EXTERNAL-IP field to be populated, you should eventually see something like this:

NAME                                 TYPE           CLUSTER-IP      EXTERNAL-IP     PORT(S)                      AGE
ingress-nginx-controller LoadBalancer 80:32656/TCP,443:30158/TCP 44h
ingress-nginx-controller-admission ClusterIP <none> 443/TCP 44h

Create an A Record


You must configure a DNS record because our ingress configuration uses name based virtual routing.

More info can be found here

How you create an A record will depend on where you manage your domain.

An example for Google domains can be seen here:

Create a wildcard record * pointing to the EXTERNAL-IP of your ingress-nginx-controller:

a record screenshot

Create your Rollup Genesis Account(s)


NEVER use a private key you use on a live network.

Specify the accounts which will be funded at the genesis block of your EVM rollup.

You can create an account using:

cast w new
Successfully created new keypair.
Address: 0xfFe9...5f8b # <GENESIS_ADDRESS>
Private key: 0x332e...a8fb # <GENESIS_PRIVATE_KEY>

Export the genesis private key, this will be used by the faucet included with the rollup:


Export the genesis address alongside with your desired initial balance in Wei.
We recommend using a value of 100000000000000000000 or larger:


You can specify multiple accounts to be funded at genesis as comma deliminated tuples of <ADDRESS>:<BALANCE>


Create Rollup Config

Create the configuration manifest for your rollup.

Replace the tags in the commands and env vars below, as follows:

Var NameVar TypeDescription
<YOUR_ROLLUP_NAME>StringThe name of your rollup. This must be alphanumeric, - is allowed, this will be included in URLs
<YOUR_NETWORK_ID>u64The id of your network. Pick a > 6 digit number (eg. 123456)
<YOUR_HOSTNAME>StringThe chosen hostname for your network (eg.

You can use environment variables to set the configuration for the rollup config creation. Replace all the <> tags with their corresponding values.


Run the config create command:

astria-cli rollup config create

Export the config file name as an env vars:

export ROLLUP_CONF_FILE=$ROLLUP_NAME-rollup-conf.yaml

Verify the config

namespace: astria-dev-cluster
useTTY: false
logLevel: debug
chainId: <YOUR_ROLLUP_NAME>-chain
networkId: '<YOUR_NETWORK_ID>'
- address: <GENESIS_ADDRESS>
balance: '<BALANCE>'
websocket: wss://
hostname: <YOUR_HOSTNAME>
labelPrefix: <YOUR_ROLLUP_NAME>

Create new sequencer account

Create an account on the Astria shared sequencer network for your rollup to submit transactions.

astria-cli sequencer account create
Create Sequencer Account

Private Key: "5562...1622" # <SEQUENCER_ACCOUNT_PRIV_KEY>
Public Key: "ec20...f613" #
Address: "8a2f...5f68" # <SEQUENCER_ACCOUNT_ADDRESS>

Export your sequencer private key and address as environment variables:

export SEQUENCER_PRIV_KEY=5562...1622

Fund your Sequencer Account

Navigate to to view the sequencer faucet.

Enter your <SEQUENCER_ACCOUNT_ADDRESS> into the text box to send funds to your account:

Sequencer Faucet

Verify your account received the funds

astria-cli sequencer account balance $SEQUENCER_ACCOUNT_ADDRESS

Deploy the Rollup Node

Use the astria-cli to deploy the rollup node

astria-cli rollup deployment create \
--config $ROLLUP_CONF_FILE \
--faucet-private-key $ROLLUP_FAUCET_PRIV_KEY \
--sequencer-private-key $SEQUENCER_PRIV_KEY

Watch for rollup startup

You can watch for the Kubernetes pods of the rollup to start with:

kubectl get pods -n astria-dev-cluster -w
NAME                                               READY   STATUS    RESTARTS      AGE
<YOUR_ROLLUP_NAME>-blockscout-647745c66d-vz4ks 6/6 Running 1 (56s ago) 72s
<YOUR_ROLLUP_NAME>-celestia-node-light-mocha-4-0 2/2 Running 1 (56s ago) 72s
<YOUR_ROLLUP_NAME>-faucet-68667bd895-pwqmz 1/1 Running 0 72s
<YOUR_ROLLUP_NAME>-geth-755cb8dd97-k5xp8 3/3 Running 0 72s

Your Rollup Endpoints

Your rollup will automatically be configured with several public endpoints using the DNS you configured:

Block Explorerhttp://blockscout.<YOUR_ROLLUP_NAME>.<YOUR_HOSTNAME>/

Interact with your Rollup

cast block 0

Use an address of your choice.

cast balance $REC_ADDR
cast send $REC_ADDR --value 10000000000000000000 --private-key $ROLLUP_FAUCET_PRIV_KEY
cast balance $REC_ADDR