Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
Package cmd wires up the cobra command tree for the Truestamp CLI.
|
Package cmd wires up the cobra command tree for the Truestamp CLI. |
|
truestamp
command
|
|
|
internal
|
|
|
beacons
Package beacons is a thin client for the Truestamp Beacons JSON:API surface (GET /api/json/beacons, /beacons/latest, /beacons/:id, /beacons/by-hash/:hash).
|
Package beacons is a thin client for the Truestamp Beacons JSON:API surface (GET /api/json/beacons, /beacons/latest, /beacons/:id, /beacons/by-hash/:hash). |
|
bitcoin
Package bitcoin provides BIP 37 partial merkle tree verification and thin wrappers around btcsuite/btcd for transaction and txoutproof parsing.
|
Package bitcoin provides BIP 37 partial merkle tree verification and thin wrappers around btcsuite/btcd for transaction and txoutproof parsing. |
|
config
Package config resolves the CLI's runtime configuration from compiled defaults, an optional TOML config file, environment variables, and command-line flags β in that order, with later sources overriding earlier ones.
|
Package config resolves the CLI's runtime configuration from compiled defaults, an optional TOML config file, environment variables, and command-line flags β in that order, with later sources overriding earlier ones. |
|
encoding
Package encoding is a small translation layer over the stdlib encoders used across the Truestamp wire format: hex, base64 (standard, RFC 4648 Β§4) and base64url (RFC 4648 Β§5).
|
Package encoding is a small translation layer over the stdlib encoders used across the Truestamp wire format: hex, base64 (standard, RFC 4648 Β§4) and base64url (RFC 4648 Β§5). |
|
external
Package external fetches supplementary data from public blockchains (Stellar Horizon, Bitcoin block explorers) to corroborate proofs against real-world public records.
|
Package external fetches supplementary data from public blockchains (Stellar Horizon, Bitcoin block explorers) to corroborate proofs against real-world public records. |
|
hashing
Package hashing exposes the full set of cryptographic hash algorithms the Truestamp backend accepts for a claim's `hash_type` field.
|
Package hashing exposes the full set of cryptographic hash algorithms the Truestamp backend accepts for a claim's `hash_type` field. |
|
httpclient
Package httpclient provides a shared HTTP client for all external API calls.
|
Package httpclient provides a shared HTTP client for all external API calls. |
|
inputsrc
Package inputsrc resolves a CLI input to a byte slice (or a stream) from one of six conventional sources: a positional argument, an explicit file path, an interactive file picker, an explicit URL, an interactive URL prompt, or a stdin pipe.
|
Package inputsrc resolves a CLI input to a byte slice (or a stream) from one of six conventional sources: a positional argument, an explicit file path, an interactive file picker, an explicit URL, an interactive URL prompt, or a stdin pipe. |
|
install
Package install detects how the running truestamp binary was installed.
|
Package install detects how the running truestamp binary was installed. |
|
items
Package items provides API operations for Truestamp items.
|
Package items provides API operations for Truestamp items. |
|
proof
Package proof parses, downloads, and generates Truestamp proof bundles in both JSON and CBOR wire formats.
|
Package proof parses, downloads, and generates Truestamp proof bundles in both JSON and CBOR wire formats. |
|
proof/ptype
Package ptype holds the frozen registry of proof type integer codes used by Truestamp proof bundles.
|
Package ptype holds the frozen registry of proof type integer codes used by Truestamp proof bundles. |
|
selfupgrade
Package selfupgrade implements the in-place upgrade flow for users who installed truestamp via docs/install.sh or manual tarball extraction.
|
Package selfupgrade implements the in-place upgrade flow for users who installed truestamp via docs/install.sh or manual tarball extraction. |
|
tscrypto
Package tscrypto implements the Truestamp-specific cryptographic primitives used by proofs: SHA-256 with one-byte domain-separation prefixes (see docs/CRYPTOGRAPHY.md in truestamp-v2 for the prefix registry) and Ed25519 signature verification.
|
Package tscrypto implements the Truestamp-specific cryptographic primitives used by proofs: SHA-256 with one-byte domain-separation prefixes (see docs/CRYPTOGRAPHY.md in truestamp-v2 for the prefix registry) and Ed25519 signature verification. |
|
ui
Package ui provides shared styling for the Truestamp CLI using lipgloss v2.
|
Package ui provides shared styling for the Truestamp CLI using lipgloss v2. |
|
upgradecheck
Package upgradecheck handles passive "new version available" notices emitted after unrelated commands succeed.
|
Package upgradecheck handles passive "new version available" notices emitted after unrelated commands succeed. |
|
verify
Package verify runs the end-to-end cryptographic verification pipeline against a parsed proof bundle: signing-key lookup against the public keyring, Ed25519 signature check, Merkle-inclusion proof, block hash chain, and optional public-blockchain commitments (Stellar, Bitcoin).
|
Package verify runs the end-to-end cryptographic verification pipeline against a parsed proof bundle: signing-key lookup against the public keyring, Ed25519 signature check, Merkle-inclusion proof, block hash chain, and optional public-blockchain commitments (Stellar, Bitcoin). |
|
version
Package version provides build-time version information.
|
Package version provides build-time version information. |
Click to show internal directories.
Click to hide internal directories.