A multichain DeFi dashboard to manage tokens, NFTs, swaps, gas, using only 1inch APIs.
Pebble is a simple DeFi dashboard that shows all your wallet info in one place. It helps users avoid switching between many websites to check their token balances, NFTs, gas fees, prices, or past transactions. Instead of searching across different tools and chains, Pebble brings everything together: tokens, NFTs, gas, prices, swaps, and more in one clean and easy-to-use app. It uses only 1inch APIs and supports multiple chains : Ethereum, Gnosis, Polygon, Arbitrum, Base, and Avalanche.
I built the project using React and Vite for the frontend, and Tailwind CSS for styling. For the backend, I used a simple server.js file written in JavaScript.
All the data comes from the APIs provided by 1inch, which helped me get token balances, swaps, and other info easily.
One interesting hack I used was about getting token prices. At first, I thought I needed to use the CoinGecko API because the prices were shown in wei. But then I realized I could find a token’s value by comparing it to USDC using just the 1inch APIs. This way, I avoided using the CoinGecko API completely and kept everything working with only 1inch APIs.