nim-eth/eth/rlp/bin/rlp_inspect.nim

8 lines
151 B
Nim
Raw Normal View History

2019-02-05 12:01:10 +00:00
import os, ../../rlp
if paramCount() > 0:
echo rlpFromHex(paramStr(1)).inspect
else:
echo "Please provide an hex-encoded RLP string as an input"