Skip to content
This repository was archived by the owner on Jul 11, 2025. It is now read-only.

xmtp/xmtp-nextjs-client

Status

Caution

This repository is no longer maintained. For the latest guidance on building agents with XMTP, see the xmtp-agent-examples project.

The documentation below is provided for historical reference only.

XMTP Next.js GM agent

This agent replies gm to all messages.

Getting started

Requirements

  • Node.js v20 or higher
  • Next.js v14 or higher
  • Yarn v4 or higher

Environment variables

To run your XMTP agent, you must create a .env file with the following variables:

WALLET_KEY= # the private key of the wallet
ENCRYPTION_KEY= # encryption key for the local database
XMTP_ENV=dev # local, dev, production

Run the agent

# git clone repo
git clone https://github.com/xmtp/xmtp-nextjs-app.git
# go to the folder
cd xmtp-nextjs-app
# install packages
yarn
# run the agent
yarn dev

About

ARCHIVED. xmtp-nextjs-app

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •