Setup guide

2. Add a username to your test account

3. Install dependencies

npm install @argent/tma-wallet starknet

@argent/tma-wallet is the Telegram wallet library.

starknet.js is used to interact with Starknet.

4. Create a Telegram Bot

Start a chat with @BotFather.

Prompt /newbot and follow the instructions.

5. Create a Telegram mini-app

Run /newapp and follow the instructions.

You’ll be asked by BotFather to send a webapp url. You can either send anything and change it later or complete this after deploying your webapp.

Last updated