Skip to content

zkcrossteam/zkc-by-example

Repository files navigation

zkc-by-example

This repo contains examples demonstrating how to create wasm applications using zkc-sdk.

Example list

  1. Hello World

    This example demonstrates how to compile code written in TypeScript/C/Rust into WebAssembly, and then how to load the Wasm image and call exported functions in a Web Application by utilizing zkc-sdk.

    Check the hello-world.md for more details.

  2. ZK Hello World

    This example guides you through initializing an instance of the WebAssembly module, calling its functions, and ensuring the correct execution of the function by generating a zero knowledge proof and verifying the zkProof on-chain using the zkc-sdk.

    Check the zk-hello-world.md for more details.

  3. Dice Game

    For a more advanced challenge, we'll create a complete ZKCross web application, which involves compiling and running the wasm file, creating and deploying the wasm application, and submitting the proof for deployment on the chain.

    Check the dice-game.md for more details.

Technology Stack

More information

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published