Skip to content

Michelson-Mate v1.0

Latest
Compare
Choose a tag to compare
@haochenx haochenx released this 10 Jun 04:11
dec173b

now featuring the following sub-commands (as well as some commands "stolen" from tezos-client):

(where mm = michelson-mate)

  • mm reformat
  • mm pack
  • mm unpack
  • mm typecheck script

pre-built binaries for macOS (Mach-O 64-bit executable x86_64) and Linux x86-64 (ELF 64-bit LSB pie executable, x86-64) are provided. if you use another system, please build yourself.

dependencies:

$ otool -L michelson-mate.macho64
michelson-mate:
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.100.1)
	/usr/local/opt/hidapi/lib/libhidapi.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/local/opt/libev/lib/libev.4.dylib (compatibility version 5.0.0, current version 5.0.0)
	/usr/local/opt/gmp/lib/libgmp.10.dylib (compatibility version 15.0.0, current version 15.0.0)
	/usr/local/opt/libffi/lib/libffi.6.dylib (compatibility version 7.0.0, current version 7.4.0)
$ ldd michelson-mate.elf-amd64
        linux-vdso.so.1 (0x00007ffce0876000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6e710d1000)
        libhidapi-libusb.so.0 => /lib/x86_64-linux-gnu/libhidapi-libusb.so.0 (0x00007f6e710c7000)
        libev.so.4 => /lib/x86_64-linux-gnu/libev.so.4 (0x00007f6e710b4000)
        libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f6e71030000)
        libffi.so.7 => /lib/x86_64-linux-gnu/libffi.so.7 (0x00007f6e71024000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6e70ed5000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f6e70ecd000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6e70cdb000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f6e722d6000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f6e70cd0000)
        libusb-1.0.so.0 => /lib/x86_64-linux-gnu/libusb-1.0.so.0 (0x00007f6e70cb4000)
        libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f6e70c88000)

on macOS, the dependencies could be install with brew install libev gmp hidapi libffi

on Linux, that depends on your distribution