Skip to main content
Currently only tested with Webpack and NextJS. If you are using Rollup or Vite please report any issues here

Install

Choose your favorite package manager:
npm install @inco/js

Usage

A typical usage of @inco/js includes 3 steps:
  1. Encrypting a value.
  2. Posting the ciphertext to the contract, which will perform confidential computes on it.
  3. Requesting a decryption of the result of the computation.
Next, follow the Encryption guide for a full walkthrough of these steps.