/ipfs-timer

Farcaster Frame for measuring IPFS gateway latency

Primary LanguageTypeScript

ipfs timer

Overview

A simple Farcaster Frame server, and a collection of routes, for timing various IPFS gateways. Built with Next.js "appdir".

In action

See it in action on warpcast: https://warpcast.com/3070/0x07bf940d

Technologies

  • IPFS: A protocol for creating content-addressed data
    • usage: Querying an IPFS gateway to measure its response time
    • see /ipfs/ipfs-enums.ts for IPFS gateways used

  • viem: A TypeScript abstraction for interacting with the Ethereum blockchain
    • usage: Reading uri of token contract
  • Blockscout: Plug and play "blockchain explorer as a service"
    • usage: Calling the /tokens/<contract_address>/transfers endpoint to retrieve latest transfers of <contract_address>
  • Farcaster: A sufficiently decentralized follow graph protocol
    • usage: Adhering to the specification of Farcaster Frames to return valid Farcaster Frames for an interactive mini-app experience of ipfs timer on Warpcast

Contributors