econia-labs / econia

Hyper-parallelized on-chain order book for the Aptos blockchain
https://econia.dev
Other
142 stars 53 forks source link

Econia

e·co·ni·a | /ə'känēə/

Hyper-parallelized on-chain order book for the Aptos blockchain

If you haven't already, consider checking out Econia Labs' Teach yourself Move on Aptos guide for some helpful background information, then see the official Econia docs!

Select filetype notes

Move

Move source code is at src/move/econia.

Auto-generated module documentation files are at src/move/econia/doc.

When Econia development began, the initial developer of the Econia v4 protocol had not yet programmed in Rust (Move is implemented in Rust). Hence, in the absence of a formal style guide, Move code was formatted according to the opinionated PEP8 Python style guide. For future projects it is suggested that Move be formatted according to Rust guidelines, or ideally per a Move linter, and that format be consistent within a single codebase.

Markdown

Markdown files have a line break for each new sentence to make diff tracking easier. Documentation markdown source files are at doc/doc-site/docs. New markdown files should be formatted via mdformat.

Python

Econia comes with a Python package at src/python/build_scripts, used for assorted developer scripting functionality, with dependencies managed by Poetry. Most Python developer script commands are called on by scripts.sh, which is not actively maintained but may still be useful for aspiring Econia developers.