
thirdweb Engine
The open-source server for scalable web3 apps.
Postgres
railwayapp-templates/postgres-ssl:latest
Just deployed
/var/lib/postgresql/data
Redis
bitnami/redis
Just deployed
/bitnami
Engine
thirdweb/engine:latest
Just deployed
Deploy and Host thirdweb Engine on Railway
thirdweb Engine is a production-grade HTTP server that reads, writes, and deploys smart contracts at scale. It enables backend wallet management, transaction retries, nonce management, and gas estimation for scalable blockchain applications with complete web3 infrastructure.
About Hosting thirdweb Engine
Hosting thirdweb Engine involves deploying a self-hosted HTTP server that interacts with smart contracts on any EVM blockchain. The deployment includes setting up PostgreSQL and Redis databases, configuring API keys, and managing backend wallets. This setup provides complete control over your web3 infrastructure while enabling high-throughput blockchain interactions with automatic transaction management and scalable backend wallet operations.
Common Use Cases
- Create and manage funded backend wallets for automated blockchain transactions
- Build scalable blockchain applications with transaction retries and gas optimization
- Deploy ERC-4337 compatible smart accounts for gasless and sign-less user experiences
- Integrate complete web3 infrastructure with RPC, IPFS, and account abstraction
Dependencies for thirdweb Engine Hosting
- PostgreSQL (v14+)
- Redis (v7.2.4+)
- thirdweb API secret key
- Wallet address for backend operations
Deployment Dependencies
Implementation Details
This template deploys the official thirdweb Engine Docker container along with PostgreSQL and Redis databases. The Engine server provides REST APIs for:
- Backend wallet creation and management
- Smart contract deployment and interaction
- Transaction queuing with automatic retry logic
- Gas estimation and nonce management
- ERC-4337 account abstraction support
Additional resources:
- Complete thirdweb Engine Documentation
- Getting Started Guide
- Railway Deployment Tutorial (3 minutes)
Why Deploy thirdweb Engine on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying thirdweb Engine on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
Redis
bitnami/redisEngine
thirdweb/engine:latestADMIN_WALLET_ADDRESS
The wallet address that will configure Engine from the thirdweb dashboard. You will be able to add other admins later.
THIRDWEB_API_SECRET_KEY
A thirdweb secret key created on the API Keys page.