Skip to content
Finai

Finai

Learn And Grow

Created on 27th April 2025

•

Finai

Finai

Learn And Grow

The problem Finai solves

Today, many platforms struggle to clearly separate normal users from administrators.
Without a secure system, admin features (like deleting accounts, managing funds, or posting sensitive content) can accidentally be exposed to normal users, creating security risks.

This Admin Key system solves that problem by:

Securely assigning special privileges to admin users only.

Protecting critical operations like wallet management, deleting users, editing articles, etc.

Keeping the logic hidden from frontend users (for safer authentication).

How People Can Use It

1.Admin Authentication: Developers can easily check if a user is an admin by comparing a hidden admin key or email during login.
2.Access Control: Grant or restrict access to special features based on user role (admin or regular).
3.Better Security: No need to hardcode admin users in frontend code — keeps the admin access logic safely on the server side.
4. Reduced Risk: Reduces chances of unauthorized actions by mistake.

Why It Makes Tasks Easier/Safer

1.No more manually checking users inside the database.
2.No hardcoding admin emails or IDs inside frontend apps.
3.Simple .env management of admin access — easy to update anytime.
4.Keeps the backend and critical operations protected.

Challenges we ran into

🛠️ Challenges We Ran Into

  1. Secure Admin Identification
    Initially, we struggled to find a secure way to differentiate normal users from admin users without exposing sensitive data on the frontend.

  2. Dynamic Content Updating
    Building a system to dynamically update articles, daily market values, and financial news in real-time was tricky, especially due to API limits and response times.
    How we solved it:
    We used a combination of scheduled server jobs (cron jobs) and lightweight API fetching methods to pull and cache fresh data daily without overloading the server.

  3. Wallet Transactions and Chatbot Integration
    Making the chatbot smart enough to handle wallet balance queries and initiate Stellar blockchain transactions was technically challenging, especially syncing UI updates and confirming transaction finality.
    How we solved it:
    We tightly integrated the Stellar SDK on the backend and implemented smart parsing on the chatbot so it can understand natural commands like "Send 5 XLM to address...". After every transaction, we updated wallet balances in real-time.

  4. Mobile Responsiveness and UI Breakages
    On mobile devices, certain sections like Transaction History overflowed or broke layouts.
    How we solved it:
    We redesigned those sections using flexible grids, scrollable containers, and improved CSS responsiveness to ensure a consistent user experience acro

Tracks Applied (2)

Groq track

Our project fits into the Groq Track by utilizing Groq's ultra-low latency capabilities to enhance the responsiveness an...Read More
Groq

Groq

Stellar Track

Our project fits into the Stellar Track because it leverages Stellar blockchain's fast, low-cost, and reliable transacti...Read More
Stellar

Stellar

Discussion

Builders also viewed

See more projects on Devfolio