docs: split wallet-evm and wallet-solana usage.md into how-to guides#105
Merged
gatteo merged 5 commits intotetherto:developfrom Mar 24, 2026
Merged
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.
…agement rename The file was renamed to manage-accounts.md (PR 108) but SUMMARY.md still pointed to the old name.
…n EVM guides - getting-started: link WalletManagerEvm to API ref - check-balances: reword getBalance/getTokenBalance/getTokenBalances with API ref links, link WalletManagerEvm and WalletAccountReadOnlyEvm, split read-only section into separate subsections - send-transactions: add API ref links for sendTransaction, quoteSendTransaction, getFeeRates - transfer-tokens: add API ref links for transfer and quoteTransfer, reword validation section, split validation into stepped subsections - sign-verify-messages: add API ref links for sign, verify, toReadOnlyAccount, WalletAccountReadOnlyEvm - error-handling: add API ref links for getFeeRates and dispose Addresses review comments from lucas-tortora on PR tetherto#105.
…n Solana guides Apply the same style as the EVM guides per lucas-tortora's review: - getting-started: link WalletManagerSolana to API ref - account-management: link getAccount and getAccountByPath to API ref - check-balances: reword getBalance/getTokenBalance with API ref links, link WalletManagerSolana and WalletAccountReadOnlySolana, split read-only section into separate subsections - send-transactions: add API ref links for sendTransaction, quoteSendTransaction, getFeeRates - transfer-tokens: add API ref links for transfer and quoteTransfer, split validation into stepped subsections - sign-verify-messages: add API ref links for sign, verify, toReadOnlyAccount, WalletAccountReadOnlySolana - error-handling: add API ref links for getFeeRates and dispose Addresses lucas-tortora's overall review note on PR tetherto#105: "Please apply the same style to Solana as well."
Closed
lucas-tortora
approved these changes
Mar 17, 2026
gatteo
approved these changes
Mar 24, 2026
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