Bonsol is the Offchain compute framework to make everything possible on solana.
Interact with the docs at Bonsol.sh
Stage 1: Dawn (current stage)
You will need to install rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup install 1.80.0
cargo install cargo-binstall
cargo binstall cargo-risczero
cargo risczero install
Run the setup script to install the zksnark deps and compile the zksnark prover
./setup.sh
./setup.sh
./validator.sh
./run-node.sh
manifest.json
(in this case images/simple/manifest.json
)
cargo run -p bonsol-cli build -z images/simple
cargo run -p bonsol-cli deploy -m images/simple/manifest.json -t url --url https://bonsol-public-images.s3.amazonaws.com/simple-68f4b0c5f9ce034aa60ceb264a18d6c410a3af68fafd931bcfd9ebe7c1e42960
cargo run -p bonsol-cli execute -f testing-examples/example-execution-request.json -x 2000 -m 2000 -w
Please see our Contributing Guide for details on how to get started building 乃ㄖ几丂ㄖㄥ.