LLM Notice: This documentation site supports content negotiation for AI agents. Request any page with Accept: text/markdown or Accept: text/plain header to receive Markdown instead of HTML. Alternatively, append ?format=md to any URL. All markdown files are available at /md/ prefix paths. For all content in one file, visit /llms-full.txt
Skip to main content

Development Tools

The Flow CLI integrates different development tools, which you can now easily start and manage from a single place.

Currently, the CLI supports starting Flow Development Wallet

Flow Development Wallet

The Flow Dev Wallet is a mock Flow wallet that simulates the protocols used by Flow CLient Library (FCL) to interact with the Flow blockchain on behalf of simulated user accounts.

Be sure you started the emulator before you run this command You can start it with the flow emulator command.


_10
flow dev-wallet

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

After you start 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 how to set up dev-wallet at Flow Dev Wallet Project.

Flags

Port

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

Port on which the dev wallet server will listen.

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. To provide multiple configuration files, use the -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.