Skip to content

Add SQD integration to Solana docs #635

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/indexer/build/manifest/solana.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,3 +321,11 @@ When declaring a `range` use an string in the format of `"start - end"`. Both st
}
}
```

## SQD Integration

SubQuery supports [SQD Archives for Solana](https://sqd-34796de3.mintlify.app/get-started/introduction) to greatly speed up indexing your SubQuery Solana project by being able to pre-filter blocks and the relevant data within those blocks. To do this we have an adaptor, [Solana-Takoyaki](https://github.com/subquery/solana-takoyaki), that converts between the SQD RPC interface and the SubQuery data node RPC interface to work nicely with the SDK. By default your project will use the SubQuery hosted version but there can be some limitations like rate limits and longer request times.

If you wish to run Solana-Takoyaki yourself and have your SubQuery projects use it then:
1. Follow the instructions in the Solana-Takoyaki readme on how to run it. Ideally it runs on the same machine or as close as possible to your indexer.
1. Add the following flag to your indexer `--network-dictionary=<url-to-solana-takoyaki>`