mirror of
https://github.com/fluencelabs/examples
synced 2025-04-24 18:22:15 +00:00
update image references
This commit is contained in:
parent
f2389cc2f7
commit
86147422f9
@ -27,7 +27,7 @@ Price (feed) oracles are probably the most used and in-demand oracle type and te
|
||||
|
||||
Figure 1: Stylized Price Oracle Network And Service Process
|
||||
|
||||

|
||||

|
||||
|
||||
As outlined in Figure 1, we use one or more services distributed across the Fluence peer-to-peer network to obtain price quotes from sources. For example, we could have one service capable of querying one or more sources such as DEX contracts deployed on multiple network peers allowing us to poll price sources in parallel. We then join these results and submit them to a processing service also deployed on the peer-to-peer network to establish, for example, an oracle point-estimate. Once we've obtained our oracle, we return it to the peer-client, e.g., a browser.
|
||||
|
||||
@ -45,7 +45,7 @@ For implementation details, see [price_getter_service]("./../price_getter_servic
|
||||
|
||||
Figure 2: Stylized Service Creation By Marine Module Linking
|
||||
|
||||

|
||||

|
||||
|
||||
As see in Figure 2, we link the price_getter module and curl adapter module into a price_getter service ready for deployment to the Fluence peer-to-peer network. Before we proceed, we have one more service to consider: the price quote processing service which yields the oracle. Again, we simplified what could be an extensive processing algorithm into a simple mean calculation, see [mean_service]("./../mean_service/src/main.rs") for implementation details. Unlike the price getter service, mean service is a simple, FaaS compute module that deploys on any number of network peers.
|
||||
|
||||
@ -89,5 +89,4 @@ That's it for service development and deployment!
|
||||
|
||||
## Application Composition with Aqua
|
||||
|
||||
Whether you compiled and deployed services, it's time to use deployed service to create our oracle application. And we do just that with Aqua.
|
||||
|
||||
Whether you compiled and deployed services, it's time to use deployed service to create our oracle application. And we do just that with Aqua.
|
Loading…
x
Reference in New Issue
Block a user