Follow our Tutorial:
Add your App in the Sismo App Store
This cheatsheet contains the full zkTelegramBot template config, as well as an explanation for each parameter.
‣
zkTelegramBot Template Config
// COPY FROM HERE
{
// NO UPDATE. Template type
type: "zkTelegramBot",
// UPDATE. App information
metadata: {
name: "Sismo Citadel", // UPDATE. Your app name
slug: "citadel", // UPDATE. Your app name in the form of a slug (no spaces allowed). It will be the last part in the URL, eg: apps.sismo.io/sismo/citadel
description:
"Prove you are a Sismo Community member to join our private Sismo Citadel Telegram Group.", // UPDATE. The description is used for SEO and social media preview of your app
image: "sismo_zktelegrambot_citadel_500x500.png", // UPDATE. Image for your app, to be placed in the images folder
tags: ["Telegram"], // UPDATE. Add one or two tags to describe your app
createdAt: new Date("2022-07-01T00:00:00.000Z"), // UPDATE. Edit the date here to today's date YYYY-MM-DD
lastUpdateAt: new Date("2022-07-01T00:00:00.000Z"), // UPDATE OR REMOVE. Edit the date here to last update date YYYY-MM-DD
},
// UPDATE. Sismo Connect request, see "Cheatsheet: Build Your Sismo Connect Request"
sismoConnectRequest: {
appId: "{{ auto-fill }}", // NO UPDATE. Sismo Connect appId is automatically created based on your app metadata
claimRequests: [{ groupId: "0xd630aa769278cacde879c5c0fe5d203c" }], // UPDATE OR REMOVE. Select group
},
// UPDATE. Config for zkTelegramBot
templateConfig: {
step1CtaText: "Prove you are Eligible", // UPDATE OR REMOVE. 1st step text when users click on the app, "Sign in with Sismo" by default
step2CtaText: "Join the Citadel Telegram Group", // UPDATE. 2nd step button text, on submitting the form
appDescription: "You will prove that you are a member of Sismo Community to join our Sismo Citadel Telegram Group.", // UPDATE OR REMOVE. Description for your app
telegramGroupId: "", // UPDATE. See "Add your App in the Sismo App Store"
telegramInviteLink: "", // UPDATE. See "Add your App in the Sismo App Store"
},
},
// UNTIL HERE
‣
Parameters Explanation
type
: zkTelegramBot template.
metadata
: app information.name
: formal app name, should reflect the app's function or purpose.slug
: URL-friendly "your-app-slug”, unique and descriptive, in lowercase and with hyphens. Part of the URL that refers to your specific app, eg: “apps.sismo.io/space-name/your-app-slug”.description
: summary of what your app does or its purpose.image
: name of your image, to be placed in images folderspace-configs/images/
.tags
: keywords associated with your app used to classify it.createdAt
: creation date for your app, eg: "2023-07-05T18:00" for a creation date on July 2023, 5 at 18:00.lastUpdateAt
(optional): last update for your app, eg: "2023-07-05T18:00" for a creation date on July 2023, 5 at 18:00.
sismoConnectRequest
: Sismo Connect request made to users’ Data Vault. To learn how to customize this part, readCheatsheet: Build Your Sismo Connect Request
templateConfig
config specific to zkTelegramBot.step1CtaText
(optional): call to action. Displayed when users click on the app, before being redirected to their Data Vault to generate a proof.step2CtaText
: call to action. Displayed after users return from their Data Vault with a valid proof.appDescription
(optional): brief description of what to expect from your app.telegramGroupId
: id of the group, which the telegram bot is added to.telegramInviteLink
: telegram invite link.
Contact us if you need help creating your Pull Request:
👉 Telegram | Discord | App Request form