Type Alias NodeCredentialMaterial

NodeCredentialMaterial: {
    nodeId: string;
    passwHash: string;
    phrase: string;
}

Result of bootstrapping or reconstructing a node credential.

  • phrase is the human-readable 10-word passphrase. It is intended to be shown to a user once and stored locally (e.g. in ~/.agent-play/credentials.json or browser storage).
  • passwHash is the SHA-256 hex of the normalized phrase. This is the value the SDK and CLI send as the x-node-passw header and as passwHash in node-creation request bodies.
  • nodeId is the scrypt-derived public id under the given rootKey.