From a8282f5223085c851ba00673a243000fb929ec1f Mon Sep 17 00:00:00 2001 From: Vijayesvar <116833458+Vijayesvar@users.noreply.github.com> Date: Sun, 14 Jul 2024 15:30:13 +0530 Subject: [PATCH] added images --- docs/dlt/besu/Deploy_Chaincode.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/dlt/besu/Deploy_Chaincode.md b/docs/dlt/besu/Deploy_Chaincode.md index d25fd36..cc4ec6f 100644 --- a/docs/dlt/besu/Deploy_Chaincode.md +++ b/docs/dlt/besu/Deploy_Chaincode.md @@ -29,6 +29,10 @@ mkdir MyContract cd MyContract truffle init ``` +

+ truffle_init +

+ ## Step 3: Write Your Smart Contract Create a new Solidity file in the contracts directory, e.g., ```MyContract.sol``` ``` @@ -89,9 +93,22 @@ Deploy your contract to the network: ``` truffle migrate --network development ``` +

+ truffle_deploy +

+ ## Step 7: Interact with the Smart Contract You can interact with your deployed contract using Truffle console: ``` truffle console --network development ``` In the console, you can interact with your contract +- Deploying while the Node is online +

+ truffle_success +

+ +- Deploying while the Node is offline +

+ truffle_failure +