Client project · Ref. CW-04

Fortune Twist

From Mauritian rupees to physical gold.

Platforms

iOS · Android

  • Fortune Twist digital vault with an example balance, gold holdings and price history.
    Digital vault
  • Fortune Twist wallet with an example rupee balance, a top-up awaiting verification and recent transactions.
    Rupee wallet
  • Fortune Twist savings plan with an example two-gram recurring purchase and its scheduling controls.
    Savings plan
Fortune Twist app screens captured with demonstration data.

The app needed to make physical ownership clear at every step. Fortune Twist brings the wallet, purchase history, bar records and custody choices together, so savers can follow what happens from the first transfer to the gold held in their name.

StyloTech’s role

StyloTech built the iOS and Android app and its supporting backend, connecting account verification, wallet funding, gold purchases, savings plans and vault records in one bilingual experience.

Product sitefortunetwist.mu
Project type
  • Mobile app
  • Finance
Platforms
  • iOS
  • Android
Built with
Application
  • Flutter
  • Dart
  • BLoC
  • Google ML Kit
Backend
  • Supabase
  • PostgreSQL
  • Row Level Security
  • Postgres RPC
Infrastructure
  • Supabase Storage
  • pg_cron
  • Firebase Cloud Messaging
What StyloTech delivered
  • UI/UX design
  • Design system
  • Mobile development
  • Backend development
  • Database design
  • Integrations

What it does

Each part was built for a real job on the day, not for a feature list. The product’s own site walks through them in full.

01

Identity verification

Customers capture an identity document and complete a liveness check in the app before staff review the submission.

02

Wallet in Mauritian rupees

Customers submit a payment reference and can attach proof of transfer. The app shows when a top-up is awaiting review.

03

Gold purchases

A customer can choose a bar, review the purchase price and select how to receive or store it.

04

Recurring savings plans

Customers choose a weight and frequency. The app shows the next scheduled purchase and provides controls to pause or cancel the plan.

05

Digital vault

The vault shows gold holdings by weight and gives customers a record of the physical bars allocated to them.

06

Custody and release

Customers can hold gold in the vault or request collection or delivery through the app.

07

Invoices and certificates

The app keeps purchase documents and certificates of authenticity accessible alongside the customer’s gold records.

08

English and French

The app supports both languages across account setup, the wallet and the vault.

How a savings plan buys gold

Follow one scheduled purchase from the plan on the phone to the wallet, vault and invoice.

The sequence follows the app’s subscription flow and its PostgreSQL migrations.

  1. 01

    Set the purchase schedule

    The customer chooses the gold weight and frequency. The plan records when the next purchase is due.

    • subscriptions
    • weight_grams
    • next_debit_at
  2. 02

    Calculate the cost for the cycle

    The database picks up the plan when it is due and calculates the purchase cost from the applicable gold rate, product pricing and VAT.

    • _run_due_subscriptions
    • bom_rate
    • product_price_ex_vat
  3. 03

    Check the wallet balance

    The purchase routine locks the wallet row while checking the available balance and debiting the total.

    • wallets
    • balance_mur
    • FOR UPDATE
    What if the balance is too low?

    If funds are insufficient, the cycle passes without a debit. The app notifies the customer and the plan moves on to its next date.

  4. 04

    Allocate gold and record the purchase

    A completed purchase creates wallet entries, allocates the gold to the customer and records an invoice linked to the purchase.

    • wallet_transactions
    • _allocate_gold
    • invoices

Engineering detail

Taken from the project source, not from marketing material.

Mobile
A Flutter codebase for iOS and Android, with BLoC and Cubit managing app state.
Account access
Supabase Auth and PostgreSQL row-level security scope customer records to their account.
Payment evidence
Transfer proof is stored in a private Supabase Storage bucket with access scoped to the owner and authorized staff.
Plan execution
PostgreSQL handles due purchases, wallet debits, gold allocation and invoice records.
Fortune Twist — Client project — StyloTech