meile-gui icon indicating copy to clipboard operation
meile-gui copied to clipboard

Feature Request: Support Bluefrens (Stargaze) NFTs to Unlock Perks and Discounts

Open Bitveil opened this issue 6 months ago • 1 comments

1 | Summary Add native support in Meile GUI for detecting ownership of a Bluefrens NFT (CW-721 collection on the Stargaze chain) in the user’s built-in Stargaze wallet. When a qualifying NFT is present, the client should automatically apply a predefined discount to Meile subscription plans.

Bluefrens Collection: stars1vmv730z05d9qrlzaefa0tpfysngns8mn9sa7l2lvxehjcgagkemqrkvtfc Stargaze marketplace

2 | Motivation

  • Reward early supporters: Bluefrens holders are active in the Cosmos ecosystem and overlap with Meile’s target audience.
  • Boost adoption: Discounted plans incentivise NFT collectors to trial - and keep using - Meile dVPN.
  • Marketing potential: Leveragin Bluefrens community + Trait-based perks (“Meile” trait holders get an extra bonus) create buzz and collectible appeal.

4 | Feature details

  • Wallet import / deposit: Permit users to send their Bluefrens NFT to the Stargaze address generated by Meile’s wallet module.
  • Ownership check: On launch and on demand, query the wallet for any token in the Bluefrens contract.
  • Discount mapping: If ≥ 1 Bluefrens held, unlock Discount A (e.g. -30 %) on all subscription tiers.
  • Trait segmentation: Parse NFT metadata JSON; if any attribute.trait_type or name contains the string “Meile”, unlock Bonus B (e.g. extra data allowance or larger discount).
  • Extensibility: Keep the contract address and discount parameters in a config file / env vars so future collections can be added without code changes.

5 | Suggested implementation

  • Helper service (optional) – Cache NFT→ discount mapping to avoid repeated RPC calls.
  • UI hooks: Display an NFT badge in the sidebar and/or wallet screen once detected, and show the discounted price in the subscription dialog.
  • Billing logic: When generating the payment request, apply the appropriate discount code or price override.

Bitveil avatar Aug 01 '25 00:08 Bitveil

We will need the stargaze-protobuf for python. Maybe @Nast0r can provide that for us?

MathNodes avatar Aug 01 '25 04:08 MathNodes