Skip to content

Commit

Permalink
Prefer ed25519 in docs and prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
kchalkias committed Sep 4, 2022
1 parent 7d4e8ca commit 8f163d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/src/build/cli-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ To create a new account, execute the `new-address` command:
```shell
$ sui client new-address ed25519
```
New address creation requires key scheme flag `{secp256k1 | ed25519}`.
New address creation requires key scheme flag `{ed25519 | secp256k1}`.

The output shows a confirmation after the account has been created:

Expand Down
2 changes: 1 addition & 1 deletion doc/src/build/devnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ Let’s assume that the placeholder for the address of the player to receive a s
```shell
$ sui client new-address ed25519
```
New address creation requires key scheme flag `{secp256k1 | ed25519}`.
New address creation requires key scheme flag `{ed25519 | secp256k1}`.
Which yields output resembling:
```shell
Expand Down
2 changes: 1 addition & 1 deletion doc/src/learn/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ For a deep dive into Sui technology, see the [Sui Smart Contracts Platform](http
The following list includes the recent updates to Sui and the documentation:

* [Bullshark](https://arxiv.org/abs/2201.05677) replaced Tusk as the default consensus component of the [Narwhal](https://github.com/MystenLabs/narwhal)-based [Sui consensus engine](../learn/architecture/consensus.md) for reduced latency and support for fairness with slower validators. Note, Tusk may still be used.
* You must now specify the key scheme type as an argument (`secp256k1` or `ed25519`) when running either the `sui keytool generate` or `sui client new-address` commands, as shown in [adding accounts to the client](../build/cli-client.md#adding-accounts-to-the-client).
* You must now specify the key scheme type as an argument (`ed25519` or `secp256k1`) when running either the `sui keytool generate` or `sui client new-address` commands, as shown in [adding accounts to the client](../build/cli-client.md#adding-accounts-to-the-client).
* [Sui version 0.8.0](https://github.com/MystenLabs/sui/releases/tag/devnet-0.8.0) is now live in Devnet with numerous fixes and enhancements, including new designs for [Sui Explorer](https://explorer.devnet.sui.io/) and [event query support](https://github.com/MystenLabs/sui/blob/main/crates/sui-json-rpc/src/event_api.rs#L122-L210) in fullnode.
* Follow the [Cryptography (math)](https://github.com/MystenLabs/sui/tree/main/sui_programmability/examples/math) example for a simple contract that hashes a piece of data using keccak256, recovers a [Secp256k1](https://crates.io/crates/secp256k1/) signature to its public key, and verifies a Secp256k1 signature, producing an event with the results.
* Sui now supports [shared objects](../build/objects.md#shared) that anyone can read or write to. For an example of creating and accessing a shared object, see [Shared Object](https://examples.sui.io/basics/shared-object.html#shared-object) on https://examples.sui.io/.
Expand Down

0 comments on commit 8f163d6

Please sign in to comment.