Damus
Vitor Pamplona · 63w
Yeah, price is a string. On the DLC, can we add other tags to facilitate?
regenera profile picture
Apologies, I think I need to retract my link above - that describes the work that clients have to do. Oracles don't have to do all that, though they do sign prefixes of the numeric outcome instead.

I suppose having a tag could work, but it looks like I'm at the limit of my knowledge on DLCs here.

In looking around, I also found this,

https://github.com/nostr-protocol/nips/pull/919

It may have more work in it, but not I'm sure if the PR is still active.

@conduition was the last to touch that.




1
conduition · 60w
A numeric DLC oracle publishes a set of nonces, one per digit, for some future price/time/asset-pair event. Then when that time rolls around in the future, it signs each digit of the price using one of those pre-announced nonces, plus the oracle's static signing key. I think nostr:nprofile1qy88wumn...