Roller installation
Copy curl -L https://dymensionxyz.github.io/roller/install.sh | bash
Verify Roller version
Initialize RollApp
Copy roller config init --interactive
Address funding
After initializing the RollApp, addresses to fund should be returned to you:
Copy 🔑 Addresses:
Sequencer <network> | Address used to publish state updates to the Dymension Hub
Relayer <network> | Address that handles the relaying of IBC packets
DA <network> | Address used to publish data on-chain to the DA network
Faucet
In Dymension's discord please fund the Dymension Hub addresses in the froopyland-faucet
channel with the following command as an example:
Copy $request <dym-address>
$request <dym-address>
$request <celestia-address>
Register
Should return:
Copy 💈 Rollapp '<rollapp-id>' has been successfully registered on the hub.
Create SystemD
Copy tee $HOME/da-light-client.service > /dev/null <<EOF
[Unit]
Description=da-light-client
After=network-online.target
[Service]
User=$USER
ExecStart=/usr/local/bin/roller da-light-client start
Restart=on-failure
RestartSec=10
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
tee $HOME/sequencer.service > /dev/null <<EOF
[Unit]
Description=sequencer
After=network-online.target
[Service]
User=$USER
ExecStart=/usr/local/bin/roller sequencer start
Restart=on-failure
RestartSec=10
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
tee $HOME/relayer.service > /dev/null <<EOF
[Unit]
Description=relayer
After=network-online.target
[Service]
User=$USER
ExecStart=/usr/local/bin/roller relayer start
Restart=on-failure
RestartSec=10
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
Copy sudo mv $HOME/da-light-client.service /etc/systemd/system/
sudo mv $HOME/sequencer.service /etc/systemd/system/
sudo mv $HOME/relayer.service /etc/systemd/system/
Copy sudo systemctl enable da-light-client
sudo systemctl enable sequencer
sudo systemctl enable relayer
Copy sudo systemctl daemon-reload
Run
Copy sudo systemctl start da-light-client
sudo systemctl start sequencer
sudo systemctl start relayer
Check logs
💈Relayer logs
Copy tail -f ~/.roller/relayer/relayer.log
💈RollApp logs
Copy tail -f ~/.roller/rollapp/rollapp.log
IBC transfer
Copy roller tx fund-faucet
Transfer IBC Tokens
Copy roller relayer status
The output:
Copy 💈 Relayer Channels: src, channel-0 <-> channel-1, dst
The source channel, in this case channel-0
, will be used in the following command and will be referred to as <src-channel>
.
Copy rollapp_evm tx ibc-transfer transfer transfer <src-channel> <destination-address> 5000000000000000000000000<base-denom> --from rollapp_sequencer --keyring-backend test --home ~/.roller/rollapp --broadcast-mode block