You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/install_chaincode.md
+11-12Lines changed: 11 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
# Install and Instantiate Chaincode w/Bluemix
2
2
3
3
1. If you are not currently on the Blockchain "Resources" page... then get there via:
4
-
1. Login to [Bluemix](https://console.ng.bluemix.net)
5
-
1. Get to your dashboard by clicking the "Menu" icon on the top left and then clicking the "Dashboard" link
6
-
1. Under "All Services" locate your the Blockchain row and click it
7
-
1. Enter your IBM Blockchain Service's dashboard by clicking the "Enter" button
4
+
1. Login to [Bluemix](https://console.ng.bluemix.net)
5
+
1. Get to your dashboard by clicking the "Menu" icon on the top left and then clicking the "Dashboard" link
6
+
1. Under "All Services" locate your the Blockchain row and click it
7
+
1. Enter your IBM Blockchain Service's dashboard by clicking the "Enter" button
8
8
9
9
1. If you are on the "Resources" page already, then click the "Chaincode" link on the left navigation
10
10
@@ -18,7 +18,7 @@
18
18
- Fill out the chaincode name as "marbles"
19
19
- Fill out the chaincode version as "v0"
20
20
- Select the "Choose Files" button and select **all 5** files found in `<marbles directory>/chaincode/src/marbles`
21
-
- Alternatively you can zip up the 5 .go files and submit a single zip file
21
+
- Alternatively you can zip up the 5 .go files and submit a single zip file
22
22
- Click "Submit"
23
23
24
24

@@ -30,9 +30,9 @@
30
30

31
31
32
32
- The arguments input box is for entering the arguments we want to pass to our chaincode's Init() function.
33
-
- Typically this is an array of strings. As you type you can see exactly what will be sent in the lower input named "Chaincode Arguments".
34
-
- Marbles chaincode is expecting a single numeric input argument. Therefore enter your favorite number. Mines 314.
35
-
- Marbles chaincode will store this number to the ledger as a self-test of sorts. It can literaly be any number you want.
33
+
- Typically, this is an array of strings. As you type you can see exactly what will be sent in the lower input named "Chaincode Arguments".
34
+
- Marbles chaincode is expecting a single numeric input argument. Therefore, enter your favorite number. Mines 314.
35
+
- Marbles chaincode will store this number to the ledger as a self-test of sorts. It can literaly be any number you want.
36
36
- Next from the "Channel" drop down, select our 1 and only channel
37
37
- Then click the "Submit" button
38
38
- If it went well the chaincode page will refresh
@@ -45,11 +45,11 @@
45
45
- Click the "Chaincode" tab
46
46
- On this panel, you should see something simialr to the picture above. Marbles is instantiated on at least one peer
47
47
- Expand the row to see which peer
48
-
- Click the log button to see if marbles has started up. You should log messages like:
48
+
- Click the log button to see if marbles started up. You should log messages like:
49
49
50
50
```
51
-
Marbles Is Starting Up
52
-
- ready for action
51
+
Marbles Is Starting Up
52
+
- ready for action
53
53
```
54
54
55
55
- The last thing we need to do is grab all the service instance's credentials for our network. We will use this data to inform the marbles node.js application of our blockchain's networking addresses and credentials.
@@ -63,4 +63,3 @@ Congrats! The network is all setup and marbles chaincode is running.
63
63
64
64
- Continue where you left off in the [tutorial](./tutorial_start_here.md#hostmarbles).
0 commit comments