Skip to content

U. Build with Acala

Bette edited this page Jun 18, 2020 · 5 revisions

Build with Acala

There are 3 ways to build with Acala

  1. Deploy permissioned protocol aka runtime modules/pallets on the Acala network. This is available now with more flexibility for customization & integration.
  2. Deploy permisionless smart contracts using ink! or EVM. This is not fully functioning nor production ready yet, but contact us for PoC options.
  3. Build a chain and connect with Acala using XCMP. We are waiting for readiness of cross-chain communication, but contact us for PoC options.

1. Deploy Ecosystem Modules

Guide

Below is a rough guideline for building with Acala at the runtime level using sub-module:

  1. Project team sets up a sub-module repo
  2. Project team builds & tests locally
  3. Project team submits repo for review
  4. Acala pulls in the sub-module, deploys on testnet via runtime upgrade
  5. Security audit
  6. Governance

1. Project Structure You will be creating a sub-module in your own repo, when it's ready we can pull it into Acala's repo. This allows you to have independence of your codebase and license etc.

// on Acala side, folder structure as follows
- Acala repo
  - ecosystem-modules
    - your-sub-module

Example sub-module. You shall create a repo in your organization to be used as sub-module.

Your sub-module will be pulled into the ecosystem-modules under Acala repo.

2. Local Testing Fork Acala repo, pull your sub-module in, and test locally.

3. Submit code for review Acala will provide technical support during your development including architectural and technical guidance, as well as sharing available libraries and standards.

Once you have completed development, please submit your repo and our tech team will help review and provide feedback before pull into our repo.

4. Testnet Deployment Acala Mandala Test Network is a live no-value testnet to verify new chain logics and functionalities. Your module once passed the review, can be deployed on Mandala via runtime upgrade.

5. Audit Module level integration in essence changes chain logic to the Acala Network, while it offers project team highest level of flexibility and customization, it also puts responsibility on Acala to ensure the code is secure and fit for purpose, and does no pose unintended consequences to the overall chain operation. Therefore we will perform security audit on modules added to Acala, and we will be in touch when that happens.

6. Governance Deploying on Karura canary network (connecting to Kusama) and mainnet (connecting to Polkadot) will be decided by respective governance.

2. Deploy smart contracts (TBD)

3. Connect via XCMP (TBD)

Clone this wiki locally