ronnyhaase / solfees.fyi

Check how much you've spent on Solana transaction fees across all your wallets & compare with other blockchains.

Home Page:https://solfees.fyi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check how much you've spent on Solana transaction fees across all your wallets & compare with other blockchains. 2-wide

Contributing

Ideas & Issues

New ideas on how to make SOLfees.fyi better are highly welcome!

If you face any problems, let me know!

Don't hesitate to create an issue or ping me on X / Twitter!

Development

Following services are used to fetch the data:

  • Helius for transaction history
  • Birdeye for token prices
  • QuickNode GraphQL for gas prices
  • Dune for gas usage / Tx
  • Vercel KV to cache gas data

I. Install dependencies

npm install

II. Create an .env.local file in the project route and add the sercrets of the services

BIRDEYE_KEY=12345
DUNE_KEY=12345
HELIUS_KEY=12345
KV_URL=redis://...
KV_REST_API_URL=https://...
KV_REST_API_TOKEN=12345
KV_REST_API_READ_ONLY_TOKEN=12345
QUICKNODE_KEY=12345

III. Run the development server

npm run dev

IV. Call the hooks locally to cache initial data

curl -X POST http://localhost:3000/hooks/update-gas-fees
curl -X POST http://localhost:3000/hooks/update-gas-usage

Copyright © 2023 - 2024, Ronny Haase

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

About

Check how much you've spent on Solana transaction fees across all your wallets & compare with other blockchains.

https://solfees.fyi

License:GNU General Public License v3.0


Languages

Language:TypeScript 82.6%Language:CSS 10.7%Language:JavaScript 6.8%