Giter Club home page Giter Club logo

swiss-knife's Introduction

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.
  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 .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

swiss-knife's People

Contributors

apoorvlathey avatar kinsyudev avatar anupriyalathey avatar pranavgarg01 avatar dhairyasethi avatar jrfrantz avatar matejos avatar rac-sri avatar lourdrivera123 avatar

Stargazers

Tung Nguyen avatar  avatar DegenData avatar  avatar york avatar Arti Villa avatar 绝对值M avatar Caijiji avatar  avatar Raúl P. Bailón avatar okeyzero avatar  avatar Barabazs avatar Divyesh L avatar  avatar  avatar Shun Kakinoki avatar  avatar J≡r≡ avatar aym avatar techer.eth avatar  avatar Stas avatar s1cs avatar Moonlight avatar mous avatar  avatar Daria avatar Antonio Viggiano avatar  avatar  avatar cryptofelon avatar  avatar  avatar Alex Lévy avatar Dani Martin Jimenez avatar miguelmtz avatar Kell (K42) avatar 8x4 avatar omar avatar Marko avatar codingsh avatar Nick avatar J. Ayo Akinyele avatar Tanishk Goyal avatar maguro avatar BigMike avatar Kian Shahi avatar Timur Badretdinov avatar  avatar Just the Syme avatar brightiron avatar obsidian avatar sagar jethi avatar Johnnie Lucas avatar 0xBuooy avatar HAOYUatHZ avatar  avatar  avatar 3for avatar Luozhu avatar xiaodao avatar Boolean avatar  avatar  avatar Sarvagnya Purohit avatar gmh avatar  avatar  avatar Rohan Kulkarni avatar Kevin Vitale avatar V Andy avatar Masayoshi avatar Dhaiwat avatar Darryl Yeo avatar Michael Demarais avatar  avatar  avatar Kishan Sudani avatar

Watchers

Michael Demarais avatar  avatar 3for avatar codingsh avatar

swiss-knife's Issues

Decoder: FIX incorrect address from path (UniversalRouter)

The first 2 characters are incorrectly getting cut off.

Example calldata:
https://calldata.swiss-knife.xyz/decoder?calldata=0x3593564c000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000006625bf2500000000000000000000000000000000000000000000000000000000000000030b010c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000010837437465d8f0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000dea9196dcdd2173d6e369c2acc0facc83fd9346a0000000000000000000000000000000000000000000000001bc16d674ec800000000000000000000000000000000000000000000000000000010837437465d8f00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002bcbe025be1627ceca927529a95e4319540beb0237000bb882af49447d8a07e3bd95bd0d56f35241523fbab10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000dea9196dcdd2173d6e369c2acc0facc83fd9346a0000000000000000000000000000000000000000000000000000000000000000

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.