Skip to content

Clarify demo vs prod and document config#1

Merged
pappas999 merged 2 commits intomainfrom
feedback-0
Feb 15, 2026
Merged

Clarify demo vs prod and document config#1
pappas999 merged 2 commits intomainfrom
feedback-0

Conversation

@Nalon
Copy link
Contributor

@Nalon Nalon commented Feb 14, 2026

Workflow (main.ts)

  • Demo vs prod: Comment that in production the workflow only needs bytesToBase64 to serialize the encrypted response; base64ToBytes and hex logging are demo-only and would live in the consuming app. Add explicit "DEMO ONLY" comment before that plumbing.
  • bytesToHex: Import bytesToHex from @chainlink/cre-sdk and use .slice(2) when logging hex for CipherTools (SDK output is 0x-prefixed).

README

  • Explain that "owner": "" in config is intentional for local simulation (no real Vault DON); in production, owner is set for vault secret access.

**Workflow (main.ts)**
- **Demo vs prod:** Comment that in production the workflow only needs `bytesToBase64` to serialize the encrypted response; `base64ToBytes` and hex logging are demo-only and would live in the consuming app. Add explicit "DEMO ONLY" comment before that plumbing.
- **bytesToHex:** Import `bytesToHex` from `@chainlink/cre-sdk` and use `.slice(2)` when logging hex for CipherTools (SDK output is 0x-prefixed).

**README**
- Explain that `"owner": ""` in config is intentional for local simulation (no real Vault DON); in production, owner is set for vault secret access.
@github-actions
Copy link

github-actions bot commented Feb 14, 2026

Thank you for adding a CODEOWNERS file - @Nalon.

@zeuslawyer zeuslawyer requested a review from pappas999 February 14, 2026 02:15
@pappas999 pappas999 merged commit 2e6c7fa into main Feb 15, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments