Closed evertonfraga closed 6 years ago
Thanks so much! :+1: :1st_place_medal: :tada: - might change the scripts to be kotlin-gradle at some point but this is a wonderful start - was not even aware of this API - will come very handy for the signer.
Nice, glad to help!
@evertonfraga FYI: https://ethereum.stackexchange.com/questions/40297/should-uis-handle-4byte-signature-collisions - this is also the main reason I was going for https://github.com/ethereum-lists/4bytes/pull/2
From what I see this implementation would even override the first entry. So someone could forge a collision - upload to the 4byte directory and then his method would be the one shown to the user.
No problem! in our original code, it handles collisions in the data structure, but we don't make anything special at the UI level.
I liked your implementation, it prevents loading a huge object into scope. 👍
In Mist we download the signatures from https://4byte.directory. Here's our contribution :)