Skip to content

Commit ff098a3

Browse files
authored
Update meshwallet.mdx
- improved readiness - fixed missing link
1 parent ec9128a commit ff098a3

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

apps/docs/content/docs/apis/wallets/meshwallet.mdx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ You can initialize Mesh Wallet with:
2121
- Cardano CLI Generated Keys
2222
- Address (Read Only Wallet)
2323

24-
First, we initialize a Provider, which we will assign provider to the `fetcher` and `submitter`.
24+
First, we initialize a new Provider.
2525

2626
<Tabs items={["Maestro", "Blockfrost", "Koios", "UTxORPC"]}>
2727
<Tab value="Maestro">
@@ -64,9 +64,9 @@ First, we initialize a Provider, which we will assign provider to the `fetcher`
6464
</Tabs>
6565

6666

67-
### Menmonice Phrases
67+
### Mnemonic Phrases
6868

69-
We can load wallet with menmonice phrases:
69+
We can load a wallet with mnemonic phrases, and assign our provider to the `fetcher` and `submitter`:
7070

7171
```tsx
7272
import { MeshWallet } from '@meshsdk/core';
@@ -91,7 +91,7 @@ const address = wallet.getChangeAddress();
9191

9292
### Private Keys
9393

94-
We can load wallet with private keys:
94+
We can load a wallet with private keys:
9595

9696
```tsx
9797
import { MeshWallet } from '@meshsdk/core';
@@ -110,7 +110,7 @@ const wallet = new MeshWallet({
110110

111111
### Cardano CLI generated skeys
112112

113-
We can load wallet with CLI generated keys by providing the `skey` generated by Cardano CLI. There are two files generated by Cardano CLI, by default it is named `signing.skey` and `stake.skey`. Opening the `signing.skey` file it should contains:
113+
We can load a wallet with CLI-generated keys by providing the `skey` generated by Cardano CLI. There are two files generated by Cardano CLI, by default, it is named `signing.skey` and `stake.skey`. Opening the `signing.skey` file should show:
114114

115115
```tsx
116116
{
@@ -140,7 +140,7 @@ const wallet = new MeshWallet({
140140

141141
### Address
142142

143-
We can load wallet with address, this is useful for read-only wallets. A read-only wallet can only query the blockchain, it cannot sign transactions. This is useful for monitoring wallets. We can load wallet with the `address` type:
143+
We can load a wallet with address, this is useful for read-only wallets. A read-only wallet can only query the blockchain, it cannot sign transactions. This is useful for monitoring wallets. We can load wallet with the `address` type:
144144

145145
```tsx
146146
import { MeshWallet } from '@meshsdk/core';
@@ -164,7 +164,7 @@ After creating the wallet, we need to initialize it. This will initialize the cr
164164
await wallet.init()
165165
```
166166

167-
With the `wallet` loaded, you can sign transactions, we will see how to do this in the next section, for now lets get the wallet's address:
167+
With the `wallet` loaded, you can sign transactions, we will see how to do this in the [Sign Transaction](https://meshjs.dev/apis/wallets/meshwallet#sign-transaction) section, for now lets get the wallet's address:
168168

169169
```tsx
170170
const address = wallet.getChangeAddress();
@@ -226,7 +226,7 @@ Example response:
226226

227227
## Get Change Address
228228

229-
This API returns an address owned by the wallet that should be used as a change address. A change address is essential during transaction creation to ensure leftover assets are securely returned to the connected wallet.
229+
This API returns an address owned by the wallet which is essential during transaction creation to ensure leftover assets are securely returned to the connected wallet.
230230

231231
The change address helps maintain the integrity of transactions by preventing asset loss and ensuring proper allocation of funds.
232232

@@ -440,7 +440,7 @@ This functionality is essential for applications that require secure and verifia
440440
```
441441
</Card>
442442

443-
Continue reading this guide to learn how to verify the signature.
443+
Check out [this guide](https://meshjs.dev/guides/prove-wallet-ownership#server-verify-signature) to learn how to verify the signature.
444444

445445
Example response:
446446
```tsx
@@ -463,7 +463,7 @@ This functionality is vital for applications that need to interact with the bloc
463463

464464
Create a transaction and sign it
465465

466-
Check out **Transaction** to learn more on how to use this API.
466+
Check out [MeshWallet](https://docs.meshjs.dev/wallets/classes/MeshWallet#signTx) documentation to learn more on how to use this API.
467467

468468
```tsx
469469
const signedTx = await wallet.signTx(tx, partialSign?);
@@ -484,7 +484,7 @@ This functionality is essential for applications that rely on wallet integration
484484
485485
Submit a signed transaction with wallet
486486
487-
Check out **Transaction** to learn more on how to use this API.
487+
Check out [MeshWallet](https://docs.meshjs.dev/wallets/classes/MeshWallet#submitTx) documentation to learn more on how to use this API.
488488
489489
```tsx
490490
const txHash = await wallet.submitTx(signedTx);
@@ -631,4 +631,4 @@ Example response:
631631
"publicKeyHash": "9f7f4b78...df83bd227e943e9808450",
632632
"dRepIDCip105": "drep1vz0h7jmc...0axqgg5q4dls5u"
633633
}
634-
```
634+
```

0 commit comments

Comments
 (0)