-
Notifications
You must be signed in to change notification settings - Fork 202
/
local.ts
71 lines (69 loc) · 2.35 KB
/
local.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// nocommit
import {
hydraS1LocalRegistryTree,
hydraS1LocalBadges,
} from "@badges-metadata/local/hydra-s1-accountbound";
import { createFlows } from "@flows/utils";
import { Flow } from "topics/flow";
import { Network } from "topics/registry-tree";
const customizedLocalFlows: Flow[] = [
{
path: "ethereum-power-users",
registryTree: hydraS1LocalRegistryTree.name,
networks: [Network.Local],
registryTreeType: "hydra-s1",
badgesCollection: hydraS1LocalBadges,
badgesInternalCollectionsIds: [4],
title: "",
logoUrl: null,
subtitle: "Join Ethereum Power Users community",
onboardingDescription:
"Prove you are one of the biggest Ethereum users and access the governance around the badge on snapshot.",
ctaLabel: "Access gated channel",
ctaUrl: "https://discord.gg/sismo",
congratulationTexts: ["Provide feedback on Discord", "Join Snapshot Space"],
},
{
path: "proof-of-humanity",
registryTree: hydraS1LocalRegistryTree.name,
networks: [Network.Local],
registryTreeType: "hydra-s1",
badgesCollection: hydraS1LocalBadges,
badgesInternalCollectionsIds: [8],
title: "Proof of Humanity",
logoUrl: null,
subtitle: "Prove you are a human with privacy",
onboardingDescription:
"This ZK Badge is an attestation proving that you are a human. It is used by diverse applications (e.g Lens) as a sybil resistant tool",
ctaLabel: "See your badge",
ctaUrl: "",
congratulationTexts: [
"You can now prove that you are a human",
"and access human-gated services!",
],
},
{
path: "gr15",
registryTree: hydraS1LocalRegistryTree.name,
networks: [Network.Local],
registryTreeType: "hydra-s1",
badgesCollection: hydraS1LocalBadges,
badgesInternalCollectionsIds: [25],
title: "GR15",
logoUrl: null,
subtitle: "Prove that you supported the Ethereum ecosystem",
onboardingDescription:
"This ZK Badge is an attestation that you are an active supporter of the Ethereum ecosystem",
ctaLabel: "See my badge",
ctaUrl: "",
congratulationTexts: [
"You can now prove that you are an active",
"supporter of the Ethereum ecosystem",
],
},
];
export const localFlows = createFlows({
badgesCollection: hydraS1LocalBadges,
customizedFlows: customizedLocalFlows,
registryTreeConfiguration: hydraS1LocalRegistryTree,
});