passportxyz / passport

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

Implement Shadow Slashing Rules for Identity Staking #2490

Open erichfi opened 3 months ago

erichfi commented 3 months ago

Implement Slashing Rules for Identity Staking

Objective:
Implement a slashing rule to maintain the integrity and fairness of the Passport Identity Staking system by penalizing staking between wallets funded by the same Externally Owned Account (EOA).

Tasks:

  1. Identify Funding Patterns:

    • Track and analyze the funding sources of all wallets participating in staking.
    • Identify common EOAs funding multiple wallets.
  2. Create Script for Entity Assignment:

    • Develop a script to automate the identification of wallets funded by the same EOA.
    • Update the list of entities (wallets) regularly based on their funding sources.
  3. Data Extraction:

    • Extract wallet funding data from Redshift.
  4. Data Analysis and Identification:

    • Use Deepnote to analyze the extracted data and identify wallets funded by the same EOA.
  5. Entity List Update:

    • Update the entity lists based on the analysis results.
  6. Automation and Regular Updates:

    • Implement a cron job to automate the entire process, ensuring that the entity lists are updated at regular intervals.

Future Enhancements:

erichfi commented 1 month ago

Open Questions

Plan