Register a file with the Trust Engine Core APIThe register command allows you to register a file with the Trust Engine Core API for blockchain verification and provenance tracking. Files are hashed, stored on IPFS, and recorded on the Solana blockchain. To use it, run the following command from your terminal
Option | Description |
---|---|
-f, --file <path> | Path to the file to register |
-t, --contentTitle <title> | Title for the content being registered |
-w, --walletAddress <address> | User wallet address (Solana public key) |
-y, --walletType <type> | Wallet type: ‘self’ or ‘managed’ |
-r, --returnActionLink | Return an action link for transaction signing (self wallets only) |
-m, --metadata <text> | Public metadata as a string (optional) |
--json | Output the result as JSON |
--returnActionLink
flag to get a secure web page for signing:
--returnActionLink
flag, you’ll get the raw transaction: