project screenshot 1
project screenshot 2
project screenshot 3

Cosmic-Capital

Flow Testnet bank app for depositing and withdrawing FLOW using a Cadence smart contract.

Cosmic-Capital

Created At

ETHGlobal New York 2025

Winner of

Flow Foundation

Flow - Flow Builder Pool Prize

Prize Pool

Project Description

This project implements a minimal on-chain bank on top of the Flow testnet. Users can deposit FLOW into a smart contract and later withdraw their funds. The main goal of the project was to test the Flow developer tooling (Cadence + Flow CLI) and demonstrate how simple contracts can be deployed and interacted with on testnet. All balances are tracked in the contract, and the logic is intentionally transparent and permissionless. A small React frontend was also created to allow users to sign transactions using Flow Wallet and view their own deposit and withdrawal history. The app is currently live on testnet.

How it's Made

The contract is written in Cadence and deployed to Flow Testnet using the Flow CLI via a local flow.json configuration. We created two transaction templates (deposit.cdc and withdraw.cdc) to perform token movement and invoked these from the frontend using FCL. The frontend is built in React with Tailwind CSS and integrates Flow Wallet for signing through FCL’s discovery service. Events are fetched using fcl.getEvents so that users can view their personal deposit and withdrawal history. Overall it shows how to combine Cadence contracts with a lightweight web UI for end-to-end testnet interaction.

background image mobile

Join the mailing list

Get the latest news and updates