Floww - GWDC Hackathon
An AI shopping prototype with a wallet login flow built to make the transition from sign-in to task review clear.

After the hackathon, I rebuilt the frontend authentication screens. I focused on what a new user sees when they arrive without a connected wallet, need to switch networks, or return from sign-in. The shopping flow was a team prototype, and the wallet UI was my follow-up work.
Separating wallet connection from sign-in
The Next.js client uses wagmi to connect an injected wallet and switch to Sepolia when necessary. It then asks the user to sign the server challenge. A successful verification updates the session cache and returns the user to a validated in-app destination, so signing in does not interrupt the task that brought them there.
const onSuccess = (result: WalletVerifyResponse) => {
queryClient.setQueryData(WALLET_SESSION_QUERY_KEY, result.session);
router.replace(safeReturnTo(returnTo));
};
const metaMask = useMutation({
mutationFn: async () => {
let address: Address | undefined = account.address;
let chainId = account.chainId;
if (!account.isConnected || !address) {
const connector = connectors.find((candidate) => candidate.type === "injected") ?? injected();
const connected = await connectAsync({ connector });
address = connected.accounts[0];
chainId = connected.chainId;
}
if (chainId !== sepolia.id) {
chainId = (await switchChainAsync({ chainId: sepolia.id })).id;
}
const signer = address;
return signInWithEthereum({
address: signer,
chainId,
signMessage: (message) => signMessageAsync({ account: signer, message }),
});
},
onSuccess,
});Keeping the approval step visible
The team backend separates task drafts, quotes, and explicit approval. That distinction is important in the UI because a wallet signature at login proves control of an address, while reviewing a quote is a separate decision. The hackathon flow exercises execution with a deterministic simulator.
What I learned
I learned to write the interface around each decision the user is making. The screen should tell them whether they are connecting, signing in, or reviewing a task before asking them to act.