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
I was trying to play around with the Ambients proposal to create something like a "mini" Bitcoin on Ambients where one could spend previously unspent outputs to create a new transaction.
Question
Is it possible with Ambients to create new data from existing data logs? So for example, if I have a transaction 'tx_0' with one unspent output. I want to then create a new transaction 'tx_1' that uses the output of 'tx_0' as its input and creates a new unspent output. The following things are not clear to me:
I think there has to be a new reduction of 'tx_0' that indicates that this transaction is spent. In my understanding, that would mean any node in the network would need to be aware of 'tx_0' and 'tx_1' to see if it's spent. Is that assumption correct?
I am not sure how to enforce valid spending in the Ambients case. Assuming you would have a way to verify a signature inside Ambients, would the reduction of 'tx_0' and 'tx_1' only be valid if the signature is deemed valid?
The text was updated successfully, but these errors were encountered:
Perhaps there's more to the question than I understand, but in simplified terms "a new transaction 'tx_1' that uses the output of 'tx_0'" would be written as (pseudo JS code):
Background
I was trying to play around with the Ambients proposal to create something like a "mini" Bitcoin on Ambients where one could spend previously unspent outputs to create a new transaction.
Question
Is it possible with Ambients to create new data from existing data logs? So for example, if I have a transaction 'tx_0' with one unspent output. I want to then create a new transaction 'tx_1' that uses the output of 'tx_0' as its input and creates a new unspent output. The following things are not clear to me:
The text was updated successfully, but these errors were encountered: