farcasterxyz / hub-monorepo

Implementation of the Farcaster Hub specification and supporting libraries for building applications on Farcaster
https://www.thehubble.xyz
MIT License
708 stars 404 forks source link

Add blockhash to Verification Claim #55

Closed varunsrin closed 2 years ago

varunsrin commented 2 years ago

All Ethereum address verification claims should include a blockHash from the most recent Ethereum block.

The blockhash helps order verifications which is useful when the same address is found to be verified to multiple Farcaster ID's. Ordering allows applications to resolve conflicts easily, and lets users nullify older verifications by issuing new ones with a more recent blockhash. The protocol itself does not verify or validate the blockHash's, that's entirely up to client applications.

pfletcherhill commented 2 years ago

Implemented https://github.com/farcasterxyz/hub/pull/75