serai/networks/ethereum/schnorr
Luke Parker 3f0f4d520d Remove the Sandbox contract
If instead of intaking calls, we intake code, we can deploy a fresh contract
which makes arbitrary calls *without* attempting to build our abstraction
layer over the concept.

This should have the same gas costs, as we still have one contract deployment.
The new contract only has a constructor, so it should have no actual code and
beat the Sandbox in that regard? We do have to call into ourselves to meter the
gas, yet we already had to call into the deployed Sandbox to achieve that.

Also re-defines the OutInstruction to include tokens, implements
OutInstruction-specified gas amounts, bumps the Solidity version, and other
such misc changes.
2024-09-19 23:36:32 -07:00
..
contracts Remove the Sandbox contract 2024-09-19 23:36:32 -07:00
src Add tests for the premise of the Schnorr contract to the Schnorr crate 2024-09-19 23:36:32 -07:00
build.rs Remove the Sandbox contract 2024-09-19 23:36:32 -07:00
Cargo.toml Add tests for the premise of the Schnorr contract to the Schnorr crate 2024-09-19 23:36:32 -07:00
LICENSE Dedicated crate for the Schnorr contract 2024-09-19 23:36:32 -07:00
README.md Dedicated crate for the Schnorr contract 2024-09-19 23:36:32 -07:00

Ethereum Schnorr Contract

An Ethereum contract to verify Schnorr signatures.

This crate will fail to build if solc is not installed and available.