Author

Topic: Is it possible for one Script to add a sum to another script? (Read 43 times)

jr. member
Activity: 105
Merit: 6
Is it possible for one bitcoin script to be responsible for handling a calculation and taking the result and adding it to the sum in another script?
I'm trying to understand the limits of Bitcoin.

I understand bitcoin scripts aren't turing complete, but I do believe they can perform a "babylonian square root" in a limited form if the code for that loop is simply repeated.
The gas cost of ethereum limit the precision of this type of function anyway.

My goal is to bring my governance protocol to bitcoin. It is derived from a project that initially started as a pyramid scheme called proof of weak hands. In that smart contract they use the babylonian square root function.

I've asked chatGPT, and it seems scripts can be linked together, but I wanted to ask here just to be sure it's not hallucinating.
Jump to: