LuozhuZhang / swiss-knife

All your EVM tools in one place!

Home Page:https://swiss-knife.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swiss Knife Logo

All your EVM tools in one place: https://swiss-knife.xyz/

List of Tools

  1. Explorer: Quickly view any address/ens or transaction across a variety explorers, in just a click!
  2. Calldata: Decode any calldata, and view the parameters in a human-readable format, even without having the contract ABI.
  3. Transact: Send custom bytes calldata to transact with any contract, or leave the address blank to deploy a new contract.
  4. Converter: All the essential unit converters on one-page. Convert between:
    1. Ether, wei & gwei
    2. Hexadecimal, decimal & binary
    3. String or hex to keccack256 hash & 4 bytes selector
    4. Hex to 32 bytes left-padded & right-padded values
  5. Constants: Have frequently used constants at your fingertips, like Zero Address, Max Uint256, etc.
  6. Epoch-Converter: Grab unix timestamp, get timestamp x minutes/hours/days in the future, or convert timestamp to human-readable format.
  7. Storage-Slots: Query EIP-1967 slots or custom storage slot value of any contract.
  8. Uniswap: Calculator to convert UniswapV3 tick to price for any token pair addresses.

Setup

  1. This repository is a Nextjs 14 project. To run it locally, clone the repo and run the following commands:
    pnpm i
  2. Copy .env.example to .env.local and fill in the required values.
  3. Run the dev server:
    pnpm dev
    Visit http://localhost:3000 to view the app.

Contributing

To add a new Explorer

  1. For an address explorer, modify ./data/addressExplorers.ts
  2. For a transaction explorer, modify ./data/txExplorers.ts

About

All your EVM tools in one place!

https://swiss-knife.xyz


Languages

Language:TypeScript 98.9%Language:JavaScript 0.8%Language:CSS 0.3%