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
Luke Parker 6340607827
BP Verification (#75)
* Use a struct in an enum for Bulletproofs

* verification bp working for just one proof

* add some more assert tests

* Clean BP verification

* Implement batch verification

* Add a debug assertion w_cache isn't 0

It's initially set to 0 and if not updated, this would be broken.

* Correct Monero workflow yaml

* Again try to corrent Monero workflow yaml

* Again

* Finally

* Re-apply weights as required by Bulletproofs

Removing these was insecure and my fault.

Co-authored-by: DangerousFreedom <dangfreed@tutanota.com>
2022-07-31 21:45:53 -05:00
.github BP Verification (#75) 2022-07-31 21:45:53 -05:00
coins BP Verification (#75) 2022-07-31 21:45:53 -05:00
contracts Correct clippy warnings 2022-07-22 02:35:17 -04:00
crypto BP Verification (#75) 2022-07-31 21:45:53 -05:00
docs Correct missing escape sequences 2022-07-22 00:32:18 -04:00
processor Replace rand with rand_core where possible 2022-07-27 05:45:08 -04:00
substrate Replace rand with rand_core where possible 2022-07-27 05:45:08 -04:00
.gitignore Add a patch for zip so ethereum-serai doesn't conflict with Substrate 2022-07-16 17:49:35 -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.lock Rename dleq-serai to dleq 2022-07-30 18:35:39 -04:00
Cargo.toml Implement Bulletproofs in Rust (#69) 2022-07-26 02:05:15 -05:00
README.md Add social links to the README 2022-07-23 05:20:36 -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.