Giter Club home page Giter Club logo

kristoferlund / passport-score-issuer Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 2.19 MB

This project demos the use of verifiable credentials on the Internet Computer. It uses Gitcoin Passport as an example source of verifiable credentials.

Home Page: https://ycons-daaaa-aaaal-qja3q-cai.icp0.io

License: MIT License

Rust 55.72% HTML 3.81% JavaScript 2.53% TypeScript 29.66% Makefile 3.34% SCSS 4.94%
gitcoin gitcoin-passport internet-computer internet-identity react rust verifiable-credentials

passport-score-issuer's Introduction

ICP Passport Score Issuer

This project demos the use of verifiable credentials on the Internet Computer. It uses Gitcoin Passport as an example source of verifiable credentials.

About Gitcoin Passport: Passport helps you collect “stamps” that prove your humanity and reputation. The more stamps you collect, the higher your reputation. Passport scores are accessible through an API provided by Gitcoin can also be minted as "attestations" on Ethereum. Up until now, the passport score is a credential that has not been available on IC.

The project consists of three main packages:

Stores the link between Gitcoin Passport and II account and issues verifiable credentials to prove the Gitcoin Passport Score.

https://ycons-daaaa-aaaal-qja3q-cai.icp0.io

In this interface, the user logs in with their Ethereum address and II credentials and then links their Gitcoin Passport to their II account.

Try it out: https://ycons-daaaa-aaaal-qja3q-cai.icp0.io

https://jzi4k-7qaaa-aaaal-qdncq-cai.icp0.io

Here, the user can securely request a verifiable credential from the issuer proving their Gitcoin Passport Score.

Try it out: https://jzi4k-7qaaa-aaaal-qdncq-cai.icp0.io

Run locally

1. Start the local replica

dfx start --clean

2. Deploy the canisters

make deploy-all

How does all this work?

I am writing an article that will be out soon. In the mean time, check out the source code and see the information provided by IC: How verifiable credentials on IC works

Author

License

This project is licensed under the MIT License. See the LICENSE file for more details.

passport-score-issuer's People

Contributors

kristoferlund avatar

Stargazers

Pedro Galvan avatar Frederik Rothenberger avatar Moritz Fuller avatar Jennifer K. Tran avatar Dominic Wörner avatar

Watchers

 avatar

passport-score-issuer's Issues

Error: Expected "0.18.20" but got "0.19.12"

I want to try your package to see what it does (by the way, what does it do?), but get an error that I don't understand:

$ npm i
npm ERR! code 1
npm ERR! path /home/porton/t/passport-score-issuer/node_modules/esbuild
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! /home/porton/t/passport-score-issuer/node_modules/esbuild/install.js:132
npm ERR!     throw new Error(`Expected ${JSON.stringify(versionFromPackageJSON)} but got ${JSON.stringify(stdout)}`);
npm ERR!           ^
npm ERR! 
npm ERR! Error: Expected "0.18.20" but got "0.19.12"
npm ERR!     at validateBinaryVersion (/home/porton/t/passport-score-issuer/node_modules/esbuild/install.js:132:11)
npm ERR!     at /home/porton/t/passport-score-issuer/node_modules/esbuild/install.js:285:5
npm ERR! 
npm ERR! Node.js v21.5.0

npm ERR! A complete log of this run can be found in: /home/porton/.npm/_logs/2024-03-20T16_28_29_629Z-debug-0.log

Note that I did install esbuild 0.18.20 globally but this didn't eliminate the error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.