Skip to main content

TypeScript Example

How to Submit a Proof

Follow the instructions below to submit a proof using the example TypeScript project. This example demonstrates submission of different proof types and their events.


Before you begin, ensure you have Node.js installed on your machine. You can download and install it from the official Node.js website.

Installing Node.js

  1. Download Node.js:

    • Visit the Node.js download page.
    • Download the LTS (Long Term Support) version for your operating system.
  2. Install Node.js:

    • Run the downloaded installer and follow the instructions.
    • Ensure that the installer includes npm (Node Package Manager).
  3. Verify Installation:

    • Open a terminal or command prompt.

    • Run the following commands to verify that Node.js and npm are installed correctly:

      node -v
      npm -v
    • You should see the version numbers of Node.js and npm.

Now you are ready to follow the instructions below to submit a proof.

Example Project

Clone the example TypeScript project and then follow the README instructions.

git clone

Further Examples

Other JavaScript examples can be found in the e2e tests