Skip to content

Shyft-to/shredstream-decode-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decode shredstreams

git clone https://github.com/Shyft-to/shredstream-decode-examples.git --recurse-submodules

cargo run -- --shredstream-uri <url> --x-token <authtoken>
  • x-token optional
  • --account-include (optional) → Space-separated list of accounts to filter transactions by. If omitted, all transactions will be printed.

screenshot-1

View Count

If you only want to see counts of slots, entries, and transactions, remove the comments from this section in main.rs:

                // println!(
                //     "slot {}, entries: {}, transactions: {}",
                //     slot_entry.slot,
                //     entries.len(),
                //     entries.iter().map(|e| e.transactions.len()).sum::<usize>()
                // );

View Transactions

  • By default, all transactions will be streamed and printed.

  • To restrict output to transactions involving specific accounts, pass --account-include.

Example

cargo run -- --shredstream-uri <url> --x-token <authtoken> --account-include 675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8 JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4

Preview:

screenshot-2

Notes

Jito Shredstream Proxy: [https://github.com/jito-labs/shredstream-proxy]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages