diff --git a/demo/AcmeDemoWorkshop.md b/demo/AcmeDemoWorkshop.md index 5c596f3417..3400fb400e 100644 --- a/demo/AcmeDemoWorkshop.md +++ b/demo/AcmeDemoWorkshop.md @@ -172,16 +172,18 @@ We're going to do option (a), but you can try to implement option (b) as homewor First though we need to register a schema and credential definition. Find this code: ``` python - # TODO: Create schema # acme_schema_name = "employee id schema" # acme_schema_attrs = ["employee_id", "name", "date", "position"] await acme_agent.initialize( the_agent=agent, # schema_name=acme_schema_name, # schema_attrs=acme_schema_attrs, + ) + + # TODO publish schema and cred def ``` -... and just remove the ```TODO ```, then uncommment the rest. Easy, no? +... and uncomment the code lines. Replace the ```# TODO``` comment with the following code: ``` python with log_timer("Publish schema and cred def duration:"): @@ -194,7 +196,8 @@ First though we need to register a schema and credential definition. Find this random.randint(1, 101), ) ) - # (schema_id, cred_def_id) = await agent.register_schema_and_creddef( + # register schema and cred def + (schema_id, cred_def_id) = await agent.register_schema_and_creddef( "employee id schema", version, ["employee_id", "name", "date", "position"],