Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/config/solutions/hub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
* routes and its "Solutions" entries in the product sidebars. This lets solutions ship
* one by one.
*/
export const SOLUTIONS_HUB_ENABLED = false
// Preview the hub and site navigation locally without enabling the production hub.
export const SOLUTIONS_HUB_ENABLED = import.meta.env?.DEV ?? false
9 changes: 8 additions & 1 deletion src/config/solutions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { demoSinglePage } from "./demo-single-page.ts"
import { demoMultiPage } from "./demo-multi-page.ts"
import { crossChainVaultAdapter } from "./cross-chain-vault-adapter.ts"
import { chainlinkForAgents } from "./chainlink-for-agents.ts"
import { predictionMarketResolutionEngine } from "./prediction-market-resolution-engine.ts"

export type { Solution, SolutionNavGroup } from "./types.ts"
export { SOLUTION_PRODUCTS, productLabel } from "./products.ts"
Expand All @@ -25,7 +26,13 @@ export { SOLUTIONS_HUB_ENABLED } from "./hub.ts"
* Every registered solution. Add yours here.
* This is the only shared file a contributor touches.
*/
const ALL_REGISTERED: Solution[] = [demoSinglePage, demoMultiPage, crossChainVaultAdapter, chainlinkForAgents]
const ALL_REGISTERED: Solution[] = [
demoSinglePage,
demoMultiPage,
crossChainVaultAdapter,
chainlinkForAgents,
predictionMarketResolutionEngine,
]

export const SOLUTIONS: Solution[] = ALL_REGISTERED.filter((s) => !s.hidden)

Expand Down
30 changes: 30 additions & 0 deletions src/config/solutions/prediction-market-resolution-engine.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import type { Solution } from "./types.ts"

export const predictionMarketResolutionEngine: Solution = {
slug: "prediction-market-resolution-engine",
title: "Prediction Market Resolution Engine",
description:
"A Chainlink-managed service that resolves prediction markets once independent data providers agree on the outcome, executed on a decentralized oracle network.",
products: ["cre"],
categories: ["prediction-markets"],
nav: [
{
group: "Overview",
pages: [
"index",
"overview/how-it-works",
"overview/supported-markets",
"overview/trust-and-failure-handling",
"overview/outcome-delivery",
],
},
{
group: "Tutorial",
pages: ["tutorial/before-you-begin", "tutorial/list-markets", "tutorial/track-event-status"],
},
{
group: "Reference",
pages: ["reference/market-registry-api", "reference/lifecycle", "reference/glossary"],
},
],
}
Loading
Loading