Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Clarinet simnet

Same client as HTTP, against an in-process VM (@stacks/clarinet-sdk is an optional peer of this entry).

import { initSimnet } from "@stacks/clarinet-sdk";
import { createPublicClient } from "@secondlayer/stacks";
import { simnet, simnetChain } from "@secondlayer/stacks/simnet";
 
const session = await initSimnet("./Clarinet.toml");
const client = createPublicClient({
  chain: simnetChain,
  transport: simnet(session),
});

Then getContract as on mainnet. No /extended; watches throw; fees use 'min'.