git.delta.rocks / unique-network / refs/commits / c672d0b548a2

difftreelog

Adjust README to newly added runtimes

Daniel Shiposha2022-03-05parent: #b868d3d.patch.diff
in: master

1 file changed

modifiedREADME.mddiffbeforeafterboth
27- [Unique Wallet and UI](https://uniqueapps.usetech.com/#/nft)27- [Unique Wallet and UI](https://uniqueapps.usetech.com/#/nft)
28- [NFT Asset for Unity Framework](https://github.com/usetech-llc/nft_unity)28- [NFT Asset for Unity Framework](https://github.com/usetech-llc/nft_unity)
2929
30Please see our [walk-thorugh instructions](doc/hackusama_walk_through.md) to try everything out!30Please see our [walk-through instructions](doc/hackusama_walk_through.md) to try everything out!
3131
32## Application Development32## Application Development
3333
71cargo build --release71cargo build --release
72```72```
7373
74##### _Building the node using the Quartz Runtime (optional)_
75* Build debug version
76```bash
77cargo build --package unique-rpc --package unique-node --no-default-features --features quartz-runtime
78```
79
80* Build release version
81```bash
82cargo build --release --package unique-rpc --package unique-node --no-default-features --features quartz-runtime
83```
84
85##### _Building the node using the Opal Runtime (optional)_
86* Build debug version
87```bash
88cargo build --package unique-rpc --package unique-node --no-default-features --features opal-runtime
89```
90
91* Build release version
92```bash
93cargo build --release --package unique-rpc --package unique-node --no-default-features --features opal-runtime
94```
95
74## Building as Parachain locally96## Building as Parachain locally
7597
76Note: checkout this project and all related projects (see below) in the sibling folders (both under the same folder)98Note: checkout this project and all related projects (see below) in the sibling folders (both under the same folder)
158```180```
159assetRegistry -> registerForeignAsset(location, metadata)181assetRegistry -> registerForeignAsset(location, metadata)
160location:182location:
161 V0(X2(Parent, Parachain(PARA_ID))) 183 V0(X2(Parent, Parachain(PARA_ID)))
162metadata:184metadata:
163 name OPL185 name OPL
164 symbol OPL186 symbol OPL
170```192```
171polkadotXcm -> reserveTransferAssets193polkadotXcm -> reserveTransferAssets
172dest:194dest:
173 V0(X2(Parent, Parachain(<KARURA_PARA_ID>))) 195 V0(X2(Parent, Parachain(<KARURA_PARA_ID>)))
174beneficiary:196beneficiary:
175 X1(AccountId(Any, <ACCOUNT>))197 X1(AccountId(Any, <ACCOUNT>))
176assets:198assets:
177 V1(Concrete(0,Here), Fungible(<AMOUNT>))199 V1(Concrete(0,Here), Fungible(<AMOUNT>))
178feeAssetItem: 200feeAssetItem:
179 0 201 0
180weightLimit:202weightLimit:
181 <LIMIT>203 <LIMIT>
182``` 204```
183205
184The result will be displayed in ChainState 206The result will be displayed in ChainState
185tokens -> accounts 207tokens -> accounts
186208
187### To send tokens from Karura to Opal:209### To send tokens from Karura to Opal:
188```210```
197dest:219dest:
198 V1220 V1
199 (221 (
200 Parents:1, 222 Parents:1,
201 X2(Parachain(<KARURA_PARA_ID>), AccountId(Any, <ACCOUNT>)223 X2(Parachain(<KARURA_PARA_ID>), AccountId(Any, <ACCOUNT>)
202 )224 )
203destWeight:225destWeight: