Skip to content

argumentcomputer/sphinx-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solidity contracts for Sphinx

This repository contains Solidity contracts required for on-chain verification of Sphinx proofs.

To install these contracts in your Foundry project:

forge install lurk-lab/sphinx-contracts --no-commit

Updating the contracts

This section outlines the steps required to update the Sphinx contracts repository with a new Sphinx version. Follow these instructions to ensure the Sphinx contracts are correctly updated and aligned with the latest version.

  1. Change the branch in Cargo.toml to the target sphinx branch.
[dependencies]
sphinx-sdk = { git = "ssh://[email protected]/lurk-lab/sphinx", branch = "<BRANCH>" }
  1. Update artifacts program with the new verifier contracts.
cargo update

cargo run --bin artifacts --release
  1. Open a PR to commit the changes to main.