updated images
|
@ -67,10 +67,8 @@ The publisher site is a decentralized marketplace that allows anyone to build a
|
|||
|
||||
The publisher site includes some pre-defined sources to help developers publish data feeds. Pre-defined sources can be added to your basket by selecting them in the directory, from there you can toggle individual data sources to meet your on-chain needs.
|
||||
|
||||
**Coming Soon:** Users will soon have the ability to publish their own sources to the site and help grow the catalog.
|
||||
|
||||
<MarkdownImage
|
||||
img="/img/publisher/Directory.png"
|
||||
img="/img/publisher/Landing_Page.png"
|
||||
sx={{ borderWidth: "thin", border: "1px solid #D3D3D3", borderRadius: 3 }}
|
||||
/>
|
||||
|
||||
|
@ -185,91 +183,3 @@ The publisher site lets you manage your on-chain feeds and currently lets you:
|
|||
</ul>
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
## Custom Feeds
|
||||
|
||||
<Grid container spacing={3}>
|
||||
<Grid item md={6}>
|
||||
<Typography>
|
||||
The <i>Custom Feed</i> button lets you build a custom feed from a JSON
|
||||
definition:
|
||||
</Typography>
|
||||
<MarkdownImage
|
||||
img="/img/publisher/Custom_Feed_Button.png"
|
||||
sx={{
|
||||
width: "70%",
|
||||
textAlign: "center",
|
||||
mx: 2,
|
||||
display: "flex",
|
||||
borderRadius: 3,
|
||||
overflow: "hidden",
|
||||
}}
|
||||
/>
|
||||
<br />
|
||||
<Typography>
|
||||
You should see the <i>Custom Feed Modal</i> to the right. Give your feed a
|
||||
name, then for each job you require, select <i>Add Job +</i>.
|
||||
</Typography>
|
||||
<br />
|
||||
<Typography>A data feed must have at least one job.</Typography>
|
||||
</Grid>
|
||||
<Grid item md={6}>
|
||||
<MarkdownImage
|
||||
img="/img/publisher/Custom_Feed_Modal.png"
|
||||
sx={{ borderWidth: "thin", border: "1px solid #D3D3D3", borderRadius: 3 }}
|
||||
/>
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
### Custom Jobs
|
||||
|
||||
<Grid container spacing={3}>
|
||||
<Grid item md={6}>
|
||||
<MarkdownImage
|
||||
img="/img/publisher/Custom_Job_Modal.png"
|
||||
sx={{ borderWidth: "thin", border: "1px solid #D3D3D3", borderRadius: 3 }}
|
||||
/>
|
||||
</Grid>
|
||||
<Grid item md={6}>
|
||||
<Typography>
|
||||
The <i>Custom Job</i> modal lets you build a custom job from a JSON
|
||||
definition or Public Key.
|
||||
</Typography>
|
||||
<br />
|
||||
<b>
|
||||
<u>JSON Definition</u>
|
||||
</b>
|
||||
<Typography>
|
||||
You can find example job definitions at:
|
||||
<ul>
|
||||
<li>
|
||||
<Link to="/api/tasks">/api/tasks</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link to="/feed/directory">Job Directory</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link to="https://switchboard.xyz/explorer">
|
||||
Switchboard Explorer
|
||||
</Link>
|
||||
</li>
|
||||
</ul>
|
||||
</Typography>
|
||||
<br />
|
||||
<Typography>
|
||||
Paste in your JSON definition, then select <i>Test</i> to simulate the job
|
||||
and view the result.
|
||||
</Typography>
|
||||
<br />
|
||||
<b>
|
||||
<u>Public Key</u>
|
||||
</b>
|
||||
<Typography>
|
||||
You can use an existing JobAccount public key to build your data feed.
|
||||
This is useful if you are building multiple feeds that share job
|
||||
definitions.
|
||||
</Typography>
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
When done, select _Add Job_ to return to the _Custom Feed_ modal.
|
||||
|
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 99 KiB |
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 23 KiB |