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 7a05466049
3.6.2 Test nonce generation
There's two ways which this could be tested.

1) Preprocess not taking in an arbitrary RNG item, yet the relevant bytes

This would be an unsafe level of refactoring, in my opinion.

2) Test random_nonce and test the passed in RNG eventually ends up at
random_nonce.

This takes the latter route, both verifying random_nonce meets the vectors
and that the FROST machine calls random_nonce properly.
2023-02-28 21:02:12 -05:00
.github Run latest nightly clippy 2023-01-01 04:18:23 -05:00
coins 3.3.3 (cont) Add a dedicated Participant type 2023-02-23 06:50:45 -05:00
common/zalloc Comment the allocator feature 2022-11-11 01:23:35 -05:00
contracts Fill out Cargo.tomls 2022-10-15 23:46:22 -04:00
crypto 3.6.2 Test nonce generation 2023-02-28 21:02:12 -05:00
deploy Misc formatting fixes 2022-12-08 22:10:12 -05:00
docs Offer a multi-DLEq proof which simply merges challenges for n underlying proofs 2023-01-01 09:16:09 -05:00
processor 3.3.3 (cont) Add a dedicated Participant type 2023-02-23 06:50:45 -05:00
substrate Run latest nightly clippy 2023-01-01 04:18:23 -05:00
.gitattributes Cluster Orchestration with Docker Compose (#114) 2022-09-12 15:01:14 -05:00
.gitignore fix for #166 & cleanup (#184) 2022-12-07 10:08:04 -05: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 3.5.2 Add more tests to ff-group-tests 2023-02-24 06:03:56 -05:00
Cargo.toml Add a dedicated crate for testing ff/group implementors 2022-12-24 15:09:09 -05:00
CONTRIBUTING.md Clarify identation policy 2022-10-11 00:40:50 -05:00
deny.toml Initial Tendermint implementation (#145) 2022-12-03 18:38:02 -05:00
LICENSE Clarify licensing per https://github.com/serai-dex/serai/issues/13 2022-08-25 04:02:13 -04:00
README.md Remove stray mention to USDC 2022-12-15 20:35:06 -05:00

Serai

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

Getting Started

Layout

  • docs: Documentation on the Serai protocol.

  • 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.

  • 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.

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

  • contracts: Smart Contracts implementing Serai's functionality.

  • substrate: Substrate crates used to instantiate the Serai network.