Skip to content

zkcloudworker/simple-example

Repository files navigation

Simple worker example

A simple example of a worker running a ZkProgram.

Installation

You need to install node (v20+) and git and clone this repo

git clone https://github.com/zkcloudworker/simple-example
cd simple-example

Deploy

Install zkCloudWorker CLI tool

npm install -g zkcloudworker-cli

Get the JWT key at https://minarollupscan.com/jwt and write it to the config:

zkcw config --jwt eyJhbGciOiJIUz.... (replace with your JWT key)

Deploy this repo to the zkCloudWorker cloud (increase the version number in package.json before each deployment)

zkcw deploy

or, in verbose mode

zkcw deploy -v

Run proof creation

Run:

yarn start

About

A simple example of using zkCloudWorker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published