Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kendricktan/slot20
Simple tool to find storage slots for ERC20 contracts
https://github.com/kendricktan/slot20
Last synced: 15 days ago
JSON representation
Simple tool to find storage slots for ERC20 contracts
- Host: GitHub
- URL: https://github.com/kendricktan/slot20
- Owner: kendricktan
- License: mit
- Created: 2021-07-03T02:04:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-03T03:33:06.000Z (over 3 years ago)
- Last Synced: 2024-04-14T11:32:53.819Z (7 months ago)
- Language: JavaScript
- Size: 29.3 KB
- Stars: 79
- Watchers: 3
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# slot20
Simple tool to find storage slots for ERC20 contracts. Trys both (key, slot), and (slot, key)![](https://i.imgur.com/MpdgEmw.gif)
# Usage
```bash
Usage: slot20 balanceOf [options]Find the slot that is responsible for the balance state of a ERC20 token
Arguments:
token address Address of the ERC20 token
token holder An address which holds a non-zero amount of the ERC20 tokenOptions:
--rpc Node RPC URL (default: "http://127.0.0.1:8545")
-l, --limit Checks until slot number (default: 100)
-v, --verbose Verbose output
-h, --help display help for command
```