๐ Forkable Flow dev stack focused on fast product iterations
- FCL setup and configuration
- Wallet Discovery (including Dev Wallet on Emulator)
- CLI private key separation for security
- Flow.json loading for contract placeholders
- Deployment
- Mainnet deployment
- JS Testing
- Clone/Fork ๐ scaffold-flow repository to your local machine:
git clone https://github.com/onflow/scaffold-flow.git
- install required packages:
cd scaffold-flow
npm install
You will be able to run you app locally on the flow emulator immediately after forking! For running on Testnet, you will need to make some configuration changes.
- In your terminal, use this Flow-CLI command to initialize the flow blockchain emulator:
flow emulator start
- In a different terminal, use this Flow-CLI command to initilize the Dev Wallet:
flow dev-wallet
- In a different terminal, use this Flow-CLI command to deploy and manage your contracts. This listener will automatically update and redeploy your contracts as you work!
flow dev
Ensure your account address is prefixed with
0x
. Add the prefix if missing."default": { "address": "0x0000000000000000", // confirm this address has the prefix "key": "0000000000000000000000000000000000000000000000000000000000000000" },
- In a different terminal (Last one, promise!), use this command to deploy your contract(s) and initialize the App:
npm run dev
- You're done! Checkout the App at http://localhost:3000