Ferum is an on-chain order book offering unprecedented control to liquidity providers on Aptos Ecosystem! For documentation on getting-started, better understanding of the architecture, and partnerships, please refer to Ferum's Official Documentation.
Documentation below will mostly cover instructions for contributions & pull requests.
- A good reference to the Move Language is the Move Book.
- The easiest way to publish a module is through the Aptos CLI.
- For developer support, join 🛠 #dev-discussions group in discord.
- A good read on building super fast order books.
We welcome all contributions; just make sure that you add unit tests to all new code added, and run aptos move test
before making a pull request.
All active development takes place on the main branch. During a release, all main branch commits get rebased on top of devnet branch. Once rebased, the ferum module either gets published under the same account if backwards compatible, or a new account if not.
High level instructions for releasing a devnet branch:
- Make sure all unit tests are passing! ✅
- Update your aptos CLI and make sure you have latest; usually breaks if you don't! Run
aptos --version
to find out which one you have and compare to the latest release. git checkout main; git pull --rebase
to get latest commits on the main branch.git checkout devnet; git rebase main devnet
to rebase all commits from main to devnet- Create a new profile via
ts-node cli/src/index.ts create-profile -n ferum-std-devnet
or use an existing account. aptos move publish --private-key 0xPRIVATE_KEY --max-gas 10000 --url https://fullnode.devnet.aptoslabs.com/v1 --included-artifacts none
to publish the module.git push
to synchronize remote branch once it's been properly published.