This example application demonstrates how to use the Flow Wallet API to distribute the FUSD stablecoin.
This example uses the sample emulator configuration from the root of this repository.
Create a configuration file:
cp .env.example .env
Start the Wallet API, Flow Emulator and Postgres:
docker-compose up -d
Deploy the FUSD contract to the emulator:
flow project deploy -n emulator
In this directory, install and run the Next.js app:
npm install
npm run dev
Try the application at http://localhost:3001!