How to unpackage (or unpack, unzip, extract) a chaincode?

Siddharth Jain

Anyone knows how do we unpackage a chaincode? tar -xvf does not work.

$ tar -xvf mycc.1.0
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.

in above mycc.1.0 is what got installed on the peer when we ran peer chaincode install.

$ ls -al mycc.1.0
-rw-r--r--  1 siddjain  staff  35163 Feb 12 14:19 mycc.1.0

Join to automatically receive all group messages.