-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Description
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.
MathNodes