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

10 lines
159 B
Nim
Raw Normal View History

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