https://github.com/kelcheone/string2bytes
cli tool from parsing string to bytes32
https://github.com/kelcheone/string2bytes
cli ethereum parse parser
Last synced: 4 months ago
JSON representation
cli tool from parsing string to bytes32
- Host: GitHub
- URL: https://github.com/kelcheone/string2bytes
- Owner: kelcheone
- Created: 2022-04-16T09:29:50.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-17T10:35:57.000Z (over 2 years ago)
- Last Synced: 2025-03-24T01:36:19.054Z (4 months ago)
- Topics: cli, ethereum, parse, parser
- Language: JavaScript
- Homepage:
- Size: 5.87 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### String2Bytes
A Command line tool to parse strings to bytes and vice versa.
Initialize with:
```
$ npm i -g string2bytes
```# You can parse string to bytes32:
```
npx parseString
```# You can bytes32 to string:
```
$ npx parseBytes
```You can use it in your code:
```
import { string2bytes32 } from 'string2bytes32'
```