Blockhead is an open-source portfolio tracker and explorer interface for EVM chains and web3 protocols, with a focus on transparency and flexibility. Users can choose which data providers power various features of the interface at any time.
For the QuickNode Build On hackathon, I integrated Blockhead with several data providers from QuickNode's extensive library of add-on integrations to display coin prices, transaction traces, event logs and more.
This project involved lots of work related to manually writing functions for API endpoints based on docs, generating API clients via CLI based on OpenAPI specifications, and normalizing data within TypeScript in order to support multiple data providers and allow them to be swapped interchangeably and seamlessly at the interface level.
In some cases I had to come up with creative heuristics to ensure the price for the correct coin was queried, as some APIs have custom coin IDs or don't keep mappings for ERC-20 contract addresses.
Tracks Applied (12)
Odos
Odos
Odos
Noves
Blockscout
Covalent
Coinpaprika
Coinpaprika
Coinpaprika
CoinAPI
Discussion