forked from passportxyz/passport
-
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.
feat(app,iam): update TrustaLabs info, remove deprecated lerna call (p…
- Loading branch information
1 parent
0330f29
commit 9af9f6b
Showing
5 changed files
with
36 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,7 @@ WORKDIR /usr/src | |
|
||
COPY . . | ||
|
||
RUN yarn global add [email protected] | ||
RUN lerna bootstrap --ignore app | ||
RUN yarn | ||
|
||
EXPOSE 80 443 | ||
CMD [ "node", "iam/dist/iam/src/main.js" ] |
This file was deleted.
Oops, something went wrong.
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,31 @@ | ||
import { AppContext, ProviderPayload } from "../types"; | ||
import { Platform } from "../utils/platform"; | ||
import React from "react"; | ||
|
||
const Link = ({ href, children }: { href: string; children: React.ReactNode }) => ( | ||
<a href={href} target="_blank" className="text-color-1 cursor-pointer underline" rel="noreferrer"> | ||
{children} | ||
</a> | ||
); | ||
|
||
export class TrustaLabsPlatform extends Platform { | ||
platformId = "TrustaLabs"; | ||
path = "TrustaLabs"; | ||
isEVM = true; | ||
|
||
banner = { | ||
content: ( | ||
<div> | ||
This uses Trusta's <Link href="https://www.trustalabs.ai/trustscan">TrustScan</Link> product based on your | ||
activities on Eth Mainnet. You will not be able to claim the stamp if you lack sufficient data or have Sybil | ||
like patterns they have detected. Note, the MEDIA score for zkSync is different from this score. For more | ||
questions please see their{" "} | ||
<Link href="https://trusta-labs.gitbook.io/trustalabs/trustscan/q-and-a-for-sybil-score">Q&A</Link>. | ||
</div> | ||
), | ||
}; | ||
|
||
async getProviderPayload(_appContext: AppContext): Promise<ProviderPayload> { | ||
return await Promise.resolve({}); | ||
} | ||
} |
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