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 f029471f9f
Initial work on a tables lib
Incomplete lib intended to offer tables for all cryptographic libraries 
expecting them. Right now, it creates the tables at runtime. While that 
would still offer improvements, ideally large tables are built at 
compile time and simply entered into memory at runtime.

My best idea for that was a linked list in the binary itself, where this 
app (at first call), reads a table stored to a section of data, then 
grabs the next reference to one and continues reading. The main issue 
with this idea, besides not yet researching how to encode data into the 
binary, was the fact the same table would be saved to disk multiple 
times under this simplistic model. An O(n) iteration when writing to the 
bin could potentially solve that.

Related https://github.com/serai-dex/serai/issues/41.
2022-07-16 16:25:55 -04:00
coins/monero Update the DLEq proof for any amount of generators 2022-07-13 23:29:48 -04:00
crypto Initial work on a tables lib 2022-07-16 16:25:55 -04:00
docs/protocol Move the Validators protocol spec doc in 2022-04-21 22:01:12 -04:00
processor Add an initial Substrate instantiation 2022-07-15 00:05:00 -04:00
substrate Add an initial Substrate instantiation 2022-07-15 00:05:00 -04: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
AGPL-3.0 Add an initial Substrate instantiation 2022-07-15 00:05:00 -04:00
Cargo.toml Initial work on a tables lib 2022-07-16 16:25:55 -04: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.