migrate-to-portal
Installation
SKILL.md
Migrate a Squid to Portal
Walks the migration of an existing Squid SDK indexer onto the Portal data source. EVM and Solana have different package sets; the migration shape (data source + types + field selection) is parallel. Upstream doc (unified, both chains): https://docs.sqd.dev/en/sdk/migration/gateway-to-portal.
When to use this skill
Activate when the user says any of:
- "migrate my squid to Portal" (EVM or Solana)
- "move off v2 archive /
setGateway/setDataSource/lookupArchive" - "upgrade
@subsquid/evm-processor" or "@subsquid/solana-streamto1.x" - references
https://v2.archive.subsquid.io/... - mentions removing
SolanaRpcClient - asks about Solana block-height-to-slot conversion
- hits compile errors on
EvmBatchProcessor,evmLog,block.height, orblock.header.slotafter a bump - needs to migrate
processor.setPrometheusPort()/processor.setPrometheusServer()(EVM only — removed withEvmBatchProcessor)