FIP: Primary Address Verification #141
Replies: 8 comments 11 replies
-
LGTM - only feedback is that it may be nice to have a fallback primary designated when That said, this could be done by just having the client prompt the user and send a Either way, documenting the expected behavior for clients on edge cases like removing a primary address will take care of this 👍 |
Beta Was this translation helpful? Give feedback.
-
If we are going to do this, would it be good to replace For now, we could treat |
Beta Was this translation helpful? Give feedback.
-
One small suggestion once this change goes live - include the primary flag in SIWF returned verifications meta) |
Beta Was this translation helpful? Give feedback.
-
This sounds like
Could we introduce a new message to set this flag instead? |
Beta Was this translation helpful? Give feedback.
-
It is also currently possible to associate multiple Solana addresses with your FID. |
Beta Was this translation helpful? Give feedback.
-
Update: this FIP has been refreshed this week and takes into consideration the changes that have happened over a year ago, including the move to Snapchain. |
Beta Was this translation helpful? Give feedback.
-
@PirosB3 will snapchain logic generate a new message for revoking or removing userdata when the corresponding verification is deleted? afaik there is no UserDataRemove |
Beta Was this translation helpful? Give feedback.
-
Farcaster Primary Address update and stewardship guidelinesFarcaster now relies on Snapchain for canonical primary‑address data. To keep the network predictable and user‑centric, these guidelines outline best practices for designating and updating a user’s primary address. Guiding Principles
Communication Expectations
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
FIP: Primary Address Verification
Title: Primary Address Verification
Type: Implementation FIP
Authors: @horsefacts, @sanjay, @pirosb3, @v
Abstract
Extend User Data to designate a primary Ethereum and Solana address for a Farcaser user.
Problem
Users have multiple wallets associated with their Farcaster accounts but often use one as their primary address. There is no way to indicate this, and this makes it difficult for developers or other users to send them things onchain.
Specification
Users should be able to specify a primary address for the Ethereum and Solana ecosystems by setting a UserData property.
The
UserDataType
is extended to support new types for Ethereum and Solana. A user can set these values to an address that they have previously verified or unset it to indicate that they do not have a primary address.Validation Rules
The validation rules for both user data types are validated with existing rules and the following added ones:
value
should be either an empty string or valid base58 encoded Solana address or valid checksummed Ethereum addressvalue
if not an empty string must match a known Verification's addressThe post-processing rules for Verifications are changed to include:
USER_DATA_PRIMARY_ADDRESS_ETHEREUM
orUSER_DATA_PRIMARY_ADDRESS_SOLANA
that matches this address, set its value to ""Rationale
Why not make this something that scales to N chains instead of just Solana an Ethereum?
The majority of users are on EVM or Solana chains today and we don't foresee adding any more ecosystems soon. If this becomes more common we can revisit creating a new data type.
Why not update Verifications to include an
is_primary
field?If verification messages are received out of order, it could result in a user ending up in incorrect state. It is much easier to manage this state correctly as a separate property due to the limitations of CRDTs.
Release
The change is fully backwards compatible as it adds new optional types. We will make this available in the next hub release and on Snapchain.
Beta Was this translation helpful? Give feedback.
All reactions