Skip to content

all comments plz - #17

Open
waalge wants to merge 4 commits into
mainfrom
w/custom-feeds
Open

all comments plz#17
waalge wants to merge 4 commits into
mainfrom
w/custom-feeds

Conversation

@waalge

@waalge waalge commented Nov 4, 2025

Copy link
Copy Markdown

No description provided.

Comment thread proposals/custom-feeds.md
The feed specification includes:

- Feed definition
- Owner key

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this ed25519 or another scheme?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBC. Other options are available

Comment thread proposals/custom-feeds.md
#### Feed definition

##### Source definition

@ross-spencer ross-spencer Dec 16, 2025

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably add something like:

A source definition is an endpoint that can be queried, e.g. via HTTP, which returns a data structure that can be transformed to an on-chain datum.

Comment thread proposals/custom-feeds.md
- as a json with base64 or base16 encoded `{body: <body>, signature: <signature>}`
- as a json with signature in the header (base64 or base16)
- as above but in bytes

@ross-spencer ross-spencer Dec 16, 2025

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBD: Orcfax will store the specification and source message in archival packages as well as on-chain as datum.

Comment thread proposals/custom-feeds.md
Orcfax can work with customers to tailor the needs of the definition.
Data collectors broadcast the results of their collection to validators.

Data collectors report the following errors:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To whom or what?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a good question...

Comment thread proposals/custom-feeds.md
The endpoints should be globally available, otherwise collection may fail.

Multiple endpoints are recommended.
Note that this is for redundancy: A collector will attempt to collect data from any of the endpoints, not all.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why "not all"?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cos they ought to be giving the same data. Else we have a problem

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if the customer needs a feed which aggregates data across multiple sources?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this starts to get a bit too complicated

Comment thread proposals/custom-feeds.md
It is up to the customer to communicate to downstream consumers
as to whether or not they ought to be verifying the full feed id (including version).

Orcfax must lay out some examples of feed definitions for customers to understand this stage.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not only should we have an example definition, we should publish an example on-chain so that we can point to each of these components/steps

Comment thread proposals/custom-feeds.md
owner: VerificationKey,
info: {
hot-key: VerificationKey (Scheme dependent),
source: [<HTTP_ENDPOINT>],

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and this can be a list, correct?

Comment thread proposals/custom-feeds.md

3. What if there are multiple on-chain registrations of the same owner?

4. What precisely is the point of the on-chain registration?

@Christian-MK Christian-MK Dec 16, 2025

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way by which registration also identifies the wallet from which funding will be extracted?

Comment thread proposals/custom-feeds.md
If so, we need to parse the bodies and extract, say, signatures.
Which schemes and formats do we support?

3. What if there are multiple on-chain registrations of the same owner?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it problematic if there is?
Most of the data should be different in info, shouldn't that distinguish between multiple registrations?
Should feed id be listed after owner so that registrations can be more easily distinguished?

Comment thread proposals/custom-feeds.md
- Other members of the validator network can independently verify the signatures
and do not need to collect the data separately.

### Open questions

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this design allow for the publication of multiple feeds from one registration/definition?
eg if we constructed CER feeds in this way, would each pair need a registration?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There could be some overlap with CER, but its not really what this proposal is trying to address. This proposal is trying to address the needs of individuals/ entities who want some specific data reported on-chain.

For such a product line, we need to be very narrow about what and how this is done. I dont think we can offer arbitrary levels of customization. For example. I'm sure there's lots of people who want "bridging": reporting data from other chains. but to do so, our collectors would need to run nodes ... its not feasible

Comment thread proposals/custom-feeds.md
}
```

- A token is minted, with name equal to customers cold key

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know the term "cold key" "hot key" in either of these contexts. Is there a more idiomatic term?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://www.coinbase.com/en-gb/learn/wallet/hot-vs-cold-crypto-wallet-what-is-the-difference

roughly this.

Hot keys on a server
cold keys, not on any server.

Comment thread proposals/custom-feeds.md
There are many open questions concerning how rigid or flexible this process ought to be.
Here are just some.

1. Data source schemes: do we support json and bytes

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does Aiken support JSON? -- bytes can be okay as a value that is transmitted and then converted to bytes for publishing.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aiken accommodates what plutus can do, which is cbor with specific quirks

Comment thread proposals/custom-feeds.md

3. What if there are multiple on-chain registrations of the same owner?

4. What precisely is the point of the on-chain registration?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decentralization for collectors is one.

  1. what exactly does de-registration look like?
  2. does orcfax have the power to deregister based on solid rules? e.g. endpoints are down for x-hours?


The total cost of a feed will depend on a number of factors such as:

- whether Orcfax has been contracted to develop the feed

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd remove this one for now (we know from experience we will always be asked regardless) but let's work on the assumption:

a) sources exist,
b) we can describe what is required by a source to enable publication.

protection of their solution's data.

If you have questions about Ortcfax's record keeping processes, or need guidance
on how best to structure archival records, please reach out to info@orcfax.io

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good, but I'd shorten it, and I think we can make it more generic:

  1. what is the rationale for the archive? -- Well, lots of reasons, but here, I think it is - did we publish when we said we published, and what did we validate. In the first instance I think we just need to create a schema that has a big hole in it where we place:

  2. what was the payload (we don't even assume this can be more broadly understood),

  3. sources (data + signatures),

  4. what was checked.

And we make this the same for all customers for this feed type.

So for the sake of this document (or for the sake of our proof of concept) I think we focus on:

  • we archive,
  • you get an archive,
  • you get your reassurances,
  • everyone's archive looks the same.


### Integrator: can my feed be published to other chains?

Yes! While Orcfax currently operates on Cardano and Arweave, our oracle solution

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. do we want to use arkly+arweave?
  2. do we want to use bagit?

One thought I have is preparing an audit document for this product that is slightly different from the standard archives.

Is it possible to create a single document object that contains all the information needed? I.e. just one JSON file will all records in?

This might lend itself better to content addressed storage in future, e.g. IPLD.

We'd need to answer this quite quickly though. The path of least resistance is designing one new record for our current packages.

fix malformed md link
- Orcfax Custom Feeds
- Data Customization
- Custom oracle feeds
- Custom Orcfax feeds

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Orcfax Express" 😅

image

@Christian-MK

Christian-MK commented Jan 13, 2026

Copy link
Copy Markdown

Notes from @waalge in 01/13 meeting
"Some good constraints I think we should consider as we look for a first example custom feed to develop:

  1. Non-price data (differentiates from our current offerings)
  2. Low publication frequency (cheap, safer)
  3. Clear "why" for auditability (is their a compelling and necessary use for audits?)
  4. Single-source and single-integrator launch possible"

And notes from @ross-spencer
https://gist.github.com/ross-spencer/db65853b5ba320c332af0532350d22b9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants