Back to work / Philcoin

Case 02 · App-to-chain integration

Phil app · Rewards

Social activity and referrals in PhilSocial lead to PHL rewards and support for causes.

PhilSocial combines social engagement, referrals and support for causes. Earned rewards are paid in PHL on Polygon. I own the claim integration across the app, backend and contracts, including upgrades, transaction retries and payment confirmation.

Result

Shipped the RewardsLibrary V2.1 upgrade to Polygon and strengthened the claim pipeline with deduplication and a confirmer that reconciles finalized contract events with application records.

01

Claim pipeline

Owned the integration from the app request through the API and rewards server to the contract.

02

Contract delivery

Implemented and deployed the V2.1 rewards upgrade, including a usable rollback target.

03

Production operations

Fixed gas and retry behavior, hardened duplicate prevention and added event-based claim confirmation.

How it worksSimplified walkthrough. No live transactions.

A claim is complete when the chain confirms it

Phil mobile app + API

A member requests a claim. The application checks the reward and records the request before it reaches the transaction service.

App → API → claim recordThe member action has an application identity.
Example state, not live data
Claim
Requested
Chain evidence
Not submitted
App record
Pending

Reconcile from events

Use finalized chain evidence to close the payment loop instead of relying on the lifetime of an HTTP request.

Prepare a rollback that can execute

The proxy could not re-register its original implementation. I deployed a fresh instance of the previous logic to make rollback operationally possible.

Product contextWhat PhilSocial does

Official explanation of the social app, rewards and giving. My scope here is the blockchain integration.

Upgrade transactionProxy implementation update

Transaction activating the new rewards implementation.

Deployment transactionRewards V2.1 deployment

May 2026 deployment of the implementation contract.

Product context from PhilSocial. Implementation scope follows the rewards integration records; the May 2026 proxy-update transaction is linked above.

Built with

App users, private service endpoints and confidential incident details are excluded.

Email meNext case: Ambassador Program