You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 28, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 28, 2022. It is now read-only.
Think about a template of the script: just like the HTML template, most things are static, and little things are dynamic. For P2PKH template, the pubkeyhash is dynamic.
If we have a monitor to sync all transactions that have the template we want, then we can run a MiniForth module repeatedly -- because the code can handle the lock script (for P2PKH, again, we know the privatekeys). And according to the result of unlock operation (in fact, it can return values other than bool), create new lockscripts.
The whole process is more like a human reacting to the changes in the world, than an automatic machine agent.
Activity
Ljzn commentedon Sep 1, 2020
One fantastic of forth is you can produce massive side effects, think about a washing machine.We don't even have the list now!
Ljzn commentedon Sep 2, 2020
Think about a template of the script: just like the HTML template, most things are static, and little things are dynamic. For P2PKH template, the
pubkeyhashis dynamic.If we have a monitor to sync all transactions that have the template we want, then we can run a MiniForth module repeatedly -- because the code can handle the lock script (for P2PKH, again, we know the privatekeys). And according to the result of
unlockoperation (in fact, it can return values other than bool), create new lockscripts.The whole process is more like a human reacting to the changes in the world, than an automatic machine agent.