Skip to content

Commit

Permalink
Merge pull request #1441 from ipopescu/1435_add_warning
Browse files Browse the repository at this point in the history
Add details about the secret key file
  • Loading branch information
ipopescu authored May 3, 2024
2 parents 2db1a14 + 2c084f0 commit 880c4cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 3 additions & 1 deletion source/docs/casper/concepts/accounts-and-keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ You can also [generate an account hash](#generating-an-account-hash) from a publ

## Creating Accounts and Keys {#creating-accounts-and-keys}

When you create an account on the Casper blockchain, a cryptographic key-pair will be created when using either the [Casper command-line client](#option-1-key-generation-using-the-casper-client) or a block explorer.
When you create an account on the Casper blockchain, a cryptographic key-pair will be created when using either the [Casper command-line client](#option-1-key-generation-using-the-casper-client) or a block explorer. Developers must use the Casper command-line client as described below. Otherwise, they won't have access to the secret key file needed during development.

:::note

Expand Down Expand Up @@ -105,6 +105,8 @@ Start by creating an account using the [Casper Wallet](https://www.casperwallet.

:::caution

Developers must generate keys using the [Casper command-line client](#option-1-key-generation-using-the-casper-client) to access the `secret_key.pem` file.

The Casper Signer has been replaced with the Casper Wallet and will be deprecated. We recommend migrating all your Casper accounts to the Casper Wallet as outlined [here](https://www.casperwallet.io/user-guide/signer-user-start-here).

:::
Expand Down
6 changes: 2 additions & 4 deletions source/docs/casper/developers/prerequisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,9 @@ The Casper blockchain uses an on-chain account-based model, uniquely identified

By default, a transactional interaction with the blockchain takes the form of a `Deploy` cryptographically signed by the key-pair corresponding to the `PublicKey` used to create the account.

Users can create accounts using the [Casper command-line client](../concepts/accounts-and-keys.md#option-1-generating-keys-using-the-casper-client-option-1-key-generation-using-the-casper-client).
Developers must create accounts using the [Casper command-line client](../concepts/accounts-and-keys.md#option-1-generating-keys-using-the-casper-client-option-1-key-generation-using-the-casper-client) to access the `secret_key.pem` file needed during development.

Alternatively, some Casper networks, such as the official Testnet and Mainnet, provide a browser-based block explorer that allows account creation as outlined [here](../concepts/accounts-and-keys.md#option-2-generating-keys-using-a-block-explorer-option-2-key-generation-using-a-block-explorer).

Use either method to generate an account and its corresponding cryptographic key-pair.
Some Casper networks, such as the official Testnet and Mainnet, provide wallets that allow account creation as outlined here. However, these wallets do not give developers access to the secret key file.

### Generating the account hash

Expand Down

0 comments on commit 880c4cb

Please sign in to comment.