Skip to content

openvm-org/openvm-example-fibonacci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenVM Example Program

This repo demonstrates two simple OpenVM program along with some handy utilities for working with OpenVM programs.

It contains three crates:

  • openvm-example-program: an example Fibonacci program. See the book for more details.
  • openvm-example-program: an example Diffie Hellman Key Exchange program. This program takes in two inputs as Alice's and Bob's private keys and generates a shared key hashed with SHA-256.
  • openvm-example-utils: a set utility functions to generate OpenVM program inputs in the right format. Since the Fibonacci program takes a u64 as input, you can use the generate_input_from_u64 function to generate the input.

About

A basic starter program for OpenVM.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7

Languages