-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add RLC Token page #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
994f2a8
feat: add RLC Token overview and related assets
Le-Caignec f884a59
feat: enhance FeatureGridCard to support links in features and update…
Le-Caignec b2e5040
refactor: remove outdated sections on deflationary mechanisms and exc…
Le-Caignec 5e3e5c5
feat: replace FeatureGridCard with DescriptionCard in RLC overview
Le-Caignec 869e045
Update src/overview/rlc.md
Le-Caignec 02c674a
feat: update RLC analytics link in documentation
Le-Caignec 00f04ac
Merge branch 'feature/add-rlc-page' of https://github.com/iExecBlockc…
Le-Caignec 789e692
feat: update RLC analytics link to reflect new Dune Dashboard URL
Le-Caignec c40c10f
fix: remove emoji from Dune Dashboard link in RLC overview
Le-Caignec 8554145
feat: update RLC token economics section to streamline Dune Dashboard…
Le-Caignec da36f86
fix: remove unnecessary class from Dune Dashboard link in RLC tokenom…
Le-Caignec 1149539
refactor: update Tokenomics section title and remove RLC Across Netwo…
Le-Caignec e411145
feat: update CEX links in RLC acquisition section for improved clarit…
Le-Caignec 65fdd45
Merge remote-tracking branch 'origin/main' into feature/add-rlc-page
Le-Caignec 12e105c
fix: update header level for payment flow section and add staking exp…
Le-Caignec 5c13275
fix: adjust image size for RLC Token animation in overview
Le-Caignec 2d59016
fix: adjust margin for RLC Token animation image in overview
Le-Caignec 9294605
fix: reorder RLC Token link in sidebar for better visibility
Le-Caignec a99929f
Update README.md
Le-Caignec 200c401
Update src/overview/rlc.md
Le-Caignec 1739f05
Update src/overview/rlc.md
Le-Caignec 646644f
fix: update description of RLC token in overview
Le-Caignec c360c90
fix: correct punctuation in RLC token overview
Le-Caignec f4ad263
Update src/overview/rlc.md
Le-Caignec 0c3f248
Update src/overview/rlc.md
Le-Caignec d78f6f0
Update src/overview/rlc.md
Le-Caignec a9686fa
feat: replace DescriptionCard with FeatureCard in RLC token overview
Le-Caignec 64322eb
fix: improve formatting and readability in FeatureCard and RLC token …
Le-Caignec 615c473
feat: add icon colors to FeatureCards in RLC token overview
Le-Caignec a94940c
refactor: remove DescriptionCard component to streamline RLC token ov…
Le-Caignec ac8a389
fix: improve padding and margin in RLC payment distribution section f…
Le-Caignec 80ffcb7
fix: adjust padding in RLC payment distribution section for improved …
Le-Caignec File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,80 @@ | ||
<template> | ||
<a | ||
:href="linkUrl" | ||
class="block h-full min-h-40 text-inherit no-underline! visited:no-underline! hover:no-underline! active:no-underline!" | ||
<div | ||
class="border-border bg-soft-bg flex h-full flex-col rounded-lg border p-6 transition-all duration-200 ease-in-out hover:-translate-y-0.5 hover:shadow-md" | ||
> | ||
<div | ||
class="bg-soft-bg border-border flex h-full cursor-pointer flex-col rounded-lg border p-3 transition-all duration-200 ease-in-out hover:-translate-y-0.5 hover:shadow-md" | ||
> | ||
<div class="flex items-center gap-2"> | ||
<Icon :icon="icon" class="text-xl" :class="iconColor" /> | ||
<h3 class="text-text1 !mt-0 !mb-0 text-base font-semibold"> | ||
{{ title }} | ||
</h3> | ||
</div> | ||
<p class="text-text2 !mt-2 flex-grow text-sm leading-relaxed"> | ||
{{ description }} | ||
</p> | ||
<div class="mb-4 flex items-center gap-2"> | ||
<Icon :icon="icon" class="text-xl" :class="iconColor" /> | ||
<h3 class="text-text1 !mt-0 !mb-0 text-base font-semibold"> | ||
{{ title }} | ||
</h3> | ||
</div> | ||
</a> | ||
|
||
<!-- Description mode --> | ||
<p | ||
v-if="description && !features" | ||
class="text-text2 !mt-2 flex-grow text-sm leading-relaxed" | ||
> | ||
{{ description }} | ||
</p> | ||
|
||
<!-- Features mode --> | ||
<ul | ||
v-if="features" | ||
class="flex-grow space-y-2 text-sm text-gray-700 dark:text-gray-300" | ||
> | ||
<li | ||
v-for="feature in processedFeatures" | ||
:key="feature.key" | ||
class="flex items-start gap-2" | ||
> | ||
<span class="text-gray-600">•</span> | ||
<span v-if="feature.link"> | ||
<a | ||
:href="feature.link" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
class="text-blue-600 underline transition-colors hover:text-blue-800 hover:no-underline dark:text-blue-400 dark:hover:text-blue-300" | ||
> | ||
{{ feature.text }} | ||
</a> | ||
</span> | ||
<span v-else>{{ feature.text }}</span> | ||
</li> | ||
</ul> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { computed } from 'vue'; | ||
import { Icon } from '@iconify/vue'; | ||
|
||
interface FeatureItem { | ||
text: string; | ||
link?: string; | ||
} | ||
|
||
interface Props { | ||
icon: string; | ||
title: string; | ||
description: string; | ||
linkUrl: string; | ||
description?: string; | ||
features?: (string | FeatureItem)[]; | ||
linkUrl?: string; | ||
iconColor?: string; | ||
} | ||
|
||
withDefaults(defineProps<Props>(), { | ||
const props = withDefaults(defineProps<Props>(), { | ||
iconColor: 'text-blue-500', | ||
linkUrl: '', | ||
}); | ||
|
||
const processedFeatures = computed(() => { | ||
if (!props.features) return []; | ||
return props.features.map((feature, index) => { | ||
if (typeof feature === 'string') { | ||
return { key: index, text: feature }; | ||
} else { | ||
return { key: index, text: feature.text, link: feature.link }; | ||
} | ||
}); | ||
}); | ||
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
--- | ||
title: RLC Token | ||
description: | ||
The RLC token is the cryptocurrency that powers the iExec decentralized | ||
computing ecosystem | ||
--- | ||
|
||
<div class="flex flex-col items-center mb-8"> | ||
<img :src="rlcGif" alt="RLC Token Animation" class="w-80 h-80 mb-0" /> | ||
<h1 class="text-3xl font-bold text-center mb-2">RLC Token</h1> | ||
<p class="text-lg text-center text-gray-600 max-w-2xl">The native cryptocurrency that powers the entire iExec decentralized confidential computing ecosystem</p> | ||
</div> | ||
|
||
**RLC** (**R**un on **L**ots of **C**omputers) serves as the primary medium of | ||
exchange for all interactions within the protocol, enabling users to access | ||
confidential computing services, and rewarding providers for their | ||
contributions. | ||
|
||
## 🎯 What RLC Enables | ||
|
||
RLC is essential for interacting with the iExec protocol and accessing its | ||
decentralized confidential computing services. | ||
|
||
## 💰 Transparent Payment Flow | ||
|
||
When you pay for a task execution with RLC, your payment is automatically and | ||
transparently distributed to all iExec protocol participants: | ||
|
||
<div class="bg-gradient-to-r from-blue-50 to-blue-100 dark:from-blue-900/20 dark:to-blue-800/20 rounded-lg px-4 border border-blue-200 dark:border-blue-700 my-0"> | ||
<h4 class="text-lg font-semibold text-blue-800 dark:text-blue-200">🔍 How Your RLC Payment is Distributed</h4> | ||
|
||
**1. App Provider** - Gets paid for providing the confidential application | ||
|
||
**2. Protected Data Provider** - Gets paid for providing access to protected confidential datasets | ||
|
||
**3. Worker** - Gets paid for running the confidential computation on their decentralized machine | ||
</div> | ||
|
||
**💡 Transparent:** Payments are distributed based on pricing and conditions | ||
defined by each provider (iApp, Protected Data, Worker) in their marketplace | ||
orders. | ||
|
||
**🔒 RLC Staking:** To run a task on the protocol (executing an application with | ||
protected data on a decentralized workerpool), you need to **lock RLC** in the | ||
protocol during the task period. In exchange, you receive **sRLC (staked RLC)**. | ||
Once the task is completed, you can recover the RLC that wasn't consumed for the | ||
task payment. | ||
|
||
## 💰 Tokenomics & Ecosystem Metrics | ||
|
||
RLC operates on a utility-driven economic model where demand for confidential | ||
computing services drives token value: | ||
|
||
**Fixed Supply**: RLC has a maximum supply of 87 million tokens, ensuring | ||
scarcity and value preservation. | ||
|
||
**Network Effects**: As more users and providers join the iExec ecosystem, the | ||
demand for RLC increases, driving token value through network effects. | ||
|
||
<ImageViewer | ||
:image-url-dark="duneDashboard" | ||
image-alt="RLC Token Economics Dashboard" | ||
link-url="https://dune.com/datawarlock/arbitrum-economics" | ||
caption="🔗 Access iExec Dune Dashboard" | ||
/> | ||
|
||
## 🔄 Getting RLC | ||
|
||
You can acquire RLC tokens through several methods: | ||
|
||
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 my-8"> | ||
<FeatureCard | ||
title="Centralized Exchanges" | ||
icon="mdi:store" | ||
icon-color="text-indigo-500" | ||
:features="[ | ||
{ text: 'View all available CEX on CoinMarketCap', link: 'https://coinmarketcap.com/fr/currencies/rlc/' }, | ||
'High liquidity markets', | ||
'Fiat to RLC purchase options' | ||
]" | ||
/> | ||
|
||
<FeatureCard | ||
title="Decentralized Exchanges" | ||
icon="mdi:waves" | ||
icon-color="text-purple-500" | ||
:features="[ | ||
{ text: 'ETH: RLC/ETH on Uniswap', link: 'https://app.uniswap.org/explore/pools/ethereum/0x56Ea002B411FD5887E55329852D5777EcB170713' }, | ||
'ARB: RLC/ETH (coming soon)', | ||
'High liquidity DEX trading' | ||
]" | ||
/> | ||
|
||
<FeatureCard | ||
title="Cross-Chain Bridging" | ||
icon="mdi:bridge" | ||
icon-color="text-teal-500" | ||
:features="[ | ||
'Bellecour Bridge', | ||
'Stargate Bridge (Arbitrum)', | ||
]" | ||
/> | ||
|
||
<FeatureCard | ||
title="Earn RLC" | ||
icon="mdi:diamond" | ||
icon-color="text-pink-500" | ||
:features="[ | ||
'Develop confidential apps', | ||
'Monetize protected datasets', | ||
'Become a compute provider', | ||
]" | ||
/> | ||
</div> | ||
|
||
## 🚀 Ready to get started? | ||
|
||
Ready to dive into the iExec ecosystem? Here are the next steps: | ||
|
||
- **[Bridge RLC](./tooling-and-explorers/bridge.md)** - Transfer RLC between | ||
networks | ||
- **[Start Using iExec](./quick-start.md)** - Begin your confidential computing | ||
journey | ||
- **[Earn RLC](../manage-data/guides/create-and-share-access.md)** - Become a | ||
provider and monetize your resources | ||
|
||
<script setup> | ||
import ImageViewer from '../components/ImageViewer.vue'; | ||
import FeatureCard from '../components/FeatureCard.vue'; | ||
|
||
// Assets | ||
import rlcGif from '../assets/rlc/rlc.gif'; | ||
import duneDashboard from '../assets/rlc/dune-dashboard.png'; | ||
</script> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.