mina-zkml is an open-source library designed to integrate AI technologies seamlessly with the MINA blockchain. By leveraging zero-knowledge machine learning (zkML), this library empowers developers to build and deploy AI models securely and efficiently on the MINA blockchain.
- zkML Enabled Library: Facilitates the implementation of zero-knowledge machine learning within the MINA ecosystem.
- ONNX Conversion Support: Easily convert models to the Open Neural Network Exchange (ONNX) format for broader compatibility.
- Verifier Script Generation: Automatically generate verifier scripts tailored for the MINA blockchain.
- Verifier Deployment: Deploy verifier scripts directly to the MINA blockchain with ease.
To get started with mina-zkml, ensure you have Rust installed on your system.
# Clone the repository
git clone https://github.com/chris-chris/mina-zkml.git
# Navigate to the project directory
cd mina-zkml
# Build the project
cargo build --release
./target/release/mina-zkml-cli --help
Running Examples
mina-zkml comes with example projects to demonstrate its capabilities. Below are two primary examples:
Execute the perceptron model prediction using the following command:
cargo run --example perceptron
Execute the MNIST model end-2-end example through notebook.
./examples/notebook/lenet.ipynb