Skip to content

Commit

Permalink
Edits Claims (w3f#6011)
Browse files Browse the repository at this point in the history
* edits

- rm content
- reorg
- redirect
- sidebar edit

* rm figures

* rm banner mycrypto releaes

* added new figures

- modified text
- rm old figures

* updated figures

* minor edits

* move to js guides

* added msg box

minor edits

* sidebar name

* update figs

- show real ETH address

* added address conversion

minor edits

* minor edits

* Update docs/learn/learn-guides-claims.md

Co-authored-by: Radha <[email protected]>

* add msg box + edits

- more shadow to box
- Radha's feedback

* rm section conversion

---------

Co-authored-by: Radha <[email protected]>
  • Loading branch information
filippoweb3 and DrW3RK authored Jul 3, 2024
1 parent a5fa645 commit a5acefd
Show file tree
Hide file tree
Showing 23 changed files with 110 additions and 285 deletions.
2 changes: 1 addition & 1 deletion components/MessageBox.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
border: 1px solid #ccc;
border-radius: 10px;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
box-shadow: 0 4px 8px rgba(0, 0, 0, 1);
max-width: 270px; /* Adjust width as needed */
}

Expand Down
Binary file added docs/assets/claim-copy-msg.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/assets/claim-get-signature.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/assets/claim-paste-signature.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/assets/claim-select-dot-account.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/assets/claim-select-eth-account.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 removed docs/assets/kusama/claim/claim-1.png
Binary file not shown.
Binary file removed docs/assets/kusama/claim/claim-2.png
Binary file not shown.
Binary file removed docs/assets/kusama/claim/claim-3.png
Binary file not shown.
Binary file removed docs/assets/kusama/claim/claim-4.png
Binary file not shown.
Binary file removed docs/assets/kusama/claim/claim_3.png
Binary file not shown.
Binary file removed docs/assets/kusama/kusama_add_account.png
Binary file not shown.
Binary file removed docs/assets/kusama/kusama_backup_account.png
Binary file not shown.
Binary file removed docs/assets/kusama/kusama_copy_address.png
Binary file not shown.
Binary file removed docs/assets/kusama/kusama_create_account.png
Binary file not shown.
Binary file removed docs/assets/kusama/polkawallet-accounts-page.jpg
Binary file not shown.
Binary file removed docs/assets/kusama/polkawallet-copy-address.jpg
Binary file not shown.
Binary file removed docs/assets/kusama/polkawallet-create-account.jpg
Binary file not shown.
283 changes: 0 additions & 283 deletions docs/general/kusama/kusama-claims.md

This file was deleted.

103 changes: 103 additions & 0 deletions docs/learn/learn-guides-claims.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
---
id: learn-guides-claims
title: Polkadot-JS Guides about Claims
sidebar_label: Claim Guides
description: Step-by-step guide on how to claim your tokens.
keywords: [claims, tokens, kusama, polkadot]
slug: ../learn-guides-claims
---

import MessageBox from "../../components/MessageBox"; import "../../components/MessageBox.css";

<MessageBox message="Polkadot-JS is for developers and power users only. If you need help using the
[Polkadot-JS UI](../general/polkadotjs-ui.md), you can contact the
[Polkadot Support Team](https://support.polkadot.network/support/home). For more user-friendly tools
see the [wallets](./wallets-index), [apps](./apps-index) and [dashboard](./dashboards-index) pages." />

<MessageBox message="Screenshots on this page are based on Polkadot, but note that the same process applies to Kusama." />

If you participated in a previous DOT sale before 2020 and received your DOT allocation indicator
tokens, you can now claim your DOT (and a proportional amount of KSM on the Kusama network). The
claim process connects the address where your DOT indicators have been stored on Ethereum with a
native {{ polkadot: Polkadot :polkadot }}{{ kusama: Kusama :kusama }} address and, if your ETH
address is eligible, will pay the tokens to the
{{ polkadot: DOT :polkadot }}{{ kusama: KSM :kusama }} address.

To do this, you must sign a message on Ethereum containing the address of your
{{ polkadot: Polkadot :polkadot }}{{ kusama: Kusama :kusama }} account. You can do this by using the
Polkadot-JS UI [Claims app](https://polkadot.js.org/apps/#/claims). Ensure that you are connected to
the {{ polkadot: Polkadot :polkadot }}{{ kusama: Kusama :kusama }} network (displayed in the
upper-left-hand corner of the screen).

:::warning Third-party claim processes

Claiming using a third-party process can lead to losing your allocation; therefore, we cannot
recommend using any third-party apps. Manually specifying your transaction data, as specified in our
claims process below, is the only way to ensure you will receive your allocation.

:::

## Generate an Account

You will need to generate a {{ polkadot: Polkadot :polkadot }}{{ kusama: Kusama :kusama }} account
to claim {{ polkadot: DOT :polkadot }}{{ kusama: KSM :kusama }}. See the
[available wallets and extensions](../general/wallets-and-extensions.md) for more information about
wallets and browser extensions you can use to create an account. In terms of hardware wallet
support, you can use the [Ledger](../general/ledger.md) devices or
[Polkadot Vault](../general/polkadot-vault.md).

## Claiming Tokens

The Polkadot-JS [Claims app](https://polkadot.js.org/apps/#/claims) will guide you through the
process of claiming the tokens.

### Select Accounts

Select the account you would like to claim the
{{ polkadot: DOT :polkadot }}{{ kusama: KSM :kusama }} into and click the "Continue" button to
proceed. Your screen should look something like this:

![claim select dot account](../assets/claim-select-dot-account.png)

#### Select Account on Ethereum

Paste the Ethereum address with the DOT allocation indicator tokens and click the "Continue" button
to proceed.

![claim select eth account](../assets/claim-select-eth-account.png)

### Sign Message on Ethereum & Claim

The hex-encoded string that follows the sentence: "Pay
{{ polkadot: DOT :polkadot }}{{ kusama: KSM :kusama }} to the
{{ polkadot: Polkadot :polkadot }}{{ kusama: Kusama :kusama }} account:" is the hex-encoded public
key of your {{ polkadot: Polkadot :polkadot }}{{ kusama: Kusama :kusama }} account, minus the `0x`
prefix.

![claim copy msg](../assets/claim-copy-msg.png)

Go to
[the "Sign & Verify Message" tab on the MyCrypto web application](https://app.mycrypto.com/sign-message).
MyCrypto is good to use if you have stored the key to the Ethereum account holding your DOT
indicator tokens on a hardware device like a Ledger Nano. It also supports raw private keys,
mnemonics, and the Polkadot Vault. After unlocking your Ethereum wallet, copy and paste the
outputted sentence on the Polkadot-JS UI into the message box on the MyCrypto app. When you click
"Sign Message" you will get a JSON output signature as shown below:

![claim get signature](../assets/claim-get-signature.png)

Copy and paste the JSON output of the signed message from MyCrypto into the input box on the
Polkadot-JS UI and click "Confirm Claim."

![claim paste signature](../assets/claim-paste-signature.png)

At this point, if you are eligible, you will see a success message if everything went right and your
{{ polkadot: DOT :polkadot }}{{ kusama: KSM :kusama }} will now be in the account that you claimed
to. Congratulations! You can now participate in aspects of the
{{ polkadot: Polkadot :polkadot }}{{ kusama: Kusama :kusama }} network such as
[governance](../learn/learn-polkadot-opengov.md) and [staking](../learn/learn-staking.md).

### Verifying your Claim

After you make an on-chain claim for {{ polkadot: DOT :polkadot }}{{ kusama: KSM :kusama }}, your
Your account balance should be updated immediately.
Loading

0 comments on commit a5acefd

Please sign in to comment.