#parser #metaplex #canonical #account #contract #plugin #indexing

blockbuster

Metaplex canonical program parsers, for indexing, analytics etc

28 releases (8 stable)

2.3.1 Jun 14, 2024
2.2.0 Mar 28, 2024
1.0.1 Feb 4, 2024
0.9.0-beta.5 Jan 2, 2024
0.5.9 Nov 16, 2022

#8 in #metaplex

AGPL-3.0

61KB
1.5K SLoC

BlockBuster

BlockBuster -> "Busting Solana blocks into little pieces to index and operate on the programs therein" - Noone - 1995

This repository is the home for Metaplex Program Parsers. Program parsers are canonical libraries that take a transaction or account update from a geyser plugin and parse them correctly according to Metaplex smart contracts. This sort of parsing is hard to automate as it must contain some knowledge of the API structure of the contract which is not fully describable yet via IDLs. Things like remaining accounts, optional accounts and complex instruction data are not always 100% clear what they mean without knowledge of the contract.

Mode of Operation

This library works best as a consumer of messages sent via a geyser plugin using the Plerkle Serialization library by metaplex. The types from that library are FlatBuffer based currently, and are the wire format of messages coming out of Plerkle into the rest of the infrastructure. For more information about Plerkle and the Digital Asset RPC infrastructure It can however be used in any general programs provided you can create the data in the FlatBuffer types.

Scope

This library contains parsers for the following programs and the parsers are specific to how these contracts relate to metaplex assets.

  • Gummyroll (Solana)
  • Bubblegum (Metaplex)
  • Spl Token (Solana)
  • Token Metadata (Metaplex)
  • Auction House (Metaplex)
  • Candy Machine (Metaplex)
  • Hydra (Metaplex)

Dependencies

~39–54MB
~1M SLoC