官术网_书友最值得收藏!

Running the web application

Following the steps get the web application running:

  1. Run node app.js. This will bring up the node server:
  1. Once the node server is up, click on the Query Chaincode button. This will return the current orgAsset result in the blockchain. Here is the result:
  1. Click on the Ship button, which will call the Ship method in the blockchain. Once it is called successfully, click on the Query Chaincode button again and you will see the updatedorgAsset result, with the status updated to SHIP. When it has updated, the page should look like this:

Remember, since there is a delay of a few seconds, you may need to click the button a couple of times for the update to occur.

主站蜘蛛池模板: 阿拉善右旗| 苏州市| 城市| 东城区| 三穗县| 蓝山县| 梅河口市| 宁城县| 瓦房店市| 红原县| 浦东新区| 南丰县| 乌审旗| 塔城市| 巴东县| 五大连池市| 麦盖提县| 义乌市| 白朗县| 姜堰市| 莲花县| 孝昌县| 怀来县| 巩义市| 西充县| 岫岩| 策勒县| 五寨县| 江口县| 永顺县| 西乡县| 广德县| 博白县| 华阴市| 佛教| 新民市| 鄂托克前旗| 绵阳市| 邻水| 崇州市| 兰溪市|