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 d25c668ee4
Replace lazy_static with OnceLock inside monero-serai
lazy_static, if no_std environments were used, effectively required always
using spin locks. This resolves the ergonomics of that while adopting Rust std
code.

no_std does still use a spin based solution. Theoretically, we could use
atomics, yet writing our own Mutex wasn't a priority.
2023-06-28 21:45:57 -04:00
.github Update nightly 2023-06-28 18:42:19 -04:00
audits/Cypher Stack crypto March 2023 Correct audit file upload 2023-03-20 17:35:45 -04:00
coins Replace lazy_static with OnceLock inside monero-serai 2023-06-28 21:45:57 -04:00
common Replace lazy_static with OnceLock inside monero-serai 2023-06-28 21:45:57 -04:00
coordinator Slight terminology correction in sync test 2023-06-28 15:20:50 -04:00
crypto Ensure canonical points in the cross-group DLEq proof 2023-05-30 22:05:52 -04:00
deploy Correct Serai Dockerfile 2023-05-08 02:08:31 -04:00
docs Document the processor/tributary/coordinator/serai flow 2023-04-25 15:05:58 -04:00
processor Use proper messages for ValidatorSets/InInstructions pallet 2023-05-13 04:40:16 -04:00
substrate Slight terminology correction in sync test 2023-06-28 15:20:50 -04:00
tests/no-std Replace lazy_static with OnceLock inside monero-serai 2023-06-28 21:45:57 -04:00
.gitattributes Correct audit file upload 2023-03-20 17:35:45 -04: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 Replace lazy_static with OnceLock inside monero-serai 2023-06-28 21:45:57 -04:00
Cargo.toml Add no_std support to transcript, dalek-ff-group, ed448, ciphersuite, multiexp, schnorr, and monero-generators 2023-04-22 04:38:47 -04:00
CONTRIBUTING.md Clarify identation policy 2022-10-11 00:40:50 -05:00
deny.toml cargo update 2023-04-15 03:27:45 -04:00
LICENSE Update licenses 2023-01-11 23:05:31 -05:00
README.md Documentation and cargo update 2023-04-13 21:06:11 -04:00

Serai

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.

Getting Started

Layout

  • audits: Audits for various parts of Serai.

  • docs: Documentation on the Serai protocol.

  • common: Crates containing utilities common to a variety of areas under Serai, none neatly fitting under another category.

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

  • coordinator: A service to manage processors and communicate over a P2P network with other validators.

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

  • deploy: Scripts to deploy a Serai node/test environment.