Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated wallet docs to remove nft create #9931

Merged
merged 2 commits into from
Mar 27, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Updated wallet docs to remove nft create
  • Loading branch information
ronny-mysten committed Mar 27, 2023
commit 233710a3d24b8b40679743661fef29886fc6f9c6
16 changes: 12 additions & 4 deletions doc/src/build/sui-local-network.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,23 +269,31 @@ For more details about Sui Explorer, see the [Explorer README](https://github.co

You can also use a local Sui Wallet to test with your local network. You can then see transactions executed from your local Sui Wallet on your local Sui Explorer.

**Note:** To run the command you have `pnpm` installed. See [Install Sui Wallet and Sui Explorer locally](#install-sui-wallet-and-sui-explorer-locally) for details.
**Note:** To run the command you must have `pnpm` installed. See [Install Sui Wallet and Sui Explorer locally](#install-sui-wallet-and-sui-explorer-locally) for details.

Before you start the Sui Wallet app, update the environment it points to by default to be your local network. To do so, first make a copy of `sui/apps/wallet/configs/environment/.env.defaults` and rename it to `.env` in the same directory. In your `.env` file, edit the first line to read `API_ENV=local`.

Run the following command from the `sui` root folder to start Sui Wallet on your local network:

```bash
pnpm wallet start
```

Follow [this guide](https://github.com/MystenLabs/sui/blob/main/apps/wallet/README.md#install-the-extension-to-chrome) to load your locally built wallet to chrome
### Add local Sui Wallet to Chrome

After you build your local version of Sui Wallet, you can add the extension to Chrome.

1. Open a Chrome browser to `chrome://extensions`.
1. Click the **Developer mode** toggle to enable, if needed.
1. Click the **Load unpacked** button and select your `sui/apps/wallet/dist` directory.

**Note** You can set the default environment for the wallet to use so that you don't have to switch network manually. For details, see [https://github.com/MystenLabs/sui/tree/main/apps/wallet#environment-variables](https://github.com/MystenLabs/sui/tree/main/apps/wallet#environment-variables).
Consult the Sui Wallet [Readme](https://github.com/MystenLabs/sui/blob/main/apps/wallet/README.md#install-the-extension-to-chrome) for more information on working with a locally built wallet on Chrome.

## Generate example data

Use the TypeScript SDK to add example data to your network.

**Note:** To run the command you must complete the `Pre-requisites for Building Apps locally` section first
**Note:** To run the command you must complete the `Pre-requisites for Building Apps locally` section first.

Run the following command from the `sui` root folder:

Expand Down
23 changes: 0 additions & 23 deletions doc/src/explore/wallet-browser.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,29 +202,6 @@ To view all of the transactions for your address, click **Apps** and then click

Sui Explorer opens with the details for your wallet address displayed.

## Mint an example NFT

You can mint an example Sui NFT directly from Sui Wallet.

Click **Apps**, then click **Mint an NFT**. In the current version, you can mint only example NFTs.

## Create a new NFT

The [Sui Wallet demo](https://sui-wallet-demo.sui.io/) site lets you create a new NFT on the Sui network using your own image file. To access the site directly from Sui Wallet, click the **Apps** tab, and then click **Sui NFT Mint**. You must have an active wallet to mint NFTs.

To mint a new NFT using the demo site
1. Open the [Sui Wallet demo](https://sui-wallet-demo.sui.io/) site.
1. Click **Connect**.
1. In your Sui Wallet, click **Connect** to connect your wallet with the demo site.
You may need to enter your wallet password.
1. Enter a **Name** and **Description** for your NFT, and then enter Image URL to the image to use.
1. Click **Create**.
1. Click **Approve** in your wallet to allow the site to add the NFT to your wallet and withdraw gas fees from your SUI balance.

After you successfully create a new NFT, you can transfer it to another wallet address. Enter the address to send it to in the **Recipient** field, then click **Transfer**. Click **Approve** in your wallet to allow the transfer.

You can view details for the transactions to create the NFT and then transfer it in [Sui Explorer](https://explorer.sui.io/).

## View your NFTs

Click the **NFTs** tab to view all of the NFTS that you mint, purchase, or receive in your wallet. This includes any NFTs that you obtain from connected apps. Click on an NFT to view additional details about it, view a larger NFT image, or send the NFT to another address.
Expand Down