For the complete documentation index, see llms.txt. This page is also available as Markdown.

Build and Install

Launch Script Ledger node

(A) This should build the binaries and copy them into your $GOPATH/bin. Two binaries script and scriptcli are generated. script can be regarded as the launcher of the Script Ledger node, and scriptcli is a wallet with command line tools to interact with the ledger.

$ export GO111MODULE=on

$ make install

*Notes for Linux binary compilation

The build and install process on Linux is similar, but note that Ubuntu 18.04.4 LTS / Centos 8 or higher version is required for the compilation.

*Notes for Windows binary compilation

The Windows binary can be cross-compiled from macOS. To cross-compile a Windows binary, first make sure mingw64 is installed (brew install mingw-w64) on your macOS.

Then you can cross-compile the Windows binary with the following command:

$ make exe

You'll also need to place three .dll files libgcc_s_seh-1.dll, libstdc++-6.dll, libwinpthread-1.dll under the same folder as script.exe and scriptcli.exe.

Last updated