Key Swap

Key Swap

Enabling Crypto Payments for Web APIs

The problem Key Swap solves

Key Swap is like a game-changer for how we get access to websites and apps. Right now, it's like we have to pay a lot of money and give our credit card info for things we might not even need. But with Key Swap, it's different. You can think of it like a special store where you can trade keys to get into these websites. No need for credit cards or complicated sign-ups. You only pay for what you really need, and it's all done in a safe and private way. Plus, if something goes wrong, like the key stops working early, you don't lose out on your money. Key Swap makes using the internet easier, safer, and more in control for everyone.

Challenges we ran into

  1. Difficulty in incorporating Push notification and chat:
    Multiple attempts to employ Push protocol for the chatting feature between the buyer and the seller rendered fruitless.
  2. Deprecated Documentation
    Working with the ever changing field of blockchain, it was difficult to get the latest documentation and many issues arose because of only deprecated documentation being available.
  3. Incompatibility with NextJS:
    Push protocol as well as XMTP (which we used eventually) were incompatible with NextJS in which we had made a sizable amount of frontend. Once understood, we had to create a React App for the sake of integration with the backend.
  4. Unavailability of Lens credits of Airstack:
    We originally planned to use Airstack API and its AI in our project but due to unavailability of Lens credits for a long time, we had to wait for long hours before we could work on it.
  5. Processing data received from subgraph
    In order to get the data of a single user or a single transaction, we needed to filter the data being generated. That was challenging but we were successful in doing so.

Tracks Applied (6)

Arbitrum Track

We have deployed our smart contracts on Arbitrum Sepolia

Arbitrum

Polygon Track

We have deployed our smart contracts on Polygon Mumbai

Polygon

The Graph Track

We have used subgraphs to retrieve data and display it in tables on the user dashboard

The Graph

Airstack Track

Used Airstack API to check whether the user with whom the chat is being done is on XMTP or not

Airstack

Scroll Track

We have deployed our smart contracts on Scroll Sepolia

Scroll

XMTP Track

We have used XMTP to facilitate chat feature and transfer API keys from seller to buyer

XMTP

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion