Skip to main content
Version: Next

Start Development Tools with the Flow CLI

The Flow CLI integrates different development tools, which can now be easily started and managed from a single place.

Currently the CLI supports starting:

FCL Development Wallet

The FCL dev wallet is a mock Flow wallet that simulates the protocols used by FCL to interact with the Flow blockchain on behalf of simulated user accounts.

Be sure you have the emulator running before starting this command You can start it using the flow emulator command.


_10
flow dev-wallet

⚠️ This project implements an FCL compatible interface, but should not be used as a reference for building a production grade wallet.

After starting dev-wallet, you can set your fcl config to use it like below:


_10
import * as fcl from "@onflow/fcl"
_10
_10
fcl.config()
_10
// Point App at Emulator
_10
.put("accessNode.api", "http://localhost:8080")
_10
// Point FCL at dev-wallet (default port)
_10
.put("discovery.wallet", "http://localhost:8701/fcl/authn")

You can read more about setting up dev-wallet at FCL Dev Wallet Project

Flags

Port

  • Flag: --port
  • Valid inputs: Number
  • Default: 8701

Port on which the dev wallet server will listen on.

Emulator Host

  • Flag: --emulator-host
  • Valid inputs: a hostname
  • Default: http://localhost:8080

Specifies the host configuration for dev wallet

Configuration

  • Flag: --config-path
  • Short Flag: -f
  • Valid inputs: valid filename

Specify a filename for the configuration files, you can provide multiple configuration files by using -f flag multiple times.

Specify a filename for the configuration files, you can provide multiple configuration files by using -f flag multiple times.

Version Check

  • Flag: --skip-version-check
  • Default: false

Skip version check during start up to speed up process for slow connections.