| Crates.io | waffles-solana-geyser-plugin-interface |
| lib.rs | waffles-solana-geyser-plugin-interface |
| version | 1.16.0-alpha.10 |
| created_at | 2023-02-22 04:03:18.694239+00 |
| updated_at | 2023-03-24 11:02:29.252827+00 |
| description | Waffle Labs maintained The Solana Geyser plugin interface. |
| homepage | https://waffles.so/ |
| repository | https://github.com/waffles-labs/solana |
| max_upload_size | |
| id | 791369 |
| size | 14,301 |
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