Bitcoin Forum
June 18, 2024, 06:02:43 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: A potential solution to sending the wrong token  (Read 40 times)
odolvlobo (OP)
Legendary
*
Offline Offline

Activity: 4354
Merit: 3262



View Profile
August 31, 2021, 06:25:57 PM
 #1

I'm not that familiar with Ethereum, but I constantly read about people sending the wrong stablecoin to an exchange, and that the money is lost because the exchange doesn't support that coin. I was wondering if creating a special protocol for sending tokens would help.

The protocol would simply add the first 4 bytes of the contract's address to the destination address. The sending wallet would simply compare the suffix to the token being sent to make sure that the correct token is being sent. This does not guarantee that the wrong token is not sent, but the odds of sending the wrong token by accident are 1 in 4 billion.

For example, instead of telling you to send USDT to 0x71C7656EC7ab88b098defB751B7401B5f6d8976F, the receiver would tell you to send it to 0x71C7656EC7ab88b098defB751B7401B5f6d8976F-af5dcebb, where af5dcebb is the first 4 bytes of the USDT contract's address.

Does that work?

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!