How to use templates

This tutorial aims to guide users on how to use the RuleOS template to create and publish a Telegram MiniApp. Through the following steps, you will be able to successfully complete the creation and configuration of the MiniApp.

1. Registration and Login

Visit the registration page. Open https://ruleos.com/console/home. Click "Start Building", and after jumping to the registration page, click "Go to Register" in the lower - right corner.

Fill in the registration information, including entering your email address, email verification code, nickname, password, etc. (If you can't receive the email verification code, you can look for it in the junk mailbox).

Confirm Registration: Click the [Register] button, and the system will redirect to the login page. Then click [Login]: Enter your account username and password, and click the [Login] button to enter the operating system.

2. Purchase a Template

Click on the [Template Market] module, select a template, and you will be redirected to the purchase page.

Click on the [Purchase Template] function.

In the pop-up window, click on [Connect Wallet] and select the wallet to be connected.

After the connection is successful, click on [Purchase Template].

3. Use the Template

Click on ["Development Center"], and then click on ["Template"]. You can see the MiniApp template that was just purchased. After clicking on [Use Template], a prompt will pop up. Click on [Confirm] to enter the MiniApp editing page.

Select ["Basic Information"], upload the project icon, enter the name and description, and you can select or switch the template in the lower right corner.

Select ["Edit Theme"], click on the ["Quick Configuration"] button, enter the token name, and replace the main visual image (you can use the AI that comes with the system to generate it).

【Create Rules】

In the Play Ground, you can set up the airdrop function here. Click on the picture to change the background image (you can use the AI that comes with the system to generate it), enter the title and the cross-transfer Dapp link, and then click the confirmation button in the upper right corner.

5. Deploy Domain Name

After completing the above steps, after jumping to the development center page, select the miniapp that was just created, click 【Deploy Domain Name】. In the pop-up window, fill in the domain name in the available domain names section, or you can use the free domain name provided by RuleOS officially. After filling in the domain name, click OK to check if the domain name is filled in correctly. After confirming that there are no errors, click 【OK】 again.

6. Publish Tg Bot

At this point, the basic settings of the miniapp have been created. Next, to publish the Dapp built by RuleOS as a Telegram mini-program, the following related operations need to be done:

Select the App that was just published, click 【Publish Tg Bot】, enter the API when creating the Bot, and then click 【OK】.

7. Product Editing

If you want to change the information of an already configured MiniApp, you need to click on the Dapp, select the App that needs to be changed, and then click the 【Edit】 button to change the information.

Last updated