docs: split wallet-evm and wallet-solana usage.md into how-to guides#105
Open
ihsraham wants to merge 1 commit intotetherto:developfrom
Open
docs: split wallet-evm and wallet-solana usage.md into how-to guides#105ihsraham wants to merge 1 commit intotetherto:developfrom
ihsraham wants to merge 1 commit intotetherto:developfrom
Conversation
…(WDKDOCS-188, WDKDOCS-190) Split the monolithic usage.md for wallet-evm and wallet-solana into 7 distinct how-to guides each, following the pattern established by the core module guides.
lucas-tortora
requested changes
Mar 12, 2026
Contributor
lucas-tortora
left a comment
There was a problem hiding this comment.
Very nice PR :) It's quite an improvement. I left some comments about adding a bit more text and a lot of links to API refs on the EVM guides. Please apply the same style to Solana as well
|
|
||
| ## Sign a Message | ||
|
|
||
| Use `account.sign()` to produce a cryptographic signature for any string message. |
|
|
||
| ## Verify a Signature | ||
|
|
||
| Use a read-only account to verify that a signature was produced by the corresponding private key. |
Contributor
There was a problem hiding this comment.
Suggested change
| Use a read-only account to verify that a signature was produced by the corresponding private key. | |
| You can get a [read-only account](/sdk/wallet-modules/wallet-evm/api-reference#walletaccountreadonlyevm) from any `Account` object by calling `account.toReadOnlyAccount()`[link to api ref]. | |
| Use a read-only account to [`verify()`](sdk/wallet-modules/wallet-evm/api-reference#verify-message-signature-1) that a signature was produced by the corresponding private key. |
| {% endcode %} | ||
|
|
||
| {% hint style="info" %} | ||
| You can also create a `WalletAccountReadOnlyEvm` from any public address to verify signatures without access to the private key. |
|
|
||
| ## Manage Fee Limits | ||
|
|
||
| Set `transferMaxFee` when creating the wallet to prevent transactions from exceeding a maximum gas cost. Retrieve current network rates with `getFeeRates()` to make informed decisions. |
Contributor
There was a problem hiding this comment.
/sdk/wallet-modules/wallet-evm/api-reference#getfeerates
| {% endcode %} | ||
|
|
||
| {% hint style="warning" %} | ||
| Always call `dispose()` in a `finally` block or cleanup handler to ensure sensitive data is cleared even if an error occurs. |
Contributor
There was a problem hiding this comment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Addresses WDKDOCS-188 (wallet-evm) and WDKDOCS-190 (wallet-solana).
usage.mdfor wallet-evm and wallet-solana into 7 distinct how-to guides each, following the pattern established by the core module guides.usage.mdfiles into hub pages with card tables linking to the new guides.SUMMARY.mdto add sidebar navigation entries for all 14 new guides.New Guides (per module)
Files Changed
sdk/wallet-modules/wallet-evm/guides/+ 7 insdk/wallet-modules/wallet-solana/guides/SUMMARY.md,wallet-evm/usage.md,wallet-solana/usage.mdTest plan