diff --git a/zkvm/test_methods/guest/src/bin/multiplication.rs b/zkvm/test_methods/guest/src/bin/multiplication.rs new file mode 100644 index 0000000..047ac07 --- /dev/null +++ b/zkvm/test_methods/guest/src/bin/multiplication.rs @@ -0,0 +1,9 @@ +use risc0_zkvm::{ + guest::env, +}; + +fn main() { + let lhs: u64 = env::read(); + let rhs: u64 = env::read(); + env::commit(&(lhs * rhs)); +}