Skip to content

Commit

Permalink
[CAD] Remove seamless signing from cad tg template (#634)
Browse files Browse the repository at this point in the history
remove seamless signing from cad tg template
  • Loading branch information
0xaptosj authored Sep 26, 2024
1 parent 619cf2b commit e5364e4
Showing 1 changed file with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,8 @@ import { Callout, Steps } from 'nextra/components';

# Create Aptos Dapp Telegram Clicker Game Mini App Template

This template provides a ready to use clicker game dapp that can be run as a Telegram Mini App.

We provide 2 signing experience for the Telegram Mini App, you can choose one of them during the setup:
- explicit signing - the user needs to sign each transaction, this is powered by [Aptos Wallet Adapter](https://github.com/aptos-labs/aptos-wallet-adapter) similar to other dapps
This template provides a ready to use clicker game dapp that can be run as a Telegram Mini App. It uese the Aptos Wallet Adapter to give you out of the box support. Under the hood, it's powered by [Mizu Wallet](https://mizu.io/).
- [demo](https://t.me/aptos_explict_siging_bot/)
- seamless signing - the user doesn't need to sign each transaction because the approval is done in the background, this is powered by [Mizu Wallet SDK Core](https://docs.mizu.io/docs/api-connect/core)
- [demo](https://t.me/seamless345_bot/)

## Getting started

Expand All @@ -32,12 +27,6 @@ This command will:

Start a chat with [BotFather](https://t.me/BotFather), use the `/newbot` command to create a new bot. You can learn more about the process at [Telegram Docs](https://docs.telegram-mini-apps.com/platform/creating-new-app#creating-application-in-botfather).

### (Optional) Obtain the app ID from Mizu wallet

If you choose the seamless signing experience, you are using `@mizuwallet-sdk/core` instead of Aptos Wallet Adapter. You need to obtain a Mizu App ID from the Mizu team by filling up their [form](https://ankaalabs.typeform.com/to/bAPqSxDu). Once you have the App ID, set it in the `.env` file as `VITE_MIZU_WALLET_APP_ID`.

You can learn more about using it in the [Mizu doc](https://docs.mizu.io/docs/api-connect/core).

### Host the frontend

`create-aptos-dapp` provides an npm command to easily deploy the static site to [Vercel](https://vercel.com/home).
Expand Down

0 comments on commit e5364e4

Please sign in to comment.