passportxyz / passport

Passport allows users to prove their identity through a secure, decentralized UI
Other
975 stars 455 forks source link

Automatically Score Passports for Octant Guest List #2712

Open Jkd-eth opened 3 months ago

Jkd-eth commented 3 months ago

User Story:

As the Octant team I want users on the Guest List to have a score of 21 points So that I can automatically pass them without them connecting to the UI

Acceptance Criteria

GIVEN the user is on the Octant Guest list WHEN Octant hits the API to call the score for their scorer ID (7301) THEN the user will have a passing score without having connected to the Passport application

(from Lucian & Tim in Discord) Creating 2 scripts: 1) Given a list of addresses, runs the identity/IAM code to create a JSON output file with all the allow-llist credentials 2) A scorer command to import this JSON file, create CeramicCache objects, create the Passport, and copy the user's Stamps from 335 and associate them with these Passports (double check that each hash has not been used before in this community)

Then rescore for Scorer ID 7301

Out of scope: The credential(s) will not be updated in Ceramic

Product & Design Links:

#### Tech Details: #### Open Questions: #### Notes/Assumptions:
lucianHymer commented 3 months ago

We'll probably need a pair of scripts: One that runs the identity/IAM code to generate the stamp JSON, the other as a scorer command to put these in the DB and create the Passport objects. Then, run rescore for this community