Comparison with Graph Protocol subgraphs
Ponder | Graph Protocol subgraphs | |
---|---|---|
Local development | Local dev server with hot reloading | No first-class local dev support |
Dependencies | Node.js, PostgreSQL (optional) | Docker, IPFS, PostgreSQL, Node.js |
Language/runtime | TypeScript/Node.js | AssemblyScript/WebAssembly |
Package ecosystem | ✅ Can use NPM packages | ❌ Cannot use packages of any kind |
Network requests | ✅ Can make network requests | ❌ Cannot make network requests |
Cross-chain support | ✅ Any number of chains per app | ❌ Each subgraph indexes one chain |
Chain reorganizations | ✅ | ✅ |
Time-travel queries | ✅ | ✅ |
Factory contracts | ✅ | ✅ |
Transaction call handlers | 🚧 (planned) | ✅ |
Block handlers | 🚧 (planned) | ✅ |