Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 2.56 KB

README.md

File metadata and controls

38 lines (25 loc) · 2.56 KB

github

Generic badge

Ferum

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.

Quick References

  1. A good reference to the Move Language is the Move Book.
  2. The easiest way to publish a module is through the Aptos CLI.
  3. For developer support, join 🛠 #dev-discussions group in discord.
  4. A good read on building super fast order books.

Contributing

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.

Deployment Instructions

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:

  1. Make sure all unit tests are passing! ✅
  2. 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.
  3. git checkout main; git pull --rebase to get latest commits on the main branch.
  4. git checkout devnet; git rebase main devnet to rebase all commits from main to devnet
  5. Create a new profile via ts-node cli/src/index.ts create-profile -n ferum-std-devnet or use an existing account.
  6. aptos move publish --private-key 0xPRIVATE_KEY --max-gas 10000 --url https://fullnode.devnet.aptoslabs.com/v1 --included-artifacts none to publish the module.
  7. git push to synchronize remote branch once it's been properly published.