https://github.com/aerth/fourbite
4byte utilities
https://github.com/aerth/fourbite
4byte 4bytes aquachain ethereum
Last synced: about 1 month ago
JSON representation
4byte utilities
- Host: GitHub
- URL: https://github.com/aerth/fourbite
- Owner: aerth
- License: mit
- Created: 2022-10-15T21:26:14.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-04-15T21:24:23.000Z (about 1 year ago)
- Last Synced: 2025-07-06T11:39:38.875Z (11 months ago)
- Topics: 4byte, 4bytes, aquachain, ethereum
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
4byte utilities
## 4server: http api server
serves from db created with 4index
eg:
`curl http://localhost:8081/4byte/06fdde03,23b872dd,313ce567`
```json
["name()","transferFrom(address,address,uint256)","decimals()"]
```
`curl http://localhost:8081/4byte/313ce567`
```json
["decimals()"]
```
## 4byte: cli tool
uses db created with 4index
## 4index: create optimized db
uses [4bytes](https://github.com/ethereum-lists/4bytes/tree/master/signatures) repo to create a 100MB db file
this db is used (readonly) by `4byte` and `4server` to quickly lookup function signatures
new: we now read from the zip file directly (much faster)