Advertisement
Guest User

Untitled

a guest
Jul 10th, 2017
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.06 KB | None | 0 0
  1. [
  2. {
  3. "id": "6541ffea.a8bec8",
  4. "type": "tab",
  5. "label": "Sample Network",
  6. "disabled": false,
  7. "info": ""
  8. },
  9. {
  10. "id": "68d90606.df31f8",
  11. "type": "hyperledger-composer-in",
  12. "z": "6541ffea.a8bec8",
  13. "name": "Listen for Events",
  14. "connectionProfile": "hlfv1",
  15. "businessNetworkIdentifier": "basic-sample-network",
  16. "userID": "PeerAdmin",
  17. "userSecret": "adminpw",
  18. "actionType": "create",
  19. "x": 130.5,
  20. "y": 196,
  21. "wires": [
  22. [
  23. "9205c06f.0a5078"
  24. ]
  25. ]
  26. },
  27. {
  28. "id": "9205c06f.0a5078",
  29. "type": "debug",
  30. "z": "6541ffea.a8bec8",
  31. "name": "",
  32. "active": true,
  33. "console": "false",
  34. "complete": "payload",
  35. "x": 365.5,
  36. "y": 138,
  37. "wires": []
  38. },
  39. {
  40. "id": "eaae42f9.202a28",
  41. "type": "inject",
  42. "z": "6541ffea.a8bec8",
  43. "name": "Create Participant Rob",
  44. "topic": "",
  45. "payload": "{ \"$class\": \"org.acme.sample.SampleParticipant\", \"participantId\": \"participantId:0000\", \"firstName\": \"Rob\", \"lastName\": \"G\" }",
  46. "payloadType": "json",
  47. "repeat": "",
  48. "crontab": "",
  49. "once": false,
  50. "x": 156.5,
  51. "y": 278,
  52. "wires": [
  53. [
  54. "19a7df6a.64e7e1"
  55. ]
  56. ]
  57. },
  58. {
  59. "id": "19a7df6a.64e7e1",
  60. "type": "hyperledger-composer-out",
  61. "z": "6541ffea.a8bec8",
  62. "name": "Add to blockchain",
  63. "connectionProfile": "hlfv1",
  64. "businessNetworkIdentifier": "basic-sample-network",
  65. "userID": "PeerAdmin",
  66. "userSecret": "adminpw",
  67. "actionType": "create",
  68. "x": 425.5,
  69. "y": 253,
  70. "wires": []
  71. },
  72. {
  73. "id": "55f55c23.9081cc",
  74. "type": "inject",
  75. "z": "6541ffea.a8bec8",
  76. "name": "Create asset",
  77. "topic": "",
  78. "payload": "{ \"$class\": \"org.acme.sample.SampleAsset\", \"assetId\": \"assetId:0001\", \"owner\": \"resource:org.acme.sample.SampleParticipant#participantId:0000\", \"value\": \"0\" }",
  79. "payloadType": "json",
  80. "repeat": "",
  81. "crontab": "",
  82. "once": false,
  83. "x": 143.5,
  84. "y": 321,
  85. "wires": [
  86. [
  87. "19a7df6a.64e7e1"
  88. ]
  89. ]
  90. },
  91. {
  92. "id": "c21d7543.98df08",
  93. "type": "inject",
  94. "z": "6541ffea.a8bec8",
  95. "name": "Change asset value",
  96. "topic": "",
  97. "payload": "{ \"$class\": \"org.acme.sample.SampleTransaction\", \"asset\": \"resource:org.acme.sample.SampleAsset#assetId:0001\", \"newValue\": \"1\" }",
  98. "payloadType": "json",
  99. "repeat": "",
  100. "crontab": "",
  101. "once": false,
  102. "x": 158.5,
  103. "y": 374,
  104. "wires": [
  105. [
  106. "19a7df6a.64e7e1"
  107. ]
  108. ]
  109. }
  110. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement