Socket
Book a DemoInstallSign in
Socket

create-pact-toolbox-app

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-pact-toolbox-app

Create Pact Toolbox apps with one command

0.8.0
latest
Source
npmnpm
Version published
Weekly downloads
13
Maintainers
1
Weekly downloads
 
Created
Source

{{project-name}}

This project was generated with create-pact-toolbox-app.

Prerequisites

  • Docker Required to run devnet follow docker-desktop to install and test docker.
  • Pact Required to run pact code and start a local test server for development and running tests, follow pactup to install pact 5 or nightly version.

Overview

This project is a starting point for developing Pact smart contracts with the Pact Toolbox. It includes a sample contract, a basic project structure, and a set of npm scripts to help you with your development workflow.

Getting Started

  • Install dependencies:

    pnpm install
    
  • Start the development server:

    pnpm dev
    

    This will start the Pact development server and the Vite development server.

Available Scripts

In the project directory, you can run the following commands:

  • pnpm dev: Starts the development server.
  • pnpm build: Builds the project for production.
  • pnpm preview: Previews the production build.
  • pnpm format: Checks the formatting of your code.
  • pnpm type-check: Checks for TypeScript errors.
  • pnpm test: Runs your Pact REPL tests and vitest.
  • pnpm pact:start: Starts the Pact development server.
  • pnpm pact:prelude: Manages prelude files for your Pact contracts.
  • pact:run: Runs a Pact script.

Switch networks

Update the defaultNetwork key inside pact-toolbox.config.ts make sure its one of the configured networks

Keywords

blockchain

FAQs

Package last updated on 13 Jun 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.