diff --git a/packages/website/pages/docs/guides/_meta.json b/packages/website/pages/docs/guides/_meta.json index 3a4fe271d7c..9a7212a38a4 100644 --- a/packages/website/pages/docs/guides/_meta.json +++ b/packages/website/pages/docs/guides/_meta.json @@ -23,6 +23,9 @@ "enable-a-prover": { "title": "✅ Enable a prover" }, + "claim-prover-ttko": { + "title": "🛄 Claim prover TTKO" + }, "deploy-a-contract": { "title": "🚀 Deploy a contract" }, diff --git a/packages/website/pages/docs/guides/claim-prover-ttko.mdx b/packages/website/pages/docs/guides/claim-prover-ttko.mdx new file mode 100644 index 00000000000..a01eceaacc6 --- /dev/null +++ b/packages/website/pages/docs/guides/claim-prover-ttko.mdx @@ -0,0 +1,44 @@ +import { Callout, Steps } from "nextra-theme-docs"; + +# Prover Claim TTKO + +## Overview + +This guide will help you claim TTKO earned as a prover. + +## Prerequisites + +- You followed the [Enable a prover](/docs/guides/enable-a-prover) guide and have a prover which has proved a block to earn TTKO rewards. +- Must have a balance of ETH Sepolia (see: [Receive tokens](/docs/guides/receive-tokens)). + +## Steps + + + +### View TTKO prover address balance + +Go to the Taiko L1 contract read page and select [getTokenTokenBalance(addr address)](https://sepolia.etherscan.io/address/0x6375394335f34848b850114b66A49D6F47f2cdA8#readProxyContract#F10) +to lookup your TTKO claim balance for your prover's address. + +### Withdraw your TTKO + +Go to the Taiko L1 contract write page and select [withdrawTaikoToken(amount uint256)](https://sepolia.etherscan.io/address/0x6375394335f34848b850114b66A49D6F47f2cdA8#writeProxyContract#F11) +to withdraw TTKO balances earned from being a prover. + +Click `Connect to Web3` and connect your wallet. + + +Make sure to click the plus sign and add `10^8` decimals, or add 8 zeroes manually. + + +For example if you want to withdraw `69` TTKO, you would enter `6900000000`. + + +Make sure +```solidity +amount<=withdrawTaikoToken(proverAddress) +``` +or else the transaction will revert. + + +