Skip to content

Commit 99d1daa

Browse files
committed
Devkit bytecode update
1 parent 8eb3283 commit 99d1daa

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

articles/blockchain/service/data-manager-portal.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,15 @@ The contract ABI defines the smart contract interfaces. It describes how to inte
7373

7474
1. Save the **abi** array as a JSON file. For example, *abi.json*. You use the file in a later step.
7575

76-
Blockchain Data Manager requires the deployed bytecode for the smart contract. The deployed bytecode is different than the smart contract bytecode. You can get the deployed bytecode from the compiled contract metadata file.
76+
Blockchain Data Manager requires the deployed bytecode for the smart contract. The deployed bytecode is different than the smart contract bytecode. You use the Azure blockchain development kit extension to copy the bytecode to the clipboard.
7777

78-
1. Open the contract metadata file contained in the **build/contracts** folder of your Solidity project. The file name is the smart contract name followed by the **.json** extension.
79-
1. Find the **deployedBytecode** element in the JSON file.
80-
1. Copy the hexadecimal value without the quotes.
78+
1. In the Visual Studio Code explorer pane, expand the **build/contracts** folder of your Solidity project.
79+
1. Right-click the contract metadata JSON file. The file name is the smart contract name followed by the **.json** extension.
80+
1. Select **Copy Transaction Bytecode**.
81+
82+
![Visual Studio Code pane with the Copy Transaction Bytecode selection](./media/data-manager-portal/bytecode-devkit.png)
8183

82-
![Visual Studio Code pane with bytecode in the metadata](./media/data-manager-portal/bytecode-metadata.png)
84+
The bytecode is copied to the clipboard.
8385

8486
1. Save the **bytecode** value as a JSON file. For example, *bytecode.json*. You use the file in a later step.
8587

Binary file not shown.
37.7 KB
Loading

0 commit comments

Comments
 (0)