This is a Web3 Next.js starter app.
We use ConnectKit, Wagmi, ConnectKit Viem and TanStack.
The app is configured for a simple Railway deployment as a Service Template.
Set environment variables:
Required:
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID="Your_Project_ID" - Get at Reown Cloud
Recommended:
NEXT_PUBLIC_ALCHEMY_ID="Your_Alchemy_Key"
NEXT_PUBLIC_APP_NAME="Your App Name"
NEXT_PUBLIC_APP_DESCRIPTION="Your App Description"
NEXT_PUBLIC_APP_URL="https://family.co"
NEXT_PUBLIC_APP_ICON="https://family.co/logo.png"
NEXT_PUBLIC_EXAMPLE_CONTRACT="0xf5b1c4f599DFf501f2A622E8809aF7f389394A19"
- Within the service settings click the Eject button on the upstream repository
- Clone that newly created repository locally
- Install dependencies with 'npm install --legacy-peer-deps'
- Install the Railway CLI (and login if this is your first time)
- Run 'railway link' to link the local repository to your app on Railway
- Start you app for local development with 'npm run dev'
- Open http://localhost:3000