# Cross chain transaction between Acala and Manta ## Related repos - Polkadot ```shell= git clone git@github.com:paritytech/polkadot.git cd polkadot git checkout release-v0.9.8 cargo b --release ``` - Acala ```shell= git clone git@github.com:Manta-Network/Acala-1.git cd Acala-1 git checkout manta-acala git submodule update --init --recursive cargo b --release --features=with-karura-runtime ``` - Manta ```shell= git clone git@github.com:Manta-Network/Manta.git cd Manta git checkout manta-acala cargo b --release --features manta-pc ``` - manta-pc-launch ```shell= git clone git@github.com:Manta-Network/manta-pc-launch.git cd manta-pc-launch yarn ``` ## Start Relachain and Parachain Start the whole network by the following command, and ensure both parachains will produce blocks. ```shell= yarn start manta-acala.json ``` > Tips: > If everything goes smoothly, console will print a line of log like this: 🚀 POLKADOT LAUNCH COMPLETE 🚀 > acala ws port: 9999 para id: 2000 > manta > ws port: 9988 > para id: 2084 ## Make transactions between Acala and Manta ### Configure frontend Go to page which is loading manta node, and paste these types to settings->Developer. ```json= { "TokenSymbol": { "_enum": { "MA": 5, "KMA": 1, "ACA": 0, "KAR": 128, "SDN": 50 } }, "CurrencyId": { "_enum": { "Token": "TokenSymbol" } } } ``` ### Acala -> Manta 1. Do this step on acala parachain. Follow these picture to make a transaction. ![](https://i.imgur.com/Tl3aAi1.png) > Tips: input dest_weight as 3000000000. 2. Just wait for seconds, you will see a event on manta parachain side. ![](https://i.imgur.com/eVl24GG.png) 3. Now check KAR tokens on manta parachain. ![](https://i.imgur.com/CL4DgRA.png) For now, manta parachain receives some tokens from acala parachain. ### Manta -> Acala 1. Do this step on manta parachain. Follow these picture to make a transaction. ![](https://i.imgur.com/kzkwql4.png) > Tips: transfer 10 KARs back to acala. 2. Just wait for seconds, you will see a event on manta parachain side. ![](https://i.imgur.com/MZGVcST.png) 3. Now check KAR tokens on manta parachain. ![](https://i.imgur.com/6exlkcz.png) #### Todo: Deposit KAR tokens to `Balances` instead of `UnknowTokens` .