From 63f102643becd1375c1a5409e9284201eb9f932f Mon Sep 17 00:00:00 2001 From: Sergio Chouhy Date: Fri, 12 Dec 2025 14:30:36 -0300 Subject: [PATCH] add instructions to get the hello world program id in hex --- .../methods/guest/src/bin/simple_tail_call.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/program_deployment/methods/guest/src/bin/simple_tail_call.rs b/examples/program_deployment/methods/guest/src/bin/simple_tail_call.rs index 5d8e221..d2bb58c 100644 --- a/examples/program_deployment/methods/guest/src/bin/simple_tail_call.rs +++ b/examples/program_deployment/methods/guest/src/bin/simple_tail_call.rs @@ -10,6 +10,10 @@ use nssa_core::program::{ // to the Hello World program with a fixed greeting. +/// This needs to be set to the ID of the Hello world program. +/// To get the ID run **from the root directoy of the repository**: +/// `cargo risczero build --manifest-path examples/program_deployment/methods/guest/Cargo.toml` +/// This compiles the programs and outputs the IDs in hex that can be used to copy here. const HELLO_WORLD_PROGRAM_ID_HEX: &str = "7e99d6e2d158f4dea59597011da5d1c2eef17beed6667657f515b387035b935a";