-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
import { SpaceConfig } from "../types"; | ||
import { AuthType } from "@sismo-core/sismo-connect-server"; | ||
|
||
// UPDATE HERE ↓↓↓ | ||
export default { | ||
metadata: { | ||
name: "Farcaster protocol", // UPDATE HERE | ||
description: | ||
"Space dedicated to Farcaster protocol.", // UPDATE HERE | ||
image: "farcaster_space_pfp.png", // UPDATE HERE | ||
socialLinks: [ | ||
{ | ||
type: "link", | ||
link: "https://www.farcaster.xyz/", // UPDATE HERE | ||
}, | ||
], | ||
}, | ||
apps: [ | ||
{ | ||
// NO UPDATE. Template type | ||
type: "zkForm", | ||
// UPDATE. App information | ||
metadata: { | ||
name: "Warpcast invite for EthCC[6] Attendees", // UPDATE. Your app name | ||
slug: "warpcast-invite", // 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/swag-lottery | ||
description: | ||
"Prove you have attended EthCC[6] and claim your Warpcast invite.", // UPDATE. The description is used for SEO and social media preview of your app | ||
image: "warpcaster_invite.png", // UPDATE. Image for your app, to be placed in the images folder | ||
tags: ["warpcast"], // UPDATE. Add one or two tags to describe your app | ||
createdAt: new Date("2022-07-22T00: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: "0x18aefc6c64fd2be0f4cb4cc0d16c9792", // NO UPDATE. Sismo Connect appId is automatically created based on your app metadata | ||
authRequests: [{ authType: AuthType.VAULT }], // UPDATE OR REMOVE. Select auth | ||
claimRequests: [{ groupId: "0x3a027cf4f8a0c300a3ba1592caa2cb08" }], // UPDATE OR REMOVE. Select group | ||
}, | ||
// UPDATE. Config for zkForm | ||
templateConfig: { | ||
step1CtaText: "Sign in with Sismo", // UPDATE OR REMOVE. 1st step text when users click on the app, "Sign in with Sismo" by default | ||
step2CtaText: "Get your Warpcast invite", // UPDATE. 2nd step button text, on submitting the form | ||
appDescription: "Prove that you hold EthCC[6] Attendees POAP, share your email and receive an invite to Warpcast.", // UPDATE OR REMOVE. Description for your app | ||
// UPDATE OR REMOVE. Form fields | ||
fields: [ | ||
{ | ||
type: "short-text", // NO UPDATE. Your field type | ||
label: "Email", // UPDATE. Your field name | ||
placeholder: "The invite will be sent to you via email.", // UPDATE OR REMOVE. Your helper text | ||
isRequired: true, // UPDATE OR REMOVE. Field required or not, true by default | ||
}, | ||
], | ||
// UPDATE OR REMOVE. Success form message | ||
congratulationsMessage: { | ||
title: "Congrats!", // UPDATE. Your title | ||
description: "Your invite will be sent to you via email shortly 💜 ", // UPDATE. Your message | ||
}, | ||
// UPDATE OR REMOVE. User selection | ||
// userSelection: { type: "Lottery", maxNumberOfEntries: 10, numberOfWinners: 10 }, // UPDATE. Your type: "Lottery" or "FCFS". If "FCFS", only use parameter "maxNumberOfUsers". See Parameters explanation below. | ||
// UPDATE. Data storage | ||
output: { | ||
destination: { | ||
type: "google_sheet", // NO UPDATE. | ||
spreadsheetId: "1Jl_pdYjOlGie8mqLVpRMpY3JDHVEPYKBaP9qOHCcoK0", // UPDATE. See "Add your App in the Sismo App Store" | ||
}, | ||
// saveAuths: true, // UPDATE OR REMOVE. Save Auths outputs in spreadsheet | ||
// saveClaims: true, // UPDATE OR REMOVE. Save Claims outputs in spreadsheet | ||
}, | ||
}, | ||
// UPDATE OR REMOVE. App dates | ||
options: { | ||
// startDate: new Date("2023-05-12T18:00"), // UPDATE OR REMOVE. Your start date YYYY-MM-DD | ||
endDate: new Date("2023-08-22T18:00"), // UPDATE OR REMOVE. Your end date YYYY-MM-DD | ||
}, | ||
}, | ||
], | ||
} as SpaceConfig; |
b64e200
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
sismo-spaces – ./
sismo-spaces.vercel.app
sismo-spaces-sismo.vercel.app
sismo-spaces-git-main-sismo.vercel.app
apps.sismo.io
spaces.sismo.io
b64e200
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
demo-sismo-spaces – ./
demo-sismo-spaces.vercel.app
demo-sismo-spaces-sismo.vercel.app
demo.apps.sismo.io
demo-sismo-spaces-git-main-sismo.vercel.app
demo.spaces.sismo.io