waku-org / research

Waku Protocol Research
MIT License
3 stars 0 forks source link

Design a price advertisement protocol #51

Open s-tikhomirov opened 7 months ago

s-tikhomirov commented 7 months ago

Price advertisement is one of the two (not mutually exclusive) ways for Store servers to share their price offers with clients.

Another one is price negotiation - see #52.

Under a price advertisement protocol, a server publicly announces its price policy. Possible media for price ads include:

Outdated prices may be an issue. The maximum frequency of price updates depends on the medium, but it's unlikely that doing updates, say, multiple times per second would be feasible (evaluation required).

See also: Lightning Network's liquidity ads.

fryorcraken commented 7 months ago

a req-res protocol could also be used. Not saying it should but I'd include that in the list of possibilities. It could happen as soon as one connects to a store server or maybe as part of some initial req-res (e.g requesting stored msg ids)