Skip to content

starskiff

Real Cosmos SDK nodes as ephemeral test instances — from a binary or an official chain image, no Kubernetes.

npm install starskiff

Overview

import { ,  } from 'starskiff';
 
const [] = ;
 
const  = .({
  : 'test-1',
  : [{ : ., : '1000000000stake', : . }],
});
 
await .(); // real simd node, first block in seconds
 
// instance.rpcUrl  → http://localhost:26657 (CometBFT RPC)
// instance.grpcUrl → http://localhost:9090  (gRPC)
// instance.apiUrl  → http://localhost:1317  (REST)
 
await .(); // node killed, temp home dir removed

Not a mock — the actual node (from a binary or a chain image), booted with a patched genesis, funded accounts, and health-checked until the first block. Inspired by prool (test instances for Ethereum).