An example and guide showing how to build an FCL-compatible wallet extension on Flow.
Read the docs »
What is FCL?
·
Report a Bug
This guide and sample is based on a winning FLIP Fest submission from the ZayCodes team.
Run all commands from the root directory.
npm i
npm run build --workspace fcl-wallet-extension-demo
- In Chrome, navigate to
chrome://extensions
- Enable the "Developer mode" toggle
- Click on "Load unpacked"
- Select the
packages/extension/build
folder
If you make changes to the code, rebuild the extension with npm run dev --workspace fcl-wallet-extension-demo
and then click the refresh icon in the Chrome extensions page.
The harness is a barebones web app that allows you to connect to the extension and send transactions.
npm run start --workspace fcl-harness
Open http://localhost:3000 to view it in the browser.
See the full guide to building an extension on Flow here.