-
Notifications
You must be signed in to change notification settings - Fork 30
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
Feat: add robs-cave #247
Open
robsven
wants to merge
7
commits into
sismo-core:main
Choose a base branch
from
robsven:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feat: add robs-cave #247
Changes from 5 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
03c48e6
Create Robs-cave.ts
robsven 8403e57
Rename Robs-cave.ts to robs-cave.ts
robsven ea745c3
Add files via upload
robsven 02368fe
Update space config
robsven ac36c74
Add files via upload
robsven ffd9c4a
Update robs-cave.ts
robsven 925bda9
Removed the signature line
robsven File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,98 @@ | ||
import { SpaceConfig } from "../types"; | ||
import { AuthType } from "@sismo-core/sismo-connect-server"; | ||
|
||
// UPDATE HERE ↓↓↓ | ||
export default { | ||
metadata: { | ||
name: "Robs cave", // UPDATE HERE | ||
description: | ||
"Welcome to my cave, don't expect much but feel free to dig around.", // UPDATE HERE | ||
image: "Abel_E_bunny_400x400.png", // UPDATE HERE | ||
socialLinks: [ | ||
{ | ||
type: "twitter", | ||
link: "https://twitter.com/robsvensek", // UPDATE HERE | ||
}, | ||
{ | ||
type: "github", | ||
link: "https://github.com/robsven", // UPDATE HERE | ||
}, | ||
], | ||
}, | ||
apps: [ | ||
{ | ||
// NO UPDATE. Template type | ||
type: "zkForm", | ||
// UPDATE. App information | ||
metadata: { | ||
name: "Virtual hug", // UPDATE. Your app name | ||
slug: "virtual-hug", // 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: | ||
"Get yourself a virtual hug by proving that you are part of Sismo Comunity", // UPDATE. The description is used for SEO and social media preview of your app | ||
image: "Abel_E_bunny_500x500", // UPDATE. Image for your app, to be placed in the images folder | ||
tags: ["Free hugs"], // UPDATE. Add one or two tags to describe your app | ||
createdAt: new Date("2023-09-21T00:00:00.000Z"), // UPDATE. Edit the date here to today's date YYYY-MM-DD | ||
lastUpdateAt: new Date("2023-09-21T00: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 | ||
authRequests: [ | ||
{ | ||
authType: AuthType.VAULT, | ||
} | ||
{ | ||
authType: AuthType.TWITTER, | ||
isOptional: true, | ||
} | ||
], | ||
claimRequests: [ | ||
{ | ||
// Sismo comunity member | ||
groupId: "0xd630aa769278cacde879c5c0fe5d203c", | ||
isSelectableByUser: true, | ||
} | ||
{ | ||
// gitcoin-passport-holders | ||
groupId: "0x1cde61966decb8600dfd0749bd371f12", | ||
value: 10, | ||
} | ||
signature: { message: "I want a hug" } | ||
], | ||
}, | ||
// UPDATE. Config for zkForm | ||
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: "Get hug", // UPDATE. 2nd step button text, on submitting the form | ||
fields: [ | ||
{ | ||
type: "long-text", // NO UPDATE. Your field type | ||
label: "Say hi", // UPDATE. Your field name | ||
placeholder: "Don't be shy", // 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: "Here you go, a free virtual hug", // UPDATE. Your title | ||
description: "", // UPDATE. Your message | ||
}, | ||
// UPDATE. Data storage | ||
output: { | ||
destination: { | ||
type: "google_sheet", // NO UPDATE. | ||
spreadsheetId: "1cJKfEvrvfvjjA0J3ZtcTYKw-tESP0REvRHKX5fk2g9Y", // 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("2024-05-19T18:00"), // UPDATE OR REMOVE. Your end date YYYY-MM-DD | ||
}, | ||
}, | ||
|
||
], | ||
} as SpaceConfig; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Do not forget coma after brackets