Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

feat: add Revoke guide #285

Merged
merged 1 commit into from
Apr 13, 2024
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
Binary file added docs/apps/assets/approval-list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/apps/assets/confirm-connection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/apps/assets/connect-to-wallet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/apps/assets/revoke-approval.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/apps/assets/revoke-success.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions docs/apps/revoke.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
description: Review and revoke your token approvals for dApps in the Ronin ecosystem.
sidebar_label: Revoke
title: Ronin Token Revoke
slug: /apps/revoke/
---

import approvalList from './assets/approval-list.png'
import confirmConnection from './assets/confirm-connection.png'
import connectToWallet from './assets/connect-to-wallet.png'
import revokeApproval from './assets/revoke-approval.png'
import revokeSuccess from './assets/revoke-success.png'

## Overview

Ronin Token Revoke ("Revoke" for short) is a tool built for revoking approvals that you previoisly granted to a Ronin dApp's smart contract to handle your digital assets, such as tokens and NFTs.

:::info
The Revoke tool can't be used for revoking signatures or dApp connections with your wallet.
:::

## Revoke a token approval

To revoke a token approval, follow these steps:

1. Open the [Revoke](https://ronin.axiedao.org/revoke/) tool and click **Connect to Ronin Wallet**.
<img src = {connectToWallet} width={1000} />

2. If this is your first time connecting to the AxieDAO (Decentralized Autonomous Organization) website, then in your Ronin Wallet, grant permission by clicking **Next**, then **Connect**.
<img src = {confirmConnection} width={1000} />

3. Review the list of token approvals associated with your connected Ronin address, sorted by dApp. Each approval has a link to the respective smart contract that handles the token.
<img src = {approvalList} width={1000} />

4. Find the approval that you want to revoke, then click **Revoke,** and then confirm the transaction in your wallet.
<img src = {revokeApproval} width={1000} />

5. After a few seconds, the approval's status changes to **Revoked** and a confirmation pop-up appears indicating that the revoke transaction is completed.
<img src = {revokeSuccess} width={1000} />

Done. You have successfully revoked the token approval for the selected dApp. If you want to use the same dApp after revoking its token approval, you'll be asked to approve once again.
2 changes: 2 additions & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ const sidebars = {
slug: '/apps',
},
items: [
// Token Revoke
'apps/revoke',
// RNS
{
type: 'category',
Expand Down
Loading