This is a scaffold for an a NextJS App on the Flow Blockchain. It uses @onflow/kit
which is a React library built on top of FCL
@onflow/kit
setup and configuration- Wallet Discovery (including Dev Wallet on Emulator)
- CLI private key separation for security
- Flow.json loading for contract placeholders
- Authentication
- CDC file loader
- Custom hooks
- Node.js
- Flow CLI
First run the Emulator:
flow emulator
Then run dev wallet for local wallet usage:
flow dev-wallet
Then run the app:
npm run dev:local
npm run dev:emulator
Run the following the Emulator:
npm run dev:local
To run against an already deployed contract on Testnet with a non-dev wallet, you can use the following command:
npm run dev:testnet
To learn more about Flow, Flow CLI, and front end development on Flow, check out the Getting Started guide.