mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 12:49:23 +00:00
ethereum: implement schnorr verification contract deployment and related crypto (#36)
* basic schnorr verify working * add schnorr-verify as submodule * remove previous code * Misc Ethereum work which will probably be disregarded * add ecrecover hack test, worksgit add src/ * merge w develop * starting w/ rust-web3 * trying to use ethers * deploy_schnorr_verifier_contract finally working * modify EthereumHram to use 27/28 for point parity * updated address calc, solidity schnorr verify now working * add verify failure to test * update readme * move ethereum/ to coins/ * un fmt coins/monero * update .gitmodules * fix cargo paths * fix coins/monero * add #[allow(non_snake_case)] * un-fmt stuff * move crypto to coins/ethereum * move unit tests to ethereum/tests * remove js, build w ethers * update .gitignore * address comments * add q != 0 check * update contract param order * update contract license to AGPL * update ethereum-serai license to GPL and fmt * GPLv3 for ethereum-serai * AGPLv3 for ethereum-serai * actually fix license Co-authored-by: Luke Parker <lukeparker5132@gmail.com>
This commit is contained in:
28
coins/ethereum/Cargo.toml
Normal file
28
coins/ethereum/Cargo.toml
Normal file
@@ -0,0 +1,28 @@
|
||||
[package]
|
||||
name = "ethereum-serai"
|
||||
version = "0.1.0"
|
||||
description = "An Ethereum library supporting Schnorr signing and on-chain verification"
|
||||
license = "AGPL-3.0-only"
|
||||
authors = ["Luke Parker <lukeparker5132@gmail.com>", "Elizabeth Binks <elizabethjbinks@gmail.com>"]
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
thiserror = "1"
|
||||
serde_json = "1.0"
|
||||
serde = "1.0"
|
||||
hex-literal = "0.3"
|
||||
|
||||
ethers = { git = "https://github.com/gakonst/ethers-rs", features = ["abigen", "ethers-solc"] }
|
||||
eyre = "0.6"
|
||||
|
||||
k256 = { version = "0.11", features = ["arithmetic", "keccak256", "ecdsa"] }
|
||||
frost = { package = "modular-frost", path = "../../crypto/frost", features = ["secp256k1"] }
|
||||
sha3 = "0.10"
|
||||
group = "0.12"
|
||||
|
||||
[dev-dependencies]
|
||||
rand = "0.8"
|
||||
tokio = { version = "1.19", features = ["macros"] }
|
||||
|
||||
[build-dependencies]
|
||||
ethers-solc = { git = "https://github.com/gakonst/ethers-rs" }
|
||||
Reference in New Issue
Block a user