Running a gateway
If you would like to run your own gateway, you are more than welcome to do so.
To run a gateway:
Checkout
- Checkout the repository (opens in a new tab).
git clone https://github.com/unruggable-labs/unruggable-gateways.git
Setup
- Run the following setup commands
foundryup
forge install
bun i
Configuration
- Copy the
.env.example
template to.env
and define the appropriate environment variables.
ALCHEMY_KEY
INFURA_KEY
ANKR_KEY
Run it
- Run the gateway using the following commands:
bun run serve <chain> [port]
Supported chains: arb1
base
blast
fraxtal
linea
op
polygon
scroll
taiko
zksync
zora
Default port: 8000