https://github.com/andreiregiani/prettyrlp
CLI utility to pretty print RLP encoded data.
https://github.com/andreiregiani/prettyrlp
Last synced: 2 months ago
JSON representation
CLI utility to pretty print RLP encoded data.
- Host: GitHub
- URL: https://github.com/andreiregiani/prettyrlp
- Owner: AndreiRegiani
- License: mit
- Created: 2023-07-14T21:46:58.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-14T21:50:22.000Z (almost 2 years ago)
- Last Synced: 2025-03-12T05:03:56.617Z (3 months ago)
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# prettyrlp
CLI utility to pretty print RLP encoded data.
## Usage
`prettyrlp cc86616e6472656984616c6578`
```bash
List {
String andrei
String alex
}
```## Building
```bash
make build
```## Testing
```bash
make test
```## References
* RLP specs: https://ethereum.org/en/developers/docs/data-structures-and-encoding/rlp/
* RLP encoder utility: https://github.com/SamuelHaidu/simple-rlp
```python
>>> rlp.encode(["andrei", "alex"]).hex()
'cc86616e6472656984616c6578'
```