Skip to content

hello-world geyser plugin to stream accounts and transactions from a solana node

Notifications You must be signed in to change notification settings

0xNineteen/simple-geyser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • src/lib.rs: entrypoint
  • src/plugin.rs: main plugin code
  • to run: cargo build && solana-test-validator -r --geyser-plugin-config config.json
  • note: make sure solana-test-validator --version matches the Cargo.toml version

...

what you should see:

⠐ Initializing...
Identity: CRCJ7zzd5SSmA8AJ9gbtv4QrYZ2zw4YKWa1MCDw1NTf2
Genesis Hash: 9VRik4BdeNEoZdvAabsinfDjfXVLj2rCpCcLe6grVdem
Version: 2.0.10
Shred Version: 32893
Gossip Address: 127.0.0.1:1024
TPU Address: 127.0.0.1:1027
JSON RPC URL: http://127.0.0.1:8899
WebSocket PubSub URL: ws://127.0.0.1:8900
⠙ 00:00:02 | Processed Slot: 2 | Confirmed Slot: 2 | Finalized Slot: 0 | Full Snapshot Slot: - | Incremental Snapshot Slot: - | Transactions: 1 | ◎499.999995000                                                                                                                 account SysvarRecentB1ockHashes11111111111111111111 updated at slot 3!
account CRCJ7zzd5SSmA8AJ9gbtv4QrYZ2zw4YKWa1MCDw1NTf2 updated at slot 3!
account SysvarS1otHistory11111111111111111111111111 updated at slot 3!
account SysvarS1otHashes111111111111111111111111111 updated at slot 4!
account SysvarC1ock11111111111111111111111111111111 updated at slot 4!
account CRCJ7zzd5SSmA8AJ9gbtv4QrYZ2zw4YKWa1MCDw1NTf2 updated at slot 4!

...

reference impls:

About

hello-world geyser plugin to stream accounts and transactions from a solana node

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages