Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
lealobanov committed Dec 10, 2024
1 parent f2fb256 commit 99d60af
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 99d60af

Please sign in to comment.