Skip to content

Commit cd6242a

Browse files
authored
cli: add dragon's mouth support (#83)
1 parent f9dff91 commit cd6242a

13 files changed

+1347
-697
lines changed

.github/workflows/cla.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
# This token is required only if you have configured to store the signatures in a remote repository/organization
2424
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_TOKEN }}
2525
with:
26-
path-to-signatures: 'signatures/version1/cla.json'
26+
path-to-signatures: 'richat/signatures/version1/cla.json'
2727
path-to-document: 'https://gist.github.com/fanatid/13f3d557c89efbf3b0c32a2d07345444#file-richat-md' # e.g. a CLA or a DCO document
2828
branch: 'master'
2929
allowlist: bot*

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ The minor version will be incremented upon a breaking change and the patch versi
1616

1717
### Breaking
1818

19+
## 2025-03-12
20+
21+
- richat-cli-v3.0.0
22+
- richat-filter-v2.4.1
23+
24+
### Breaking
25+
26+
- cli: add dragon's mouth support ([#83](https://github.com/lamports-dev/richat/pull/83))
27+
1928
## 2025-03-06
2029

2130
- richat-cli-v2.2.2

Cargo.lock

+5-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ quinn = "0.11.6"
5959
rayon = "1.10.0"
6060
rcgen = "0.13.1"
6161
richat-client = { path = "client", version = "2.2.0" }
62-
richat-filter = { path = "filter", version = "2.4.0" }
62+
richat-filter = { path = "filter", version = "2.4.1" }
6363
richat-plugin-agave = { path = "plugin-agave", version = "2.1.0" }
6464
richat-proto = { path = "proto", version = "2.1.0" }
6565
richat-shared = { path = "shared", version = "2.5.0" }

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ At one moment of time we can support more than one agave version (like v2.0 and
236236

237237
## List of RPC providers with Dragon's Mouth support
238238

239+
- `ERPC`https://erpc.global/en/
239240
- `Gadfly Node`https://gadflynode.com/
240241
- `Geeks Labs`https://discord.gg/geekslabs
241242
- `GetBlock`https://getblock.io/

cli/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "richat-cli"
3-
version = "2.2.2"
3+
version = "3.0.0"
44
authors = { workspace = true }
55
edition = { workspace = true }
66
description = "Richat Cli Tool"

cli/src/bin/richat-cli.rs

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
use {
22
clap::{Parser, Subcommand},
3-
richat_cli::{pubsub::ArgsAppPubSub, stream::ArgsAppStream, track::ArgsAppTrack},
3+
richat_cli::{
4+
pubsub::ArgsAppPubSub, stream_grpc::ArgsAppStreamGrpc, stream_richat::ArgsAppStreamRichat,
5+
track::ArgsAppTrack,
6+
},
47
std::{
58
env,
69
sync::atomic::{AtomicU64, Ordering},
@@ -19,8 +22,11 @@ enum ArgsAppSelect {
1922
/// Subscribe on updates over WebSocket (Solana PubSub)
2023
Pubsub(ArgsAppPubSub),
2124

25+
/// Stream data from Yellowstone gRPC / Dragon's Mouth
26+
StreamGrpc(ArgsAppStreamGrpc),
27+
2228
/// Stream data directly from the richat-plugin
23-
Stream(ArgsAppStream),
29+
StreamRichat(ArgsAppStreamRichat),
2430

2531
/// Events tracker
2632
Track(ArgsAppTrack),
@@ -43,7 +49,8 @@ async fn main2() -> anyhow::Result<()> {
4349
let args = Args::parse();
4450
match args.action {
4551
ArgsAppSelect::Pubsub(action) => action.run().await,
46-
ArgsAppSelect::Stream(action) => action.run().await,
52+
ArgsAppSelect::StreamGrpc(action) => action.run().await,
53+
ArgsAppSelect::StreamRichat(action) => action.run().await,
4754
ArgsAppSelect::Track(action) => action.run().await,
4855
}
4956
}

cli/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
pub mod pubsub;
22
pub mod stream;
3+
pub mod stream_grpc;
4+
pub mod stream_richat;
35
pub mod track;

0 commit comments

Comments
 (0)