Skip to content

Commit

Permalink
Add doc describing how to connect the wallet to DevNet (MystenLabs#1767)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickkuo authored May 4, 2022
1 parent 367174f commit e5b2be4
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions doc/src/build/wallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,33 @@ interface, *Wallet CLI*.

Follow the instructions to [install Sui binaries](install.md#binaries).

## Connect to DevNet
We are hosting a public DevNet for the community to experiment with our
tech and help to shape the future of Sui network. To connect the wallet
client to the DevNet, run the following command:
```shell
$ wallet
```
The wallet will print the following line if the wallet is starting up the
first time. (if you have used the wallet before with a local network,
follow [here](#manually-changing-the-gateway-url) to change the config for DevNet.)
```shell
Config file ["/Users/dir/.sui/sui_config/wallet.conf"] doesn't exist, do you want to connect to a Sui Gateway [yn]?
```
Type 'y' and then press 'Enter'. You should see the following output.
```shell
Sui Gateway Url (Default to Sui DevNet if not specified) :
```
The wallet will prompt for the Gateway URL, press 'Enter' and it will default to the DevNet,
or enter the URL if you want to connect to a Gateway hosted elsewhere.
### Manually changing the Gateway URL
If you have use the wallet before, you will have an existing `wallet.conf`.
You can change the configured Gateway URL to DevNet by using:
```shell
$ wallet switch --gateway http://gateway.devnet.sui.io:9000
```
## Genesis
The `genesis` command creates four validators and five user accounts
Expand Down

0 comments on commit e5b2be4

Please sign in to comment.