One binary for everything you'd otherwise click through dashboards for. Login, deploy, query, manage subscriptions, tail Streams, provision dedicated instances. Same auth as every other surface — sign in once and the session is inherited.


Install

bun add -g @secondlayer/cli

Workflow

sl login                                  # magic-link email
sl subgraphs create my-watcher --template sip-010-balances
sl subgraphs deploy my-watcher.ts         # prompts login if no session
sl subgraphs query my-watcher transfers --filter recipient=SP1...
sl streams events --types print --contract-id SP2...BNS-V2
sl subscriptions create my-watcher --runtime node