Open Acentelles opened 1 year ago
doc: https://hackmd.io/@yulia/sudoku
Circuit details:
Dealer Intent App VP
app_data = hash(encoded_puzzle || sudoku_app_vk)
encoded_puzzle
, and sudoku_app_vk
is equal to the app_vk
of the puzzle note.Sudoku App VP
app_data = hash(init_state || current_state)
current_state
is a valid sudokuinit_state = current_state
spend_note_init_state = output_note_init_note
and spend_note_vk = output_note_vk
output_note_current_state
is a better solution than the spend_note_current_state
. If the output_note_current_state
is the final solution, check the value of output_note is zero; else, check the value of output_note is one.Merged in #127
Some minor TODO lists
app_data_static
of the application vp unique. A potential solution is to embed the spend note rho
into app_data_static
when creating the note.
The goal of this application is to demo how Taiga works. Pending work: