This guide will take you through the environmental setup of Flow.
We will be installing the flow emulator, installing and configuring the dev-wallet, and using flow client library (fcl) to interact with the previous two.
- Mac OS or Linux
- NodeJS
- Node Package Manager (NPM)
- Git
- Curl
git clone git@github.com:dangerousfood/create-flow-dapp.git
cd create-flow-dapp
npm install
This installation method only works on macOS/x86-64 and Linux/x86-64 architectures.
This script downloads and installs the appropriate binary for your system:
sh -ci "$(curl -fsSL https://storage.googleapis.com/flow-cli/install.sh)"
flow emulator start --init
npm run dev:wallet
npm run start
This should open a browser to the dev server at http://localhost:3000
. If it does not navigate to your browser and enter the following URL