Tools that eat glass so you don't have to
Last updated Jun 17, 2026
39
Stars
3
Forks
1
Issues
0
Stars/day
Attention Score
17
Topics
Language breakdown
TypeScript 99.2%
Shell 0.8%
▸ Files
click to expand
README
GlassEater
Tools that eat glass so you don't have to.

Docs coming soon...
Features
- generates the most precise and optimal getProgramAccounts queries possible
- automatically batches queries
- autocompletes and type checks everything it possibly can
- enables advanced local filtering
- accepts custom borsh deserializers and fetch functions
- zero dependencies (for the time being)
Installation
(npm|pnpm|yarn) add glasseater @solana/web3.js
Usage
import { AccountsQuery } from "glasseater";
const proposalsQuery = new AccountsQuery(SCHEMA, Proposal);
proposalsQuery .for(programId) .select(["config"]) .where({ accountType, realm: new PublicKey(realmId), });
const proposals = await proposalsQuery.fetch();
Wishlist
- tests
- anchor IDL support
- joins
- simpler interface
- caching and deduplication*
🔗 More in this category