Simnet
The Simnet class is the main entry point for the Clarinet JS SDK. It provides properties and methods for interacting with the Clarinet network.
initSimnet
The initSimnet
function initializes a simulated network. It will often be the first function you call when using the SDK.
Parameters
manifestPath
string
The manifestPath
is the path to the Clarinet.toml
manifest file.
import { initSimnet } from '@hirosystems/clarinet-sdk';const simnet = await initSimnet();