-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from zCloak-Network/dev
v20240507
- Loading branch information
Showing
75 changed files
with
3,022 additions
and
523 deletions.
There are no files selected for viewing
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
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
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,10 @@ | ||
|
||
VITE_APP_VALID_ID_URL=https://valid3.zkid.xyz | ||
|
||
VITE_APP_CANISTER_ID=mihic-qqaaa-aaaap-ahaqq-cai | ||
VITE_APP_CANISTER_HOST=https://zkid.io | ||
|
||
VITE_APP_CARD_SERVICE=https://card-service.zkid.xyz | ||
VITE_APP_VALID_3_SERVICE=https://valid3-service.zkid.xyz | ||
|
||
VITE_APP_TELEGRAM_BOT_URL=https://t.me/DevValidIdBot |
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
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 |
---|---|---|
|
@@ -6,6 +6,13 @@ | |
<link rel="icon" type="image/x-icon" href="/favicon.ico" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Valid One</title> | ||
<link rel="shortcut icon" href="/images/apple-touch-icon.png"> | ||
<link rel="apple-touch-icon" sizes="57x57" href="/images/apple-touch-icon.png" /> | ||
<link rel="apple-touch-icon" sizes="72x72" href="/images/apple-touch-icon.png" /> | ||
<link rel="apple-touch-icon" sizes="114x114" href="/images/apple-touch-icon.png" /> | ||
<link rel="apple-touch-icon" sizes="144x144" href="/images/apple-touch-icon.png" /> | ||
<meta name="description" content="An easy-onboard, secure identity management solution"> | ||
<meta name="theme-color" content="#FFF"> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Manrope:[email protected]&family=Quantico&display=swap" | ||
|
@@ -19,6 +26,7 @@ | |
|
||
gtag('config', 'G-QTH989D933'); | ||
</script> | ||
|
||
</head> | ||
|
||
<body> | ||
|
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
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.
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.
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.
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.
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,2 @@ | ||
User-agent: * | ||
Allow: / |
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,18 @@ | ||
import { axiosInstance } from "@/utils"; | ||
|
||
export const getChallenge = (params: { id: string }) => { | ||
return axiosInstance.get(`/api/valid-one/challenge`, { | ||
params, | ||
baseURL: import.meta.env.VITE_APP_VALID_3_SERVICE, | ||
}); | ||
}; | ||
|
||
export const sendChallenge = (params: { | ||
challengeId: string; | ||
validId: number; | ||
signature: string; | ||
}) => { | ||
return axiosInstance.post(`/api/valid-one/challenge`, params, { | ||
baseURL: import.meta.env.VITE_APP_VALID_3_SERVICE, | ||
}); | ||
}; |
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export * from "./cardService"; | ||
export * from "./valid3Service"; | ||
export * from "./challenge"; |
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
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
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,11 @@ | ||
import { default as ChallengePage, loader } from "./page"; | ||
|
||
const routers = [ | ||
{ | ||
path: "challenge/:challengeID", | ||
element: <ChallengePage />, | ||
loader, | ||
}, | ||
]; | ||
|
||
export default routers; |
Oops, something went wrong.