Decentralized Travel Agent
Taking on Agent Gatekeepers with CDP and Pinata
Created on 25th June 2025
•
Decentralized Travel Agent
Taking on Agent Gatekeepers with CDP and Pinata
The problem Decentralized Travel Agent solves
I initially was building a chief of staff but when I hit the Expedia and Booking APIs to help with planning travel they were gated, needing me to sign into Instagram/Facebook or be a verified travel agent.
In a decentralized world we hate centralized gatekeepers almost as much as needing to lose our privacy. I built a decentralized, anonymous referral agent that enables anyone to recommend travel plans, earn automated crypto referral fees, and post referral records to decentralized storage—all without centralized gatekeepers.
Key Features:
-
Decentralized Referral Payments:
The agent automatically splits x402 payments between the service provider and the referring wallet using Coinbase’s CDP wallet infrastructure. -
Anonymous and Trustless:
No user registration, social verification, or centralized validation is required. Anyone can earn by sharing referral links. -
Immutable Record Keeping:
Each referral is autonomously posted to IPFS via Pinata, creating an immutable, pseudonymous record of the transaction. -
Referral Retrieval Tool:
A Streamlit-based viewer allows users to search IPFS records by wallet address to verify their referral history over time. -
Modular and Composable:
Payment split percentages, supported agent tools, and referral tracking are configurable and easily reusable in other applications.
Challenges I ran into
CDP was extremely challenging. I had a lot of trouble with the cdp_private_key.pem. Mostly understanding that part of the key was code for "new line" (something like /n). Vibe coding tools like cursor wont dig into .env files so there was a blind spot in solving that. Generating API keys within the Coinbase platform is a massive rigamarole. There seems to be numerous paths to do the same thing. That was the biggest time waster for this entire project.
Tracks Applied (2)
Best Use of x402pay + CDPWallet
Best Agentic Use of Pinata
Pinata
Technologies used