Simnet

The Simnet class is the main entry point for the Clarinet SDK. It provides properties and methods for interacting with the Clarinet network.

Installation

npm install @hirosystems/clarinet-sdk

initSimnet

The initSimnet function initializes a simulated network. It will often be the first function to call when using the SDK.

Parameters

manifestPathstring

The manifestPath is the path to the Clarinet.toml manifest file.

import { initSimnet } from '@hirosystems/clarinet-sdk';

const simnet = await initSimnet();

Last updated on