Skip to content

holaplex/graph-program

Repository files navigation

Graph Program

Image

A program to connect accounts with public keys that allows for the creation of a very flexible graph structure on the blockchain.

Table of contents:

Source Code

The programs/graph_program/lib.rs file acts as an entry point to the graph program.

  • Instructions are laid out in the programs/graph_program/instructions folder, which acts as a module (be sure to list each instructions in the mod.rs file).
  • Altough Solana Programs are stateless, the "State" structs and impls are stored in programs/graph_program/state, likewise list them on mod.rs. Here is where a lot of the business logic related to structs that are passed as accounts into the program by the instructions should live and function.
  • Constants are stored in the programs/graph_program/constants folder, here is where we store some useful constants like PDA seed parts and static pubKeys.

Usage

Docs and Sdk in the making, please refer to the tests folder for implementation reference.

Questions

ksolano@holaplex.com

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published