difftreelog
Merge branch 'master' into release/quartz-v917000
in: master
2 files changed
README.mddiffbeforeafterboth160location:160location:161 V0(X2(Parent, Parachain(PARA_ID))) 161 V0(X2(Parent, Parachain(PARA_ID))) 162metadata:162metadata:163 name OPL163 name QTZ164 symbol OPL164 symbol QTZ165 decimals 18165 decimals 18166minimalBalance 1166minimalBalance 1167```167```168168169### Next, we can send tokens from Opal to Karura:169### Next, we can send tokens from Quartz to Karura:170```170```171polkadotXcm -> reserveTransferAssets171polkadotXcm -> reserveTransferAssets172dest:172dest:184The result will be displayed in ChainState 184The result will be displayed in ChainState 185tokens -> accounts 185tokens -> accounts 186186187### To send tokens from Karura to Opal:187### To send tokens from Karura to Quartz:188```188```189xtokens -> transfer189xtokens -> transfer190190tests/src/xcmTransfer.test.tsdiffbeforeafterboth23const KARURA_CHAIN = 2000;23const KARURA_CHAIN = 2000;24const KARURA_PORT = '9946';24const KARURA_PORT = '9946';252526describe('Integration test: Exchanging OPL with Karura', () => {26describe('Integration test: Exchanging QTZ with Karura', () => {27 let alice: IKeyringPair;27 let alice: IKeyringPair;28 28 29 before(async () => {29 before(async () => {494950 const metadata =50 const metadata =51 {51 {52 name: 'OPL',52 name: 'QTZ',53 symbol: 'OPL',53 symbol: 'QTZ',54 decimals: 18,54 decimals: 18,55 minimalBalance: 1,55 minimalBalance: 1,56 };56 };63 }, karuraApiOptions);63 }, karuraApiOptions);64 });64 });656566 it('Should connect and send OPL to Karura', async () => {66 it('Should connect and send QTZ to Karura', async () => {67 let balanceOnKaruraBefore: bigint;67 let balanceOnKaruraBefore: bigint;68 68 69 await usingApi(async (api) => {69 await usingApi(async (api) => {130 }, {provider: new WsProvider('ws://127.0.0.1:' + KARURA_PORT)});130 }, {provider: new WsProvider('ws://127.0.0.1:' + KARURA_PORT)});131 });131 });132132133 it('Should connect to Karura and send OPL back', async () => {133 it('Should connect to Karura and send QTZ back', async () => {134 let balanceBefore: bigint;134 let balanceBefore: bigint;135 135 136 await usingApi(async (api) => {136 await usingApi(async (api) => {