-
Notifications
You must be signed in to change notification settings - Fork 0
fill how to find jetton wallet page #595
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
base: main
Are you sure you want to change the base?
Conversation
To fix the formatting issues:
npx remark -o --quiet --silently-ignore standard/tokens/jettons/how-to-find-Jetton-wallet.mdx |
To fix the formatting issues:
npx remark -o --quiet --silently-ignore standard/tokens/jettons/how-to-find-Jetton-wallet.mdx |
Thanks for the Jettons wallet doc update. A few high‑severity style‑guide issues need fixes before this can merge, all within Findings (3)High (3)[HIGH] Placeholders not defined on first useLocation:
Description: Suggestion: --- a/standard/tokens/jettons/how-to-find-Jetton-wallet.mdx
+++ b/standard/tokens/jettons/how-to-find-Jetton-wallet.mdx
@@
import TonWeb from 'tonweb';
const tonweb = new TonWeb();
-const JettonMinter = new TonWeb.token.jetton.JettonMinter(tonweb.provider, { address: '<jetton_MASTER_ADDRESS>' });
+const JettonMinter = new TonWeb.token.jetton.JettonMinter(tonweb.provider, { address: '<JETTON_MASTER_ADDRESS>' });
const jettonWalletAddress = await JettonMinter.getJettonWalletAddress(new TonWeb.utils.Address('<OWNER_WALLET_ADDRESS>'));
@@
console.log('jetton wallet address:', jettonWalletAddress.toString(true, true, true)); +Define placeholders (first use):
[HIGH] Unlabeled partial code snippetsLocation:
Description: Suggestion: --- a/standard/tokens/jettons/how-to-find-Jetton-wallet.mdx
+++ b/standard/tokens/jettons/how-to-find-Jetton-wallet.mdx
@@
the Jetton master contract provides the `get_wallet_address (slice owner_address)` method.
+Not runnable
```typescript
@@
-However, if you know the jetton wallet code and storage structure, you can calculate the wallet address without making network requests.
+However, if you know the jetton wallet code and storage structure, you can calculate the wallet address without making network requests.
+Not runnable
```typescript
@@
-of the Jetton wallet and thus calculate its address.
+of the Jetton wallet and thus calculate its address.
+Not runnable
```typescript |
…lify-ton-docs into how-to-find-jetton-wallet
|
||
 | ||
|
||
Finally, you can use [built-in APIs](/ecosystem/rpc/toncenter). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How exactly should I use TonCenter's API for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't we already using it in the code snippet above?
...
const client = new TonClient({
endpoint: 'https://toncenter.com/api/v2/jsonRPC',
});
...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want to refer to convinient https://companyname-a7d5b98e.mintlify.app/api-reference/jettons/list-jetton-wallets page, but I do not know how to do it correctly, since in the repo there is no specific page for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a few more comments
…lify-ton-docs into how-to-find-jetton-wallet
To fix the formatting issues:
npx remark -o --silent --silently-ignore standard/tokens/jettons/how-to-find.mdx |
Closes #217