MCPcopy Index your code
hub / github.com/Topledger/solana-programs

github.com/Topledger/solana-programs @v1.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.0 ↗ · + Follow
1,186 symbols 1,668 edges 371 files 15 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Solana Substreams

Substreams for popular dApps on Solana. Every project is a seperate substream and can be used independently.

Generate protos

make protogen

Build substreams

make build

Set up token

Visit https://substreams.streamingfast.io/reference-and-specs/authentication to fetch a token or run below command if you have already followed the instructions from the linked documentation page.

sftoken

Run substreams

make stream

Core symbols most depended-on inside this repo

get_account_with
called by 458
metaplex/token-metadata/src/prepare_input_accounts.rs
get_mint_address_for
called by 126
liquidity-providers/src/utils.rs
get_token_transfer
called by 126
liquidity-providers/src/utils.rs
get_account_with
called by 103
psy-options/psy-american/src/prepare_input_accounts.rs
get_account_with
called by 101
genopets/staking/src/prepare_input_accounts.rs
get_account_with
called by 85
helio/nft-protocol/src/prepare_input_accounts.rs
get_account_with
called by 59
helium/lazy-distributor/src/prepare_input_accounts.rs
get_account_with
called by 56
bonfida/name-tokenizer/src/prepare_input_accounts.rs

Shape

Class 620
Function 489
Method 41
Enum 36

Languages

Rust100%

Modules by API surface

metaplex/token-metadata/src/instructions/structs.rs70 symbols
metaplex/token-metadata/src/pb/sf.solana.block_meta.v1.rs50 symbols
solana-program-library/spl-token/src/instruction.rs40 symbols
metaplex/bubblegum/src/instruction.rs29 symbols
transactions/src/utils.rs20 symbols
transactions-stats-analysis/src/utils.rs20 symbols
solana-program-library/spl-system-program/src/instruction.rs18 symbols
transactions/src/lib.rs16 symbols
helium/lazy-distributor/src/pb/sf.solana.block_meta.v1.rs16 symbols
helium/lazy-distributor/src/instructions/structs.rs16 symbols
helium/lazy-transactions/src/pb/sf.solana.block_meta.v1.rs15 symbols
filter-accounts-transactions/src/lib.rs15 symbols

For agents

$ claude mcp add solana-programs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact