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 has been archived by the owner on May 11, 2021. It is now read-only.
Have you considered using pay-to-contract or sign-to-contract to commit to the destination address in the Tendermint chain instead of OP_RETURNs?
Puts less state on the chain, as well as guarantees the data can be retrieved by nodes which are not run with txindex=1
sign-to-contract basically modifies R in an ECDSA signature to also include the message you want to commit to (you also modify the nonce to ensure that the verification algorithm evaluates to true)
From the linked article:
defECDSAsign2contract(x,m,c):
k=deterministic_nonce(x,m)
R=k*Ge=k+h(R||c)
Q=R+h(R||c)*G# which is Q = e*G = C(c,R)q=Q.xmodnz=e^(-1) * (m+q*x) modnreturn (q,z), R
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Have you considered using pay-to-contract or sign-to-contract to commit to the destination address in the Tendermint chain instead of OP_RETURNs?
Puts less state on the chain, as well as guarantees the data can be retrieved by nodes which are not run with
txindex=1
sign-to-contract basically modifies
R
in an ECDSA signature to also include the message you want to commit to (you also modify the nonce to ensure that the verification algorithm evaluates to true)From the linked article:
The text was updated successfully, but these errors were encountered: