From cb5e6d7f1134f5d95adfcacc6be35ba64c965395 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20Bro=C5=84ski?= Date: Wed, 12 Jul 2023 16:51:28 +0200 Subject: [PATCH 1/2] Remove old ledger setup page --- config/sidebar.config.js | 1 - source/docs/casper/workflow/ledger-setup.md | 162 -------------------- 2 files changed, 163 deletions(-) delete mode 100644 source/docs/casper/workflow/ledger-setup.md diff --git a/config/sidebar.config.js b/config/sidebar.config.js index bb877d260b..9007ba61ec 100644 --- a/config/sidebar.config.js +++ b/config/sidebar.config.js @@ -310,7 +310,6 @@ module.exports = { "users/funding-from-exchanges", "users/testnet-faucet", ], - workflow: ["workflow/ledger-setup"], // BELOW ITEMS ARE COMMENTED OUT BECAUSE WE COULD NOT LOCATE PLACE FOR THEM IN THE NEW STRUCTURE: /*"dapp-dev-guide": [ "dapp-dev-guide/json-rpc", diff --git a/source/docs/casper/workflow/ledger-setup.md b/source/docs/casper/workflow/ledger-setup.md deleted file mode 100644 index dfe850c839..0000000000 --- a/source/docs/casper/workflow/ledger-setup.md +++ /dev/null @@ -1,162 +0,0 @@ -# Ledger Setup - -import useBaseUrl from '@docusaurus/useBaseUrl'; - - - -A Ledger Device is a hardware wallet that is considered one of the most secure ways to store your digital assets. Ledger uses an offline, or cold storage, method of generating private keys, making it a preferred method for many crypto users. This guide will help you connect your Ledger device to a Casper account using the [cspr.live](https://cspr.live/) block explorer to send and receive CSPR tokens. - -If you need help, contact us on the following services: - -- Twitter: -- Discord: -- Telegram: - -## Requirements {#requirements} - -You can also find these instructions at the official Ledger support site [here](https://support.ledger.com/hc/en-us/articles/4416379141009-Casper-CSPR-?docs=true). - -### Before you begin {#before-you-begin} - -1. You have initialized your Ledger Nano S/X. -2. You have installed the latest firmware on your Ledger Nano S/X. -3. Ledger Live is ready to use. -4. You have installed a Chromium-based browser such as Chrome or Brave. - -### Install the Casper app on the Ledger device {#install-the-casper-app-on-the-ledger-device} - -1. Open the Manager in Ledger Live. -2. Connect and unlock your Ledger device. -3. If asked, allow the manager on your device by pressing the right button. -4. Find Casper in the app catalog. -5. Click the Install button of the app. -6. An installation window appears. -7. Your device will display **"Processing..."** -8. The app installation is confirmed. - -## Use Ledger with a Block Explorer {#use-ledger-with-a-block-explorer} - -### Sign in {#sign-in} - -You can now use the Ledger device with the [cspr.live](https://cspr.live/) block explorer. Follow these steps: - -1. Connect and unlock your Ledger device. -2. Open the Casper app on your Ledger device. -3. Go to [cspr.live/sign-in](https://cspr.live/sign-in). -4. Click on the **Connect** button in the Ledger section. -5. Click on the **Connect to Ledger wallet** button. -6. Select an account you want to use. -7. Now, your Ledger device is connected to the block explorer. - -### View account details {#view-account-details} - -1. Go to [cspr.live](https://cspr.live). -2. Click on the account in the upper-right corner of the page. - -3-view-account - -3. Click on the **View account** button. - -6-view-account-button - -4. You are presented with a page displaying details about your account. - -4-account-details - -### View account balance {#view-account-balance} - -You can check your account's main purse balance using the block explorer: - -1. Follow the steps described in the "View account details" section above. -2. On the **Liquid Account Balance** row, you will see the latest purse balance. - -### Receive tokens {#receive-tokens} - -To receive tokens, you need to provide the sender with the public key of your account. To find it: - -1. Open the account details page (see the "View account details" section). -2. Copy the public key found on the **Public Key** row. -3. Alternatively, click on the drop-down menu on your account address. - -3-view-account - -1. Click on the **Copy public key** button. -2. Share the public key with the sender. - -### Send tokens {#send-tokens} - -1. Go to [cspr.live](https://cspr.live). -2. Sign in with your Ledger device. -3. Click on **Wallet** and then **Transfer CSPR**. - -5-transfer-wallet - -4. Fill in the details for the transfer. - -1-transfer-details - -5. Click on the **Next** button. -6. On the next page, click **Confirm and transfer**. - -2-transfer-confirm - -1. On the **Sign transaction** page, click on the **Sign with Ledger** button. - -3-transfer-sign - -8. Your Ledger hardware wallet will present you with transfer details. Verify the transfer details (txn hash, chain ID, source **account**, fee, target, and amount). - -**Verify the transaction on your Ledger device** - -Press the right button on your Ledger Device to review the transaction details (Amount and Address) until you see **"Approve"**. - -1. Verify the **txn hash** - make sure it matches the value displayed on [cspr.live](https://cspr.live). - -3-txn-1 - -The _txn hash_ value continues on a second screen. - -4-txn-2 - -2. The next page displays transaction **type** - for CSPR transfers, that will be **Token transfer**. - -5-type - -3. Verify the **chain ID**, which identifies the network on which you want to send the transaction. - -7-chain - -4. Verify the **account**, which is the public key of the account that initiated the transaction. - -8-account-1 - -The _account_ value continues on a second screen. - -9-account-2 - -5. Verify the **fee**. For CSPR token transfers, that value should be constant and equal to 10 000 motes = 0.00001 CSPR. - -10-fee - -6. Verify **target** - **NOTE** this **IS NOT** a public key of the recipient but the hash of that key. Compare the public key with the value in the block explorer which shows you two fields for the recipient public key and target. - -11-target-1 - -The _target_ value continues on a second screen. - -12-target-2 - -7. Verify the **amount** you want to transfer. - -13-amount - -8. If you approve the transaction, click both buttons on the Ledger device. - -15-approve - -After approving the transaction with your Ledger hardware wallet, the [cspr.live](https://cspr.live) block explorer will display a "Transfer completed" page. - -4-transfer-completed - -You can now check your account to see a list of all the completed transfers. From e39a601ebd2d765fed69ec091477587c4905fe25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20Bro=C5=84ski?= Date: Wed, 12 Jul 2023 16:51:58 +0200 Subject: [PATCH 2/2] Update slug for new ledger setup tutorial --- source/docs/casper/users/ledger-setup.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/docs/casper/users/ledger-setup.md b/source/docs/casper/users/ledger-setup.md index 480be9e4a2..434458d45c 100644 --- a/source/docs/casper/users/ledger-setup.md +++ b/source/docs/casper/users/ledger-setup.md @@ -1,3 +1,7 @@ +--- +slug: /workflow/ledger-setup/ +--- + # Ledger Setup with Casper import useBaseUrl from '@docusaurus/useBaseUrl';