Tools, FAQ, Tutorials:
Basic Sample Business Network - SampleAsset
How to add new SampleAsset records in Basic Sample Business Network?
✍: FYIcenter.com
You can follow this tutorial to add new SampleAsset records in
Basic Sample Business Network.
1. Open Hyperledger Composer Playground and go to Basic Sample Business Network home page, as shown in the previous tutorial.
2. Click "Test" tab. You see the test home page.
3. Click "SampleAsset" in the ASSETS section on the left. You see a list of SampleAsset records.
4. Click "+Create New Participant" on the top right corner. You see the input form to create new asset.
5. Copy and paste the following JSON message. Note that the "owner" attribute needs to point to an existing SampleParticipant record: "resource:org.example.basic.SampleParticipant#Toby".
{ "$class": "org.example.basic.SampleAsset", "assetId": "1st_Asset", "owner": "resource:org.example.basic.SampleParticipant#Toby", "value": "100000.99" }
6. Click "Create New". You see a new SampleAsset record in Basic Sample Business Network.
⇒ Basic Sample Business Network - SampleTransaction
⇐ Basic Sample Business Network - SampleParticipant
2020-12-22, 321👍, 0💬
Popular Posts:
How to create Hello-3.0.epub with WinRAR? I have all required files to create Hello-3.0.epub. To cre...
How To Add Column Headers to a Table? If you want to add column headers to a table, you need to use ...
How to add request query string Parameters to my Azure API operation 2017 version to make it more us...
How To Remove Slashes on Submitted Input Values in PHP? By default, when input values are submitted ...
How to login to Azure API Management Publisher Dashboard? If you have given access permission to an ...