Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 380 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 380 Bytes

XDR Decoder

Used to convert XDR contract_id into hash and vice versa.

Usage

Build binary

cargo build --release

Copy the binary into your $PATH

cp ./target/release/xdr_decoder /usr/local/bin/

Convert contract id

xdr_decoder hash-xdr <contract_id hash> -> contract_id XDR
xdr_decoder xdr-hash <contract_id XDR> -> contract_id hash