Skip to content
Merged
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
11 changes: 10 additions & 1 deletion src/components/Quickstart/QuickstartPanel.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const currentPage = new URL(Astro.request.url).pathname
const currentFile = `src/content${currentPage.replace(/\/$/, "")}.mdx`
const githubEditUrl = CONFIG.GITHUB_EDIT_URL + currentFile
const products = frontmatter.products.map((p) => productsInfo[p])
const githubSourceCodeUrl = frontmatter.githubSourceCodeUrl
---

<aside class="panel">
Expand Down Expand Up @@ -43,7 +44,15 @@ const products = frontmatter.products.map((p) => productsInfo[p])
</ul>
</div>
</div>
<a href={githubEditUrl} class="primary button"><img src="/assets/github.svg" />Open Github</a>
{
frontmatter.githubSourceCodeUrl && (
<a href={githubSourceCodeUrl} class="primary button">
<img src="/assets/github.svg" />
Open Github
</a>
)
}
<a href={githubEditUrl} class="secondary button">Edit this page</a>
<TableOfContents client:visible initialHeadings={headings} />
</aside>

Expand Down
1 change: 1 addition & 0 deletions src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ const quickstartsFrontmatter = z
.object({
title: z.string(),
description: z.string(),
githubSourceCodeUrl: z.string().optional(),
image: z.string(),
products: z.array(productEnum),
time: z.string(),
Expand Down
1 change: 1 addition & 0 deletions src/content/quickstarts/automated-portfolio-manager.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Automated Portfolio Manager"
description: "Build a portfolio that automatically rebalances itself based on real-time data from on-chain and off-chain sources."
githubSourceCodeUrl: "https://github.com/smartcontractkit/quickstarts-automated-portfolio-manager"
image: "QuickStarts-AutomatedPortfolioManager.webp"
products: ["Feeds", "Automation", "Functions"]
time: "45 minutes"
Expand Down
1 change: 1 addition & 0 deletions src/content/quickstarts/automation-station.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Automation Station"
description: "Use FlashLiquidity's Automation Station to manage your upkeeps."
githubSourceCodeUrl: "https://github.com/flashliquidity/flashliquidity-automation"
image: "QuickStarts-FlashLiquidity-Automation-Station.png"
products: ["automation"]
time: "180 minutes"
Expand Down
1 change: 1 addition & 0 deletions src/content/quickstarts/batch-reveal.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Batch Collection Reveal"
description: "Use Chainlink VRF and Automation in generative art collections."
githubSourceCodeUrl: "https://github.com/smartcontractkit/chainlink-automation-templates/tree/main/batch-nft-reveal"
image: "QuickStarts-Batch-Collection-Reveal.webp"
products: ["automation", "vrf"]
time: "180 minutes"
Expand Down
1 change: 1 addition & 0 deletions src/content/quickstarts/chainlink-demo-app.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Chainlink Demo App"
description: "Run the Chainlink Demo App locally to learn how to develop your own applications."
githubSourceCodeUrl: "https://github.com/smartcontractkit/chainlink-fullstack"
image: "QuickStarts-Chainlink-Demo-App.webp"
products: ["automation", "vrf", "feeds"]
time: "60 minutes"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Chainlink Hardhat Starter Kit"
description: "Get started with Chainlink services inside your Hardhat projects."
githubSourceCodeUrl: "https://github.com/smartcontractkit/hardhat-starter-kit"
image: "QuickStarts-Chainlink-Hardhat-Starter-Kit.webp"
products: ["general"]
time: "10 minutes"
Expand Down
1 change: 1 addition & 0 deletions src/content/quickstarts/circuit-breaker.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Data Feed Circuit Breaker Using Chainlink Automation"
description: "Build your own Data Feed Circuit Breaker Using Chainlink Automation."
githubSourceCodeUrl: "https://github.com/smartcontractkit/quickstarts-circuitbreaker"
image: "QuickStarts-Circuit-Breaker.webp"
products: ["automation", "feeds"]
time: "90 minutes"
Expand Down
1 change: 1 addition & 0 deletions src/content/quickstarts/dev3-chainlink-sdk.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Dev3 Chainlink SDK"
description: "Learn how to install and use the Dev3 Chainlink SDK in your applications."
githubSourceCodeUrl: "https://github.com/0xDev3/dev3-sdk"
image: "QuickStarts-Dev3-Chainlink-SDK.webp"
products: ["general"]
time: "30 minutes"
Expand Down
1 change: 1 addition & 0 deletions src/content/quickstarts/eth-balance-monitor.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Automate Contract Balance Top-up"
description: "Automate the process of maintaining an Ethereum balance in your smart contract using Chainlink Automation."
githubSourceCodeUrl: "https://github.com/smartcontractkit/documentation/blob/main/public/samples/Automation/tutorials/EthBalanceMonitor.sol"
image: "QuickStarts-ETH-Balance-Monitor.webp"
products: ["automation"]
time: "30 minutes"
Expand Down
1 change: 1 addition & 0 deletions src/content/quickstarts/foundry-chainlink-toolkit.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Foundry Chainlink Toolkit"
description: "Test smart contracts and local Chainlink nodes using Foundry."
githubSourceCodeUrl: "https://github.com/smartcontractkit/foundry-chainlink-toolkit"
image: "QuickStarts-Foundry-Chainlink-Toolkit.webp"
products: ["general"]
time: "10 minutes"
Expand Down
1 change: 1 addition & 0 deletions src/content/quickstarts/functions-demo-app.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Chainlink Functions Demo App"
description: "Learn how to build applications that use Chainlink Functions by running your own version of the Chainlink Functions Demo App."
githubSourceCodeUrl: "https://github.com/smartcontractkit/chainlink-functions-demo-app"
image: "QuickStarts-Chainlink-Functions-Showcase.webp"
products: ["general"]
time: "90 minutes"
Expand Down
1 change: 1 addition & 0 deletions src/content/quickstarts/giveaway.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Giveaway Manager"
description: "Build an app to manage distribution."
githubSourceCodeUrl: "https://github.com/smartcontractkit/quickstarts-giveaway"
image: "QuickStarts-Giveaway-Manager.webp"
products: ["general"]
time: "180 minutes"
Expand Down
1 change: 1 addition & 0 deletions src/content/quickstarts/hardhat-plugin.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Using the Hardhat Chainlink Plugin"
description: "Learn how to use the Hardhat Chainlink Plugin in your applications."
githubSourceCodeUrl: "https://github.com/smartcontractkit/hardhat-chainlink"
image: "QuickStarts-Hardhat-Chainlink-Plugin.webp"
products: ["general"]
time: "30 minutes"
Expand Down
1 change: 1 addition & 0 deletions src/content/quickstarts/historical-price-feeds-api.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Historical Price Feeds API"
description: "Deploy your own Historical Price Feeds API for retrieving data."
githubSourceCodeUrl: "https://github.com/smartcontractkit/quickstarts-historical-prices-api"
image: "QuickStarts-Historical-Price-Feed.webp"
products: ["feeds"]
time: "10 minutes"
Expand Down
1 change: 1 addition & 0 deletions src/content/quickstarts/pass-cost-to-end-user.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Pass VRF Costs to the End Users"
description: "Identify the cost of specific VRF requests in order to pass this cost to the end users of your application."
githubSourceCodeUrl: "https://github.com/smartcontractkit/vrf-direct-funding-example"
image: "QuickStarts-Pass-VRF-Costs-to-the-End-Users.webp"
products: ["vrf"]
time: "30 minutes"
Expand Down
1 change: 1 addition & 0 deletions src/content/quickstarts/price-feeds-showcase.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Solana Pricefeeds Showcase"
description: "Learn how to deploy a Price Feeds app for Solana."
githubSourceCodeUrl: "https://github.com/smartcontractkit/solana-prediction-game"
image: "QuickStarts-Solana-Pricefeeds-Showcase.webp"
products: ["feeds"]
time: "10 minutes"
Expand Down
1 change: 1 addition & 0 deletions src/content/quickstarts/vrf-enabled-lootbox-pack.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "VRF-Enabled LootBox/Pack Contract"
description: "Build a pack contract using VRF."
githubSourceCodeUrl: "https://github.com/smartcontractkit/quickstarts-lootbox"
image: "QuickStarts-VRF-Enabled-LootBox-Pack-Contract.webp"
products: ["vrf"]
time: "90 minutes"
Expand Down
1 change: 1 addition & 0 deletions src/content/quickstarts/vrf-mystery-box.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "VRF-Enabled Mystery Box"
description: "Build a mystery box smart contract using VRF."
githubSourceCodeUrl: "https://github.com/smartcontractkit/quickstarts-mysterybox"
image: "QuickStarts-VRF-Enabled-LootBox-Pack-Contract.webp"
products: ["vrf"]
time: "90 minutes"
Expand Down
1 change: 1 addition & 0 deletions src/content/quickstarts/vrf-subscription-monitor.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "VRF Subscription Balance Monitor"
description: "Automatically top-up your VRF subscription balances using Chainlink Automation to ensure there is sufficient funding for requests."
githubSourceCodeUrl: "https://github.com/smartcontractkit/documentation/blob/main/public/samples/Automation/tutorials/VRFSubscriptionBalanceMonitor.sol"
image: "QuickStarts-VRF-Balance-Subscription-Manager.webp"
products: ["automation", "vrf"]
time: "30 minutes"
Expand Down
1 change: 1 addition & 0 deletions src/content/quickstarts/web3js.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Using the Web3.js Plugin"
description: "Incorporate the web3.js plugin to your NodeJS project with a single line of code to natively interact with Chainlink Data Feeds."
githubSourceCodeUrl: "https://github.com/web3/web3.js"
image: "QuickStarts-web3.js-plugin.webp"
products: ["general"]
time: "30 minutes"
Expand Down