Home

Awesome

<img alt="Swiss Knife Logo" src=".github/logo.png" />

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.
  9. Character Counter: Count the length of the input string. Also allows to select on the input text to only get the character count for the selection.
  10. Contract Address: Determine the contract address which will get deployed by an address at a particular nonce

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 .example.env.local 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