From 99d60af8a7620eb7f9f2a14a6c647710c87766f9 Mon Sep 17 00:00:00 2001 From: Lea Lobanov Date: Wed, 11 Dec 2024 01:43:06 +0400 Subject: [PATCH] README --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b92e45c..58db609 100644 --- a/README.md +++ b/README.md @@ -114,20 +114,21 @@ Start the Flow emulator to simulate the blockchain environment locally flow emulator start ``` -### Step 2: Deploy Project Contracts +### Step 2: Install Dependencies and Deploy Project Contracts -Deploy contracts to the emulator. This will deploy all the contracts specified in the _deployments_ section of `flow.json` whether project contracts or dependencies +Deploy contracts to the emulator. This will deploy all the contracts specified in the _deployments_ section of `flow.json` whether project contracts or dependencies. ```bash +flow dependencies install flow project deploy --network=emulator ``` ### Step 3: Run the Transaction -The transaction file is located in `./cadence/transaction.cdc`. To run the transaction, execute the following command: +The transaction file is located in `./cadence/transactions`. To run the transaction, execute the following command: ```bash -flow transactions send cadence/transactions/create_plays.cdc --signer emulator-account +flow transactions send cadence/transactions/TRANSACTION_NAME.cdc --signer emulator-account ``` To verify the transaction's execution, check the emulator logs printed during the transaction for confirmation messages. You can add the `--log-level debug` flag to your Flow CLI command for more detailed output during contract deployment or transaction execution.