From c672d0b548a28e120d41e3ab10d531a42cd776d4 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Sat, 05 Mar 2022 19:24:26 +0000 Subject: [PATCH] Adjust README to newly added runtimes --- --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ - [Unique Wallet and UI](https://uniqueapps.usetech.com/#/nft) - [NFT Asset for Unity Framework](https://github.com/usetech-llc/nft_unity) -Please see our [walk-thorugh instructions](doc/hackusama_walk_through.md) to try everything out! +Please see our [walk-through instructions](doc/hackusama_walk_through.md) to try everything out! ## Application Development @@ -71,6 +71,28 @@ cargo build --release ``` +##### _Building the node using the Quartz Runtime (optional)_ +* Build debug version +```bash +cargo build --package unique-rpc --package unique-node --no-default-features --features quartz-runtime +``` + +* Build release version +```bash +cargo build --release --package unique-rpc --package unique-node --no-default-features --features quartz-runtime +``` + +##### _Building the node using the Opal Runtime (optional)_ +* Build debug version +```bash +cargo build --package unique-rpc --package unique-node --no-default-features --features opal-runtime +``` + +* Build release version +```bash +cargo build --release --package unique-rpc --package unique-node --no-default-features --features opal-runtime +``` + ## Building as Parachain locally Note: checkout this project and all related projects (see below) in the sibling folders (both under the same folder) @@ -158,7 +180,7 @@ ``` assetRegistry -> registerForeignAsset(location, metadata) location: - V0(X2(Parent, Parachain(PARA_ID))) + V0(X2(Parent, Parachain(PARA_ID))) metadata: name OPL symbol OPL @@ -170,19 +192,19 @@ ``` polkadotXcm -> reserveTransferAssets dest: - V0(X2(Parent, Parachain())) + V0(X2(Parent, Parachain())) beneficiary: X1(AccountId(Any, )) assets: V1(Concrete(0,Here), Fungible()) -feeAssetItem: - 0 +feeAssetItem: + 0 weightLimit: -``` +``` -The result will be displayed in ChainState -tokens -> accounts +The result will be displayed in ChainState +tokens -> accounts ### To send tokens from Karura to Opal: ``` @@ -197,7 +219,7 @@ dest: V1 ( - Parents:1, + Parents:1, X2(Parachain(), AccountId(Any, ) ) destWeight: -- gitstuff