diff --git a/.vitepress/sidebar.ts b/.vitepress/sidebar.ts index 2033d5d3..7bc509ea 100644 --- a/.vitepress/sidebar.ts +++ b/.vitepress/sidebar.ts @@ -92,6 +92,10 @@ export function getSidebar() { text: 'RLC Bridge', link: '/get-started/tooling-and-explorers/bridge', }, + { + text: 'RLC Faucet', + link: '/get-started/tooling-and-explorers/faucet', + }, { text: 'Subgraph Explorer', link: '/get-started/tooling-and-explorers/subgraph-explorer', diff --git a/src/assets/tooling-&-explorers/faucet/faucet.png b/src/assets/tooling-&-explorers/faucet/faucet.png new file mode 100644 index 00000000..e4e2c800 Binary files /dev/null and b/src/assets/tooling-&-explorers/faucet/faucet.png differ diff --git a/src/get-started/helloWorld/3-buildIApp.md b/src/get-started/helloWorld/3-buildIApp.md index f578e3b7..3c7ab76b 100644 --- a/src/get-started/helloWorld/3-buildIApp.md +++ b/src/get-started/helloWorld/3-buildIApp.md @@ -20,7 +20,7 @@ create, test and deploy iApp with just a few commands. If you wanna explore and deep dive in the command-line tool. You can check the -[iApp Generator ](https://github.com/iExecBlockchainComputing/iapp/tree/main/cli) +[iApp Generator](https://github.com/iExecBlockchainComputing/iapp/tree/main/cli) GitHub repository. Follow the instructions carefully for a smooth development experience. @@ -401,6 +401,24 @@ If you set the wrong Docker username, you can change it by editing the ::: +### ๐Ÿ’ฐ Getting RLC Tokens + +To deploy and run your iApp, you'll need RLC tokens to pay for: + +- **Workerpool execution costs** for running your iApp on decentralized compute + resources +- **Protected Data access fees** if your iApp requires confidential datasets + (and you're not the data provider) +- **iApp execution costs** if you're not the owner of the iApp you're running + +**Getting RLC tokens:** + +- **For Testing**: Get free RLC tokens on Arbitrum Sepolia testnet using the + [iExec RLC Faucet](https://explorer.iex.ec/arbitrum-sepolia-testnet/faucet) +- **For Production**: Purchase RLC from [exchanges](/get-started/overview/rlc) + or bridge from Ethereum using the + [RLC Bridge](/get-started/tooling-and-explorers/bridge) + ## ๐Ÿƒ Run your iApp Now you can run your application: diff --git a/src/get-started/overview/rlc.md b/src/get-started/overview/rlc.md index 52599603..bc263442 100644 --- a/src/get-started/overview/rlc.md +++ b/src/get-started/overview/rlc.md @@ -111,7 +111,7 @@ You can acquire RLC tokens through several methods: title="Decentralized Exchanges" :features="[ { text: 'ETH: RLC/ETH on Uniswap', link: 'https://app.uniswap.org/explore/pools/ethereum/0x56Ea002B411FD5887E55329852D5777EcB170713' }, - 'ARB: RLC/ETH (coming soon)', + { text: 'ARB: RLC/WETH on Uniswap', link: 'https://app.uniswap.org/explore/pools/arbitrum/0x0EB43B37539a4261Aa1860f9476094Bb2C00A894' }, 'High liquidity DEX trading' ]" /> @@ -119,8 +119,8 @@ You can acquire RLC tokens through several methods: diff --git a/src/get-started/quick-start.md b/src/get-started/quick-start.md index 9a818aff..a99a6907 100644 --- a/src/get-started/quick-start.md +++ b/src/get-started/quick-start.md @@ -98,7 +98,9 @@ learning and prototyping. React/Vue options 2. **Experiment**: Try the interactive sandboxes to understand core concepts 3. **Build**: Integrate the features you need into your application -4. **Deploy**: Use our deployment guides for production-ready applications +4. **Get RLC Tokens**: Use the + [iExec RLC Faucet](https://explorer.iex.ec/arbitrum-sepolia-testnet/faucet) +5. **Deploy**: Use our deployment guides for production-ready applications diff --git a/src/guides/build-iapp/deploy-&-run.md b/src/guides/build-iapp/deploy-&-run.md index fb2dc29d..e4909db6 100644 --- a/src/guides/build-iapp/deploy-&-run.md +++ b/src/guides/build-iapp/deploy-&-run.md @@ -10,6 +10,28 @@ description: It's time to run your iApp! After building and testing, you'll need to deploy it to a supported network and then execute it. +## Prerequisites + +Before deploying and running your iApp, ensure you have sufficient RLC tokens to +cover: + +- **Workerpool execution costs** for running your iApp on decentralized compute + resources +- **Protected Data access fees** if your iApp requires confidential datasets + (and you're not the data provider) +- **iApp execution costs** if you're not the owner of the iApp you're running + +**Getting RLC tokens:** + +- **Arbitrum Mainnet**: Purchase RLC from [exchanges](/get-started/overview/rlc) + or bridge from Ethereum using the + [RLC Bridge](/get-started/tooling-and-explorers/bridge) +- **Arbitrum Sepolia Testnet**: Get free RLC tokens from the + [iExec RLC Faucet](https://explorer.iex.ec/arbitrum-sepolia-testnet/faucet) + for testing purposes +- **Bellecour**: Bridge RLC from Ethereum using the + [RLC Bridge](/get-started/tooling-and-explorers/bridge) + ## Deploy your iApp After your tests pass and the package is built, you can deploy your iApp to a diff --git a/src/modules/helloWorld/ReownButton.vue b/src/modules/helloWorld/ReownButton.vue index f6e2b682..9f35cc80 100644 --- a/src/modules/helloWorld/ReownButton.vue +++ b/src/modules/helloWorld/ReownButton.vue @@ -58,7 +58,7 @@ const logout = async () => { watch( async () => isConnected.value, - async (newIsConnected) => { + async () => { if (status.value === 'connected') { const provider = await connector.value?.getProvider(); emit('connected', provider); diff --git a/src/references/iapp-generator/getting-started.md b/src/references/iapp-generator/getting-started.md index af798145..3b0fa2f6 100644 --- a/src/references/iapp-generator/getting-started.md +++ b/src/references/iapp-generator/getting-started.md @@ -37,6 +37,13 @@ Before using the iApp Generator, make sure you have: Sign Up โ†’ + +
+
+ ๐Ÿ’ฐ RLC Tokens +
+ Learn More โ†’ +
::: tip ๐Ÿ” Verify Docker Compatibility