EscrowFlow
Decentralized Influencer Marketing
The problem EscrowFlow solves
Influencer marketing today faces major trust issues:
- Payments are manual and often delayed
- Campaign rules are centrally controlled
- Engagement metrics — views, likes, and comments — are not transparent
- Disputes between brands and influencers are common
As a result, both brands and influencers lose trust, time, and money.
EscrowFlow solves this problem using blockchain escrow logic.
Our platform:
- Locks campaign funds inside smart contracts
- Uses social identity + wallet verification
- Verifies engagement through a backend service
- Automatically releases payments using smart contracts
Once a campaign is deployed, rules and payouts cannot be manipulated.
Challenges we ran into
While implementing the payout mechanism in InfluencerContract.sol, a major hurdle was gas cost scalability, because in the initial payout() model the backend verifier had to send a separate on-chain transaction for every influencer.
This meant that for a campaign with 1,000 influencers, the platform owner would pay gas for 1,000 transactions, making the system expensive and creating a single point of failure if the backend ran out of ETH.
To overcome this, the team introduced a Pull Payment (“Lazy Claim”) mechanism using the claimReward() function.
Instead of paying on-chain, the backend now calculates engagement off-chain (views and likes) and signs a cryptographic message sign(influencerAddress, views, likes) using its private key, which costs zero gas.
The influencer receives this signature and personally calls claimReward() on the smart contract.
Inside the contract, ecrecover is used to verify that the signature was created by the trusted backend verifier.
Once verified, the contract safely releases the funds to the influencer.
This approach shifts gas costs to the reward receiver, removes backend dependency for payments, and allows the platform to scale to millions of influencers without spending ETH on payouts.