Skip to content
G

Gringotts Owl Post

Magical web app to convert INR ↔ wizard coins, send money via Owl Post, and manage a Gringotts vault. Spell verification, secure login, and fun Harry Potter-themed UI.

Created on 4th April 2025

•

G

Gringotts Owl Post

Magical web app to convert INR ↔ wizard coins, send money via Owl Post, and manage a Gringotts vault. Spell verification, secure login, and fun Harry Potter-themed UI.

The problem Gringotts Owl Post solves

🪄 What Can You Use It For?
Gringotts Owl Post is a magical simulation of a secure, fantasy-themed banking and messaging system. Here's how it can be useful or insightful:

💱 Currency Conversion Made Fun
Easily convert Muggle money (INR) to wizarding coins—Galleons, Sickles, and Knuts—with accurate exchange rates.

🦉 Secure & Verified Transfers
Send magical money to other users using Owl Post, backed by spell-based verification (alohomora, expelliarmus) for added security.

🏦 Personal Vault Management
Track your wizarding wealth with a secure Gringotts Vault. Visual feedback and animations make managing balances more engaging.

🔐 Safety & Session Control
Sessions are managed securely, and transfers only go through with correct spells and sufficient balance—reducing errors and misuse.

🎓 Great for Learning
Combines core concepts of Flask, frontend JS/CSS, user auth, sessions, and real-time interactivity in a fun and immersive way.

Challenges we ran into

:

🐞 Bug Encountered & How I Solved It
Issue:
While building the Owl Post transfer system, I ran into a frustrating issue—coin balances were not updating consistently after a successful transfer. Sometimes, the sender's balance would decrease, but the recipient's wouldn't update, or vice versa.

Root Cause:
This was due to the use of in-memory Python dictionaries for storing user data. Since Flask runs in a stateless way across multiple requests, changes to shared state weren’t always persisting reliably, especially when multiple users were interacting.

Solution:
I restructured the data handling logic to ensure:

Atomic operations: First deduct from sender, then credit the receiver only if spell verification passes.

Session-based user context: I made sure that each user’s session is properly isolated using Flask's session object.

Transfer integrity checks: Before any update, I added validations for balance sufficiency and spell correctness to avoid inconsistent states.

Result:
Transfers now work smoothly with accurate balance updates and complete verification, preserving the magic and the logic. 🪄✅

Tracks Applied (1)

CAMPAIGNING SOURCE

📢 How It Fits the Campaigning Source Track Gringotts Owl Post promotes digital literacy through a fun, engaging platfor...Read More

Campaigning Source

Discussion

Builders also viewed

See more projects on Devfolio