Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teach example/CLI how to talk to V4/Replication Node #1214

Open
wants to merge 26 commits into
base: main
Choose a base branch
from

Conversation

mkysel
Copy link
Contributor

@mkysel mkysel commented Nov 4, 2024

This is the first (large) step in the right direction. By no means is the migration to decentralization complete.

This teaches the CLI to do basic operations via xtmpd such as:

  • registering
  • creating groups
  • adding members to groups
  • messaging

One has to simply provide the --testnet flag to the CLI and everything will work against the new API.

The easiest way to spin up the new environment is to wait for #1281.

This refactors the Error class into its own file and adds an Internal error.

Also adds a new command to the CLI for debugging.

xmtp_proto/src/convert.rs Outdated Show resolved Hide resolved
xmtp_proto/src/convert.rs Outdated Show resolved Hide resolved
xmtp_proto/src/convert.rs Outdated Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
@mkysel mkysel changed the title Implement register function Teach example/CLI how to talk to V4/Replication Node Nov 18, 2024
@mkysel mkysel marked this pull request as ready for review November 18, 2024 18:30
@mkysel mkysel requested a review from a team as a code owner November 18, 2024 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants