git.delta.rocks / unique-network / refs/commits / 8efe571e586c

difftreelog

Update acceptance document

Greg Zaitsev2020-05-07parent: #72848fb.patch.diff
in: master

1 file changed

modifieddoc/demo_milestone1-2.mddiffbeforeafterboth
30Before we continue, we need to do some preparations in the UI: Add NFT Data types so that the UI knows how to decode them. Go to [Settings-Developer Tab](https://polkadot.js.org/apps/#/settings/developer) and add following types to the JSON object in there:30Before we continue, we need to do some preparations in the UI: Add NFT Data types so that the UI knows how to decode them. Go to [Settings-Developer Tab](https://polkadot.js.org/apps/#/settings/developer) and add following types to the JSON object in there:
31```31```
32{32{
33 "Address": "AccountId",
34 "LookupSource": "AccountId",
35 "Weight": "u32",
36 "NftItemType": {33 "NftItemType": {
37 "Collection": "u64",34 "Collection": "u64",
38 "Owner": "AccountId",35 "Owner": "AccountId",
39 "Data": "Vec<u8>"36 "Data": "Vec<u8>"
40 },37 },
41 "CollectionType": {38 "CollectionType": {
39 "Owner": "AccountId",
42 "NextItemId": "u64",40 "NextItemId": "u64",
43 "Owner": "AccountId",
44 "CustomDataSize": "u32"41 "CustomDataSize": "u32"
45 }42 },
43 "Address": "AccountId",
44 "LookupSource": "AccountId",
45 "Weight": "u32"
46}46}
47```47```
4848