The OpenAttestation CLI is a binary that allows you to interact with an OpenAttestation document directly. It can also be used to interact with different types of smart contracts on the Ethereum network.
To install the binary, simply download the binary from the CLI release page for your OS.
We are aware that the size of the binaries must be reduced and we have tracked the issue in Github. We hope to find a solution in a near future and any help is welcomed.
Alternatively for Linux or MacOS users, if you have
npm installed on your machine, you may install the cli using the following command:
npm install -g @govtechsg/open-attestation-cli
Installation using this method will install the CLI globally on your machine and you may run the binary by running:
For usage instructions, refer to the CLI README or run the CLI with the help flag:
In all the guides, we will refer to the CLI as
open-attestationwhen running a command. That means we will assume the CLI is available in your execution path. If it's not the case, you will to change
open-attestationby the full path to the executable.