uts-cli-0.1.0-alpha.0 is not a library.
UTS Cli Tool
Quick Start
1. Create a Timestamp (stamp)
Submit files to remote calendar servers for initial attestation:
# Timestamp one or more files
# Specify custom calendars and a quorum requirement
# Use a specific hashing algorithm
This will create a corresponding .ots proof file (e.g., document.pdf.ots).
2. Upgrade a Proof (upgrade)
Initial proofs are often "pending." Once the calendar server commits the Merkle root to a blockchain, you must upgrade the proof to include the full path to the block:
3. Verify a Proof (verify)
Verify that a file matches its timestamp proof and check the attestation status on the calendar or blockchain:
# Automatically finds the matching .ots file
# Specify an Ethereum RPC provider for on-chain verification
4. Inspect a Proof (inspect)
View the internal structure, opcodes, and attestation paths of an .ots file in a human-readable format:
Command Reference
stamp
| Argument | Description | Default |
|---|---|---|
-c, --calendar |
Remote calendar URL (can be specified multiple times) | Built-in list |
-m |
Minimum quorum of calendars required | 1 |
-H, --hasher |
Hashing algorithm (keccak256, sha256, sha1, ripemd160) |
keccak256 |
--timeout |
Timeout in seconds for calendar responses | 5 |
verify
| Argument | Description |
|---|---|
file |
The target file to verify |
stamp_file |
(Optional) Explicit path to the .ots file |
--eth-provider |
(Optional) Ethereum RPC URL for UTS contract verification |