Skip to content

Commit

Permalink
wording
Browse files Browse the repository at this point in the history
  • Loading branch information
0xaptosj committed Sep 4, 2024
1 parent 274f032 commit a0e1dc4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ You can access a live demo of the mini app by starting a chat with the example b

See the [boilerplate template doc](https://aptos.dev/en/build/create-aptos-dapp/templates/boilerplate) for details about the boilerplate template itself.

After you have followed the boilerplate template doc instructions to publish the contract and deploy the frontend, you can follow the steps below to make the dapp runnable as a telegram mini app.
After you have followed the boilerplate template doc instructions to publish the contract and deploy the frontend, you can follow the steps below to make the dapp runnable as a Telegram mini app.

<Steps>

### Create a telegram bot
### Create a Telegram bot

Start a chat with [BotFather](https://t.me/BotFather), use the `/newbot` command to create a new bot.

### Create a telegram mini app
### Create a Telegram mini app

Use the `/newapp` commend to create a new mini app and link the mini app with the bot you just created. When BotFather asks for the mini app's URL, provide the URL of the frontend you deployed.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ You can access a live demo of the mini app by starting a chat with the example b

See the [boilerplate template doc](https://aptos.dev/en/build/create-aptos-dapp/templates/boilerplate) for details about the boilerplate template itself.

After you have followed the boilerplate template doc instructions to [publish the contract](https://aptos.dev/en/build/create-aptos-dapp/templates/boilerplate#getting-started), you can follow the steps below to make the dapp runnable as a telegram mini app.
After you have followed the boilerplate template doc instructions to [publish the contract](https://aptos.dev/en/build/create-aptos-dapp/templates/boilerplate#getting-started), you can follow the steps below to make the dapp runnable as a Telegram mini app.
<Steps>

### Create a telegram bot
### Create a Telegram bot

Start a chat with [BotFather](https://t.me/BotFather), use the `/newbot` command to create a new bot.

### Obtain the app ID from mizu wallet
### Obtain the app ID from Mizu wallet

In order to achieve a seamless signing experience, we use [@mizuwallet-sdk/core](https://www.npmjs.com/package/@mizuwallet-sdk/core) directly instead of the Wallet Adapter in this template, follow the [Mizu doc](https://docs.mizu.io/docs/api-connect/core) to add it to your project.

Expand All @@ -31,7 +31,7 @@ Then contact the [Mizu team](https://mizu.io/) to get the app ID by providing th

Fill in `VITE_MIZU_WALLET_APP_ID` in `.env` with the app ID you obtained from the Mizu team. Then deploy the frontend.

### Create a telegram mini app
### Create a Telegram mini app

Use the `/newapp` command to create a new mini app and link the mini app with the bot you just created. When BotFather asks for the mini app's URL, provide the URL of the frontend you deployed.

Expand Down

0 comments on commit a0e1dc4

Please sign in to comment.