Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 630 Bytes

File metadata and controls

39 lines (25 loc) · 630 Bytes

Response Verification NodeJS Example Project

This project showcases how to use the @dfinity/response-verification package to perform response verification in a NodeJS project.

Setup

From the root of this repository, install NPM dependencies:

pnpm i

Build the @dfinity/response-verification package:

pnpm run --filter @dfinity/response-verification build

Run with TSNode

Run:

pnpm run --filter nodejs-example start

Run with Node

Compile TypeScript:

pnpm run --filter nodejs-example build

Run:

pnpm run --filter nodejs-example start:node