-
Notifications
You must be signed in to change notification settings - Fork 8
add docs on How to get TON testnet tokens #599
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
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
2cfbfb0
add docs on how to get ton testnet tokens
fakela fac5462
add image link
fakela 712a35c
Merge branch 'main' into testnet-token
fakela fcc1727
fix formatting issues
fakela 8f84129
add light and dark theme images, with step by step breakdown
fakela 88ba7f5
add images for testnet-tokens
fakela 8e47af0
add a second option for requesting ton
fakela a8ffb8d
add link to token request form
fakela ac8b520
Update ecosystem/wallet-apps/testnet-tokens.mdx
fakela a64c6a8
Merge branch 'main' into testnet-token
fakela b0747ed
add image height
fakela 2456152
add images of wallet balance
fakela 709f99c
Ci self fix
fakela a936450
Update testnet-tokens.mdx
fakela 73270fd
moved under guidebook and added suggestions
fakela 91aa6da
Merge branch 'testnet-token' of https://github.com/tact-lang/mintlify…
fakela b6d5546
Merge branch 'main' into testnet-token
fakela 7a0f1f7
self ci fixes
fakela 86ab77b
Merge branch 'testnet-token' of https://github.com/tact-lang/mintlify…
fakela 2017d72
Update testnet-tokens.mdx
fakela 2ead880
self ci fixes
fakela a6b1617
Merge branch 'main' into testnet-token
fakela 2a3e7a6
Merge branch 'main' into testnet-token
aigerimu 7c4d5d7
Merge branch 'main' into testnet-token
aigerimu b4bced6
mid
aigerimu 82e268f
upd
aigerimu 06951cf
Merge branch 'main' into testnet-token
aigerimu 6ff87a2
ci
aigerimu 788dbe8
Merge branch 'main' into testnet-token
aigerimu 0817cbe
Update contract-dev/testing/testnet-tokens.mdx
aigerimu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,117 @@ | ||
| --- | ||
| title: "How to get Toncoin on testnet" | ||
| sidebarTitle: "Get Toncoin on testnet" | ||
| --- | ||
|
|
||
| import { Image } from '/snippets/image.jsx'; | ||
| import { Aside } from '/snippets/aside.jsx'; | ||
|
|
||
| Testnet Toncoin are free coins used for development and testing on the TON testnet. | ||
|
|
||
| To obtain testnet Toncoin, a testnet wallet is required. | ||
| See [wallets overview](/ecosystem/wallet-apps/overview) for available options. | ||
|
|
||
| Depending on the required amount of Toncoin, choose one of the following options: | ||
|
|
||
| - For regular requests of 2 TON per hour, use Telegram [Testgiver TON bot](/contract-dev/testing/testnet-tokens#use-testgiver-ton-bot). | ||
| - For larger allocations of up to 5,000 TON, submit a [request form](/contract-dev/testing/testnet-tokens#use-request-form). | ||
|
|
||
| ## Use Testgiver TON Bot | ||
|
|
||
| 1. Download [Telegram](https://telegram.org/) and create an account. | ||
|
|
||
| 1. Open [`@testgiver_ton_bot`](https://t.me/testgiver_ton_bot) in a browser and click <kbd>Open Telegram</kbd>. | ||
|
|
||
| <Image | ||
| src="/resources/images/fund-wallet/open-telegram-light.png" | ||
| darkSrc="/resources/images/fund-wallet/open-telegram-dark.png" | ||
| width={608} | ||
| height={342} | ||
| alt="Open Telegram prompt" | ||
| /> | ||
|
|
||
| 1. Once the bot opens, click <kbd>Start</kbd> to initiate the session. | ||
|
|
||
| <Image | ||
| src="/resources/images/fund-wallet/start-bot-light.png" | ||
| darkSrc="/resources/images/fund-wallet/start-bot-dark.png" | ||
| width={608} | ||
| height={342} | ||
| alt="Start bot screen" | ||
| /> | ||
|
|
||
| 1. After the `/start` command is sent, the bot displays a welcome message. Click <kbd>Get 2 TON in testnet</kbd> to request test coins. | ||
|
|
||
| <Image | ||
| src="/resources/images/fund-wallet/bot-welcome-light.png" | ||
| darkSrc="/resources/images/fund-wallet/bot-welcome-dark.png" | ||
| alt="Bot welcome screen" | ||
| /> | ||
|
|
||
| 1. A captcha prompt appears. Open the image to view it in full size and enter the displayed characters. | ||
|
|
||
| <Image | ||
| src="/resources/images/fund-wallet/captcha-light.png" | ||
| darkSrc="/resources/images/fund-wallet/captcha-dark.png" | ||
| alt="Captcha screen" | ||
| /> | ||
|
|
||
| 1. Once the captcha is complete, enter the testnet wallet address. | ||
|
|
||
| <Image | ||
| src="/resources/images/fund-wallet/enter-address-light.png" | ||
| darkSrc="/resources/images/fund-wallet/enter-address-dark.png" | ||
| alt="Enter wallet address" | ||
| /> | ||
|
|
||
| <Aside | ||
| type="caution" | ||
| > | ||
| Verify that the pasted address belongs to the **testnet**. Mainnet and testnet addresses are distinct. See [Internal address formats](/foundations/addresses/formats#flag-definitions) for details. | ||
| </Aside> | ||
aigerimu marked this conversation as resolved.
Show resolved
Hide resolved
verytactical marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| 1. After submitting the address, a message confirms that the request is queued. Then, the bot processes it and sends 2 Toncoin in testnet. | ||
|
|
||
| <Image | ||
| src="/resources/images/fund-wallet/request-confirmed-light.png" | ||
| darkSrc="/resources/images/fund-wallet/request-confirmed-dark.png" | ||
| alt="Request confirmed" | ||
| /> | ||
|
|
||
| 1. No additional confirmation is sent when the request is processed. | ||
| To confirm receipt of the testnet Toncoin, see [Verify the transfer](/contract-dev/testing/testnet-tokens#verify-the-transfer). | ||
|
|
||
| 1. To request again, open the menu in the lower-left corner, select `/get`, and repeat the steps. | ||
|
|
||
| <Image | ||
| src="/resources/images/fund-wallet/menu-light.png" | ||
| darkSrc="/resources/images/fund-wallet/menu-dark.png" | ||
| alt="Bot menu" | ||
| /> | ||
|
|
||
| ## Use request form | ||
|
|
||
| Request up to 5,000 testnet TON by completing the [token request form](https://builders.ton.org/profile/projects/new?applicationSlug=testnet-form). | ||
| The TON Foundation reviews the submission and transfers the tokens directly to the specified testnet wallet address. | ||
|
|
||
| ## Verify the transfer | ||
|
|
||
| After requesting tokens, use the Tonviewer Testnet explorer to verify that the transfer occurred. | ||
|
|
||
| 1. Open [Tonviewer Testnet](https://testnet.tonviewer.com/), enter the wallet address in the search bar, and click <kbd>Find</kbd>. | ||
|
|
||
| <Image | ||
| src="/resources/images/fund-wallet/tonviewer-light.png" | ||
| darkSrc="/resources/images/fund-wallet/tonviewer-dark.png" | ||
| alt="Tonviewer search" | ||
| /> | ||
|
|
||
| 1. The explorer shows the current balance and transaction history, including the testnet Toncoin received from the bot. The account state is `uninit`, indicating that the account is not deployed. | ||
|
|
||
| <Image | ||
| src="/resources/images/fund-wallet/account-uninit-light.png" | ||
| darkSrc="/resources/images/fund-wallet/account-uninit-dark.png" | ||
| alt="Wallet balance showing uninit state" | ||
| /> | ||
|
|
||
| 1. To [deploy the account](/ecosystem/wallet-apps/web#deploy-the-code) send any transaction from the wallet. | ||
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.