Fintracts Validator
Fintracts Validator semantically validates any JSON contract according to the specification.
Run Directly
First, install the necessary dependencies:
go mod download
Then, build the executable:
make build
An executable can be found on ./validator
.
Usage
./validator < ./path/to/contract.json
Run ./validator --help
for more information.
Docker
To build the Docker image:
make docker
You can now run the validator inside the docker image:
docker run -i validator [commands and arguments]
Usage example:
docker run -i validator < ./path/to/contract.json
License
MIT © Henrique Dias