Socket
Book a DemoInstallSign in
Socket

coinstac-simulator

Package Overview
Dependencies
Maintainers
3
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coinstac-simulator

COINSTAC simulator for computation runs.

latest
Source
npmnpm
Version
6.9.8
Version published
Weekly downloads
15
114.29%
Maintainers
3
Weekly downloads
 
Created
Source

coinstac-simulator

COINSTAC simulator for computation runs. Documentation.

Installation

Ensure you have Node.js installed. Then, the following command from a shell:

npm install --global coinstac-simulator

Use

coinstac-simulator contains a command line interface and a Node.js API. The simulator is designed to be run in your root computation directory, but can be run by specifying exact paths to necessary files.

CLI

coinstac-simulator has no required flags, but will assume ./compspec.json, ./test/inputspec.json, and ./test/ for computation directory use eg: input|output. The later directories will be created automatically if they do not exist. File outputs are saved to ./test/[local#|remote]/output/simulatorRun, consecutive runs will overwrite data. If you do not have an input spec for you run, a prompt will ask you for inputs based on the current compspec and give you the option to persist that input spec.

An example computation specification, compspec.json, can be found here and here for decentralized computations.

For an in depth overview on how to create computations a guide can be found here

Run coinstac-simulator --help for more information on how to use the CLI.

Profiling

coinstac-simulator can output further profile timing information that may be useful to see performance bottlenecks in your computation. To access this information run simulator with the following envar exported export DEBUG=pipeline:profile* && coinstac-simulator --loglevel info

License

MIT. See LICENSE for details.

Keywords

coinstac

FAQs

Package last updated on 29 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts