Skip to content

Commit ac4e098

Browse files
authored
Merge pull request #96363 from PatAltimore/patricka-blockchain-screenshots
Blockchain freshness - screenshots, title, metadata
2 parents 6f60641 + 714d825 commit ac4e098

29 files changed

+96
-91
lines changed

articles/blockchain/service/configure-transaction-nodes.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,16 @@ services: azure-blockchain
55
keywords:
66
author: PatAltimore
77
ms.author: patricka
8-
ms.date: 05/02/2019
8+
ms.date: 11/20/2019
99
ms.topic: article
1010
ms.service: azure-blockchain
11-
ms.reviewer: seal
11+
ms.reviewer: janders
1212
manager: femila
1313
#Customer intent: As a network operator, I want to use the Azure portal to create and configure transaction nodes.
1414
---
1515

1616
# Configure Azure Blockchain Service transaction nodes
1717

18-
To interact with Azure Blockchain Service, you do so through connecting to one or more transaction nodes in your blockchain member. In order to interact with transaction nodes, you will need to configure your nodes for access.
19-
20-
## Prerequisites
21-
22-
* [Create an Azure Blockchain member](create-member.md)
23-
24-
## Transaction node overview
25-
2618
Transaction nodes are used to send blockchain transactions to Azure Blockchain Service through a public endpoint. The default transaction node contains the private key of the Ethereum account registered on the blockchain, and as such cannot be deleted.
2719

2820
To view the default transaction node details:
@@ -36,7 +28,7 @@ To view the default transaction node details:
3628

3729
## Create transaction node
3830

39-
You can add up to nine additional transaction nodes to your blockchain member, for a total of ten transaction nodes. By adding transaction nodes, you can increase scalability or distribute load. For example, you could have a transaction node endpoint for different client applications.
31+
You can add up to nine additional transaction nodes to your blockchain member, for a total of 10 transaction nodes. By adding transaction nodes, you can increase scalability or distribute load. For example, you could have a transaction node endpoint for different client applications.
4032

4133
To add a transaction node:
4234

@@ -103,7 +95,7 @@ To use the URL, replace \<password\> with the password set when the node was pro
10395

10496
### Access keys
10597

106-
For access key authentication, the access key is included in the endpoint URL. When the transaction node is provisioned, two access keys are generated. Either access key can be used for authentication. Two keys enable you change and rotate keys.
98+
For access key authentication, the access key is included in the endpoint URL. When the transaction node is provisioned, two access keys are generated. Either access key can be used for authentication. Two keys enable you to change and rotate keys.
10799

108100
You can view a transaction node's access key details and copy endpoint addresses that include the access keys. Navigate to one of your Azure Blockchain Service member transaction nodes and select **Access Keys** in settings.
109101

@@ -135,9 +127,9 @@ You can view a transaction node's connection strings and copy endpoint addresses
135127

136128
Sample code is provided to quickly enable connecting to your transaction node via Web3, Nethereum, Web3js, and Truffle.
137129

138-
You can view a transaction node's sample connection code and copy it to use with popular developer tools. Navigate to one of your Azure Blockchain Service member transaction nodes and select **Sample Code** in settings.
130+
You can view a transaction node's sample connection code and copy it to use with popular developer tools. Go to one of your Azure Blockchain Service member transaction nodes and select **Sample Code** in settings.
139131

140-
Choose the Web3 or Nethereum tab to view the code sample you want to use.
132+
Choose the Web3, Nethereum, Truffle, or Web3j tab to view the code sample you want to use.
141133

142134
![Sample code](./media/configure-transaction-nodes/sample-code.png)
143135

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
---
2-
title: Use Geth to connect to Azure Blockchain Service
3-
description: Connect to an Azure Blockchain Service network using Geth
2+
title: Use Geth to attach to Azure Blockchain Service
3+
description: Attach to a Geth instance on Azure Blockchain Service transaction node
44
services: azure-blockchain
55
keywords:
66
author: PatAltimore
77
ms.author: patricka
8-
ms.date: 05/02/2019
8+
ms.date: 11/20/2019
99
ms.topic: quickstart
1010
ms.service: azure-blockchain
11-
ms.reviewer: jackyhsu
11+
ms.reviewer: janders
1212
manager: femila
1313
#Customer intent: As a developer, I want to connect to my blockchain member transaction node so that I can perform actions on a blockchain.
1414
---
1515

16-
# Quickstart: Use Geth to connect to a transaction node
16+
# Quickstart: Use Geth to attach to an Azure Blockchain Service transaction node
1717

18-
Geth is a Go Ethereum client you can use to attach to a Geth instance on an Azure Blockchain Service transaction node.
18+
In this quickstart, you use the Geth client to attach to a Geth instance on an Azure Blockchain Service transaction node. Once attached, you use the Geth JavaScript console to call a web3 JavaScript Dapp API.
1919

2020
[!INCLUDE [quickstarts-free-trial-note](../../../includes/quickstarts-free-trial-note.md)]
2121

@@ -24,46 +24,46 @@ Geth is a Go Ethereum client you can use to attach to a Geth instance on an Azur
2424
* Install [Geth](https://github.com/ethereum/go-ethereum/wiki/geth)
2525
* Complete [Quickstart: Create a blockchain member using the Azure portal](create-member.md) or [Quickstart: Create an Azure Blockchain Service blockchain member using Azure CLI](create-member-cli.md)
2626

27-
## Get the Geth connection string
27+
## Get Geth connection string
2828

29-
You can find the Geth connection string in the Azure portal.
29+
You can get the Geth connection string for an Azure Blockchain Service transaction node in the Azure portal.
3030

3131
1. Sign in to the [Azure portal](https://portal.azure.com).
32-
1. Navigate to your Azure Blockchain Service member. Select **Transaction nodes** and the default transaction node link.
32+
1. Go to your Azure Blockchain Service member. Select **Transaction nodes** and the default transaction node link.
3333

3434
![Select default transaction node](./media/connect-geth/transaction-nodes.png)
3535

3636
1. Select **Connection strings**.
37-
1. Copy the connection string from **HTTPS (Access key 1)**. You need the command for the next section.
37+
1. Copy the connection string from **HTTPS (Access key 1)**. You need the string for the next section.
3838

3939
![Connection string](./media/connect-geth/connection-string.png)
4040

4141
## Connect to Geth
4242

4343
1. Open a command prompt or shell.
44-
1. Use the Geth attach subcommand to attach to the running Geth instance on your transaction node. Paste the connection string as an argument for the attach subcommand. For example,
44+
1. Use the Geth attach subcommand to attach to the running Geth instance on your transaction node. Paste the connection string as an argument for the attach subcommand. For example:
4545

46-
```
46+
``` bash
4747
geth attach <connection string>
4848
```
4949

5050
1. Once connected to the transaction node's Ethereum console, you can call the web3 JavaScript Dapp API or the admin API.
5151
52-
For example, Use the following API to find out the chainId.
52+
For example, use the following API to find out the chainId.
5353
54-
```bash
54+
``` bash
5555
admin.nodeInfo.protocols.istanbul.config.chainId
5656
```
5757
58-
In this example, the chainId is 297.
58+
In this example, the chainId is 661.
5959
6060
![Azure Blockchain Service option](./media/connect-geth/geth-attach.png)
6161
6262
1. To disconnect from the console, type `exit`.
6363
6464
## Next steps
6565
66-
In this quickstart, you used the Geth client to attach to a Geth instance on an Azure Blockchain Service transaction node. Try the next tutorial to use Azure Blockchain Development Kit for Ethereum and Truffle to create, build, deploy, and execute a smart contract function via a transaction.
66+
In this quickstart, you used the Geth client to attach to a Geth instance on an Azure Blockchain Service transaction node. Try the next tutorial to use Azure Blockchain Development Kit for Ethereum to create, build, deploy, and execute a smart contract function via a transaction.
6767
6868
> [!div class="nextstepaction"]
69-
> [Use Visual Studio Code to create, build, and deploy smart contracts](send-transaction.md)
69+
> [Use Visual Studio Code to create, build, and deploy smart contracts](send-transaction.md)

articles/blockchain/service/connect-truffle.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
---
2-
title: Connect using Truffle
2+
title: Use Truffle to connect to Azure Blockchain Service
33
description: Connect to an Azure Blockchain Service network using Truffle
44
services: azure-blockchain
55
keywords:
66
author: PatAltimore
77
ms.author: patricka
8-
ms.date: 08/29/2019
8+
ms.date: 11/20/2019
99
ms.topic: quickstart
1010
ms.service: azure-blockchain
11-
ms.reviewer: jackyhsu
11+
ms.reviewer: janders
1212
manager: femila
1313
#Customer intent: As a developer, I want to connect to my blockchain member node so that I can perform actions on a blockchain.
1414
---
1515

16-
# Quickstart: Use Truffle to connect to a transaction node
16+
# Quickstart: Use Truffle to connect to Azure Blockchain Service
1717

18-
Truffle is a blockchain development environment you can use to connect to an Azure Blockchain Service transaction node.
18+
In this quickstart, you use Truffle connect to an Azure Blockchain Service transaction node. You then use the Truffle interactive console to call **web3** methods to interact with your blockchain network.
1919

2020
[!INCLUDE [quickstarts-free-trial-note](../../../includes/quickstarts-free-trial-note.md)]
2121

@@ -54,12 +54,15 @@ Truffle is a blockchain development environment you can use to connect to an Azu
5454

5555
To configure the Truffle project, you need some transaction node information from the Azure portal.
5656

57-
### Transaction node endpoint addresses
57+
1. Sign in to the [Azure portal](https://portal.azure.com).
58+
1. Go to your Azure Blockchain Service member. Select **Transaction nodes** and the default transaction node link.
5859

59-
1. In the Azure portal, navigate to the default transaction node and select **Transaction nodes > Connection strings**.
60-
1. Copy and save the endpoint URL from **HTTPS (Access key 1)**. You need the endpoint addresses for the smart contract configuration file later in the tutorial.
60+
![Select default transaction node](./media/connect-truffle/transaction-nodes.png)
6161

62-
![Transaction endpoint address](./media/connect-truffle/endpoint.png)
62+
1. Select **Connection strings**.
63+
1. Copy the connection string from **HTTPS (Access key 1)**. You need the string for the next section.
64+
65+
![Connection string](./media/connect-truffle/connection-string.png)
6366

6467
### Edit configuration file
6568

@@ -96,7 +99,7 @@ Use *Web3* to connect to the transaction node.
9699

97100
Truffle connects to the default transaction node and provides an interactive console.
98101

99-
You can call methods on the **web3** object to interact with your transaction node.
102+
You can call methods on the **web3** object to interact with your blockchain network.
100103

101104
1. Call the **getBlockNumber** method to return the current block number.
102105

@@ -118,9 +121,9 @@ Use *Web3* to connect to the transaction node.
118121

119122
## Next steps
120123

121-
In this quickstart, you created a Truffle project to connect to your Azure Blockchain Service default transaction node.
124+
In this quickstart, you used Truffle connect to an Azure Blockchain Service default transaction node and used the interactive console to return the current blockchain block number.
122125

123-
Try the next tutorial to use Azure Blockchain Development Kit for Ethereum and Truffle to create, build, deploy, and execute a smart contract function via a transaction.
126+
Try the next tutorial to use Azure Blockchain Development Kit for Ethereum to create, build, deploy, and execute a smart contract function via a transaction.
124127

125128
> [!div class="nextstepaction"]
126129
> [Use Visual Studio Code to create, build, and deploy smart contracts](send-transaction.md)

articles/blockchain/service/connect-vscode.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
title: Use Visual Studio Code to connect to an Azure Blockchain Service consortium network
2+
title: Use Visual Studio Code to connect to Azure Blockchain Service
33
description: Connect to an Azure Blockchain Service consortium network using the Azure Blockchain Development Kit for Ethereum extension in Visual Studio Code
44
services: azure-blockchain
55
keywords:
66
author: PatAltimore
77
ms.author: patricka
8-
ms.date: 11/18/2019
8+
ms.date: 11/19/2019
99
ms.topic: quickstart
1010
ms.service: azure-blockchain
1111
ms.reviewer: chrisseg
@@ -32,7 +32,7 @@ In this quickstart, you install and use the Azure Blockchain Development Kit for
3232

3333
On Windows, an installed C++ compiler is required for the node-gyp module. You can use the MSBuild tools:
3434

35-
* If Visual Studio 2017 is installed, configure npm to use the MSBuild tools using the command `npm config set msvs_version 2017 -g`
35+
* If Visual Studio 2017 is installed, configure npm to use the MSBuild tools with the command `npm config set msvs_version 2017 -g`
3636
* If Visual Studio 2019 is installed, set the MS build tools path for npm. For example, `npm config set msbuild_path "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe"`
3737
* Otherwise, install the stand-alone VS Build tools using `npm install --global windows-build-tools` in an elevated *Run as administrator* command shell.
3838

@@ -76,7 +76,7 @@ The consortium and blockchain members are listed in the Visual Studio explorer s
7676

7777
## Next steps
7878

79-
In this quickstart, you used Azure Blockchain Development Kit for Ethereum Visual Studio Code extension to attach to a consortium on Azure Blockchain Service. Try a tutorial to use Azure Blockchain Development Kit for Ethereum to create, build, deploy, and execute a smart contract function.
79+
In this quickstart, you used Azure Blockchain Development Kit for Ethereum Visual Studio Code extension to attach to a consortium on Azure Blockchain Service. Try the next tutorial to use Azure Blockchain Development Kit for Ethereum to create, build, deploy, and execute a smart contract function via a transaction.
8080

8181
> [!div class="nextstepaction"]
8282
> [Use Visual Studio Code to create, build, and deploy smart contracts](send-transaction.md)

articles/blockchain/service/create-member-cli.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
---
2-
title: Create an Azure Blockchain Service using Azure CLI
3-
description: Use Azure Blockchain Service to create a blockchain member using Azure CLI.
2+
title: Create an Azure Blockchain Service member - Azure CLI
3+
description: Create an Azure Blockchain Service member for a blockchain consortium using the Azure CLI.
44
services: azure-blockchain
55
keywords:
66
author: PatAltimore
77
ms.author: patricka
8-
ms.date: 05/29/2019
8+
ms.date: 11/20/2019
99
ms.topic: quickstart
1010
ms.service: azure-blockchain
11-
ms.reviewer: seal
11+
ms.reviewer: janders
1212
manager: femila
1313
#Customer intent: As a network operator, I want use Azure Blockchain Service so that I can create a blockchain member on Azure
1414
---
1515

1616
# Quickstart: Create an Azure Blockchain Service blockchain member using Azure CLI
1717

18-
Azure Blockchain Service is a blockchain platform you can use to execute your business logic within a smart contract. This quickstart shows you how to get started by creating a blockchain member using Azure CLI.
18+
In this quickstart, you deploy a new blockchain member and consortium in Azure Blockchain Service using Azure CLI.
1919

2020
[!INCLUDE [quickstarts-free-trial-note](../../../includes/quickstarts-free-trial-note.md)]
2121

@@ -32,22 +32,29 @@ If you prefer to install and use the CLI locally, this quickstart requires Azure
3232
Create a resource group with the [az group create](https://docs.microsoft.com/cli/azure/group) command. An Azure resource group is a logical container into which Azure resources are deployed and managed. The following example creates a resource group named *myResourceGroup* in the *eastus* location:
3333

3434
```azurecli-interactive
35-
az group create --name myResourceGroup --location eastus
35+
az group create \
36+
--name myResourceGroup \
37+
--location westus2
3638
```
3739

3840
## Create a blockchain member
3941

4042
Create a blockchain member in Azure Blockchain Service that runs the Quorum ledger protocol in a new consortium. There are several parameters and properties you need to pass. Replace the example parameters with your values.
4143

4244
```azurecli-interactive
43-
az resource create --resource-group myResourceGroup --name myblockchainmember --resource-type Microsoft.Blockchain/blockchainMembers --is-full-object --properties "{ \"location\": \"eastus\", \"properties\": {\"password\": \"strongMemberAccountPassword@1\", \"protocol\": \"Quorum\", \"consortium\": \"myConsortiumName\", \"consortiumManagementAccountPassword\": \"strongConsortiumManagementPassword@1\" }, \"sku\": { \"name\": \"S0\" } }"
45+
az resource create \
46+
--resource-group myResourceGroup \
47+
--name myblockchainmember \
48+
--resource-type Microsoft.Blockchain/blockchainMembers \
49+
--is-full-object \
50+
--properties '{"location":"westus2", "properties":{"password":"strongMemberAccountPassword@1", "protocol":"Quorum", "consortium":"myConsortiumName", "consortiumManagementAccountPassword":"strongConsortiumManagementPassword@1"}, "sku":{"name":"S0"}}'
4451
```
4552

4653
| Parameter | Description |
4754
|---------|-------------|
4855
| **resource-group** | Resource group name where Azure Blockchain Service resources are created. Use the resource group you created in the previous section.
4956
| **name** | A unique name that identifies your Azure Blockchain Service blockchain member. The name is used for the public endpoint address. For example, `myblockchainmember.blockchain.azure.com`.
50-
| **location** | Azure region where the blockchain member is created. For example, `eastus`. Choose the location that is closest to your users or your other Azure applications.
57+
| **location** | Azure region where the blockchain member is created. For example, `westus2`. Choose the location that is closest to your users or your other Azure applications.
5158
| **password** | The password for the member's default transaction node. Use the password for basic authentication when connecting to blockchain member's default transaction node public endpoint.
5259
| **consortium** | Name of the consortium to join or create.
5360
| **consortiumAccountPassword** | The consortium account password is also known as the member account password. The member account password is used to encrypt the private key for the Ethereum account that is created for your member. You use the member account and member account password for consortium management.
@@ -62,12 +69,14 @@ You can use the blockchain member you created for the next quickstart or tutoria
6269
Run the following command to remove the resource group and all related resources.
6370

6471
```azurecli-interactive
65-
az group delete --name myResourceGroup --yes
72+
az group delete \
73+
--name myResourceGroup \
74+
--yes
6675
```
6776

6877
## Next steps
6978

70-
Now that you have created a blockchain member, try one of the connection quickstarts for [Geth](connect-geth.md), [MetaMask](connect-metamask.md), or [Truffle](connect-truffle.md).
79+
In this quickstart, you deployed an Azure Blockchain Service member and a new consortium. Try the next quickstart to use Azure Blockchain Development Kit for Ethereum to attach to a consortium on Azure Blockchain Service.
7180

7281
> [!div class="nextstepaction"]
73-
> [Use Truffle to connect to a an Azure Blockchain Service network](connect-truffle.md)
82+
> [Use Visual Studio Code to connect to an Azure Blockchain Service consortium network](connect-vscode.md)

0 commit comments

Comments
 (0)