Serai is a new DEX, built from the ground up, initially planning on listing Bitcoin, Ethereum, DAI, and Monero, offering a liquidity-pool-based trading experience. Funds are stored in an economically secured threshold-multisig wallet.
Find a file
noot c589743e2b
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>
2022-07-16 16:45:41 -05:00
coins ethereum: implement schnorr verification contract deployment and related crypto (#36) 2022-07-16 16:45:41 -05:00
crypto Apply an initial set of rustfmt rules 2022-07-16 15:16:30 -05:00
docs/protocol Move the Validators protocol spec doc in 2022-04-21 22:01:12 -04:00
processor ethereum: implement schnorr verification contract deployment and related crypto (#36) 2022-07-16 16:45:41 -05:00
substrate Apply an initial set of rustfmt rules 2022-07-16 15:16:30 -05:00
.gitignore Update FROST signing to match the IETF draft 2022-04-23 03:49:30 -04:00
.gitmodules Move the Monero create to coins/ 2022-04-27 00:09:05 -04:00
.rustfmt.toml Apply an initial set of rustfmt rules 2022-07-16 15:16:30 -05:00
AGPL-3.0 Add an initial Substrate instantiation 2022-07-15 00:05:00 -04:00
Cargo.toml ethereum: implement schnorr verification contract deployment and related crypto (#36) 2022-07-16 16:45:41 -05:00
README.md Add READMEs to Serai and Monero 2022-07-08 16:23:26 -04:00

Serai

Serai is a new DEX, built from the ground up, initially planning on listing Bitcoin, Ethereum, Monero, DAI, and USDC, offering a liquidity pool trading experience. Funds are stored in an economically secured threshold multisig wallet.

Layout

  • docs - Documentation on the Serai protocol.

  • coins - Various coin libraries intended for usage in Serai yet also by the wider community. This means they will always support the functionality Serai needs, yet won't disadvantage other use cases when possible.

  • crypto - A series of composable cryptographic libraries built around the ff/group APIs achieving a variety of tasks. These range from generic infrastructure, to our IETF-compliant FROST implementation, to a DLEq proof as needed for Bitcoin-Monero atomic swaps.

  • processor - A generic chain processor to process data for Serai and process events from Serai, executing transactions as expected and needed.