Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add config: nouns tg bot #222

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions space-configs/demo/nouns.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
// add an images folder in your space folder if you would like Sismo to host your images
import { AuthType } from "@sismo-core/sismo-connect-server";
import { SpaceConfig } from "../types";

export default {
metadata: {
name: "Nouns DAO",
description:
"This Space presents Nouns DAO Apps, offering exclusive benefits for their community members. Prove your level and unlock access to the apps.",
image: "space_nouns_pfp_500x500.png",
socialLinks: [
{
type: "link",
link: "https://nouns.wtf",
},
{
type: "twitter",
link: "https://twitter.com/nounsdao",
},
],
},
apps: [
{
type: "zkTelegramBot",
metadata: {
name: "Demo Nouns DAO Group",
slug: "join-demo-nouns-dao-group",
description:
"Prove you own a Nouns NFT to join ‘Nouns DAO' private Telegram Group.",
image: "nouns_tg_zk_bot_1014x720.png",
tags: ["Telegram"],
createdAt: new Date("2022-07-12T00:00:00.000Z"),
},
sismoConnectRequest: {
appId: "0xe955b4791fe8393dca57c2f1a0bea985",
claimRequests: [{ groupId: "0x311ece950f9ec55757eb95f3182ae5e2" }],
impersonateAddresses: ["telegram:dhadrien:1234", "0xf7cfc8b249c46ede9cccda3a08ecb58f88262623"],
},
templateConfig: {
appDescription: "gbrefnlerqgnrqehlbngkjnelsgedgeszfdgdgfrgsgfedghgtrfeds",
step2CtaText: "Join 'Nouns DAO' Telegram Group",
telegramGroupId: "-1001658867707",
telegramInviteLink: "https://t.me/+MJxmxpCwKg82M2I0",
},
},
],
} as SpaceConfig;
Empty file added space-configs/demo/space.ts
Empty file.
Binary file added space-configs/images/nouns_tg_zk_bot_1014x720.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added space-configs/images/space_nouns_pfp_500x500.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.