Setup Arbitrum RPC
Personal RPC endpoint for a Lilypad Resource Provider
The Lilypad Network uses the Arbitrum Sepolia Testnet to settle compute transactions. This guide walks through the steps of setting up a personal RPC endpoint for Arbitrum Sepolia using Alchemy.
The Lilypad Network is not responsible for issues caused by misconfigured RPC endpoints. Please use at your own risk!
This personal RPC endpoint allows Resource Providers (RP) to avoid reliability issues with the RPC endpoints used by Lilypad ensuring rewards can be earned and jobs can be run consistently. RPs running a personal RPC endpoint contribute to the fault tolerance and decentralization of the Lilypad Network! Read more in the Alchemy Arbitrum docs.
This guide demonstrates how to use Alchemy's RPC, but you can substitute any Arbitrum Sepolia RPC that supports WebSockets.
Setup Alchemy account
Create an account and login to the Alchemy dashboard.
Select a βfreeβ account as the compute units provided should be sufficient to run a Lilypad RP. The free service provides 300 million compute units per month.
Select βskip bonusβ or input a credit card with billing info (the card will not be charged unless the compute credits in the free tier are used).
Setup RPC endpoint for Arbitrum Sepolia
In the βoverviewβ section of the Alchemy dashboard, navigate to βMy appβ and select βEndpointsβ. If an app was not created upon login, create a new one by selecting "Create new app"
By selecting βEndpointsβ, the βNetworksβ tab will open providing an option to configure the Arbitrum API.
Select βSepoliaβ
Select βWebsocketsβ
The RPC endpoint for Arbitrum Sepolia is ready to be used with the Lilypad Resource Provider:
Metrics for the RPC can be viewed in the βMetricsβ tab.
Use the new RPC endpoint
This is guide is for individuals running a Lilypad Resource provider, find more info here.
Lilypad RPs can use a personal RPC endpoint with a few simple steps. Only Web-socket (WSS) connections are supported.
Docker users
Stop the existing Lilypad Resource Provider (RP) before setting up the new RPC.
Locate the Lilypad RP Docker container using:
Stop the container using the PID:
Use this command to start the lilypad-resource-provider.service with the new RPC:
Check the status of the container:
Ubuntu users
Stop the existing Lilypad RP (if the node is not running, disregard this first step):
Update lilypad-resource-provider.service with the new RPC:
Add following line to [Service] section:
Reboot the node:
If the Lilypad RP was setup properly as a systemd service, the RP will reboot using the new RPC.
Last updated