waffles-solana-geyser-plugin-interface

Crates.iowaffles-solana-geyser-plugin-interface
lib.rswaffles-solana-geyser-plugin-interface
version1.16.0-alpha.10
sourcesrc
created_at2023-02-22 04:03:18.694239
updated_at2023-03-24 11:02:29.252827
descriptionWaffle Labs maintained The Solana Geyser plugin interface.
homepagehttps://waffles.so/
repositoryhttps://github.com/waffles-labs/solana
max_upload_size
id791369
size14,301
Nicholas (nixxholas)

documentation

https://docs.rs/waffles-solana-geyser-plugin-interface

README

Solana

Solana Geyser Plugin Interface

This crate enables an plugin to be added into the Solana Validator runtime to take actions at the time of account updates or block and transaction processing; for example, saving the account state to an external database. The plugin must implement the GeyserPlugin trait. Please see the detail of the geyser_plugin_interface.rs for the interface definition.

The plugin should produce a cdylib dynamic library, which must expose a C function _create_plugin() that instantiates the implementation of the interface.

The https://github.com/solana-labs/solana-accountsdb-plugin-postgres repository provides an example of how to create a plugin which saves the accounts data into an external PostgreSQL databases.

More information about Solana is available in the Solana documentation.

Still have questions? Ask us on Discord

Commit count: 22776

cargo fmt