This guide explains how to help develop or improve an integration using the XMTP protocol.
- Know Node.js and TypeScript
- Use Node.js version 20 or higher
- Use Yarn package manager
-
Fork the repository
Fork the repository to your GitHub account.
-
Clone your fork
Clone the repository to your computer.
git clone https://github.com/your-username/xmtp-agent-examples.git cd xmtp-agent-examples
-
Create a new branch
Make a new branch for your changes.
git checkout -b integration/your-integration-name
-
Install dependencies
Go to the integration directory and install packages.
cd integrations/your-integration yarn
-
Make changes
Edit the
index.ts
file or other files. -
Test changes
Run the integration to check your changes.
yarn dev
-
Commit changes
Save your changes with a message.
git add . git commit -m "Add integration: description of your integration"
-
Push changes
Send your changes to your forked repository.
git push origin integration/your-integration-name
-
Create a pull request
Go to the original repository and make a pull request.
-
Describe changes
Explain what you changed and why.
-
Respond to feedback
Make more changes if needed.
Follow the project's rules in all interactions.