First, clone the repository and navigate into the directory:
git clone <https://github.com/cysic-labs/ZPrize-23-Prize1.git>
cd ZPrize-23-Prize1
Ensure you have Rust installed:
curl --proto '=https' --tlsv1.2 -sSf <https://sh.rustup.rs> | sh
Next, build the project with Cargo:
cargo build
Create a main.rs
file with a simple example:
use zprize::{EllipticCurve, Point};
fn main() {
let point = Point::new(2, 3);
println!("Point on the curve: {:?}", point);
}
Compile and run your code:
cargo run