Pages:
Author

Topic: Would it be possible to develop crypto address validation technology? - page 2. (Read 277 times)

legendary
Activity: 3024
Merit: 2148
If an address is valid on more than one blockchains, there's nothing you can do to determine the user's intended destination chain. You can only make a list of blockchains that can have shared addresses, and warn the user to double check that they are sending coins to the right place. This can be implemented as an addon for popular wallets or for the browser.
legendary
Activity: 3472
Merit: 10611
~
You cannot change the address format of an Omnilayer address. A valid OmniLayer address has to be a Bitcoin address; the transactions are being done on the Bitcoin Blockchain itself. If the address isn't a Bitcoin address, then the transaction wouldn't work.

it makes no sense to do something like this because you are still sending bitcoin on bitcoin blockchain to a bitcoin address but it is not impossible to implement considering the fact that we have 2 separate "wallets", a bitcoin wallet and an omni wallet.
so theoretically tether could introduce a different wallet encoding (or simply a different version byte) so that its addresses are rejected by the "bitcoin wallet" and the bitcoin addresses are rejected by the "omni wallet" while they both decode to the same scriptpub.
copper member
Activity: 2940
Merit: 1280
https://linktr.ee/crwthopia
The fear of sending BTC, especially if it's a significant amount of coin would always loom over your head, knowing that if you sent to the wrong address, you can't get it back easily or lost forever. For the validation part, I don't think it's currently needed. It's the users part of the process and it would be better to do it on your own rather than a program. What exchanges or wallets could do better is to have a last "preview" of the transaction before sending it to the address. I triple check it most of the time to calm my nerves but I think that kind of technology is not a priority right now.
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
I remember this project, https://github.com/Swyftx/crypto-address-validator

It seems that it was being updated, but I can't vouch for it as I haven't try or used it.

API
It checks for the validity of an address. A valid Bitcoin address is also a valid Omnilayer address.
I think something can be done, in a way to invalidate tether omini addresses while mistaken for bitcoin addresses. All needed is a little more of programming and testing.

If we remember the litecoin nested segwit addresses that started with 3, people also mistake it with bitcoin and has resulyed to many bitcoin been trapped and lost, but litecoin developers was able to create the M-ptefix version of the address with the same private key as the 3-prefix. That aside, also the address is not valid while mistaken for bitcoin address (although, I read this, not yet in my practical).

I am not certain, but I think there is something developers can do to make this work. Although, I used litecoin as an example, but not a perfect example though, but when not yet implemented, it can make people think such many not be possible.
You cannot change the address format of an Omnilayer address. A valid OmniLayer address has to be a Bitcoin address; the transactions are being done on the Bitcoin Blockchain itself. If the address isn't a Bitcoin address, then the transaction wouldn't work.

You cannot compare altcoins with Omni. Alt coins runs on completely different network while an OmniLayer has to piggyback on an existing coin's blockchain.
legendary
Activity: 1512
Merit: 4795
Leading Crypto Sports Betting & Casino Platform
there are exceptions like tether that don't have a network of their own and rely on bitcoin network. when you send tether you are actually sending them on bitcoin blockchain and to a bitcoin address so it makes sense that the address is the same.
It makes good sense if you control the private key, normally this is not an issue while using wallet because people can decide to use noncustodial wallets but I still see it to be an issue while using exchanges that your private key is managed by the exchange. Also, many people are novice and make the mistake in a way they may not get the tether back by sending to an address they do not have its private keys.

I think something can be done, in a way to invalidate tether omini addresses while mistaken for bitcoin addresses. All I think will be needed is a little more of programming and testing.

If we remember the litecoin nested segwit addresses that started with 3, people also mistaken it with bitcoin 3-prefix addtesses, and have resulted to many bitcoin been trapped and lost, but litecoin developers was able to create the M-ptefix version of the address with the same private key as the 3-prefix litecoin addresses. That aside, also the address is not valid while mistaken for bitcoin address (although, I read this, not yet in my practical).

I am not certain, but I think there is something developers can do to make this work. Although, I used litecoin as an example, but not a perfect example though as it has it own separate blockchain, but when not yet implemented, it can make people think such may not be possible.

hero member
Activity: 2632
Merit: 833
I remember this project, https://github.com/Swyftx/crypto-address-validator

It seems that it was being updated, but I can't vouch for it as I haven't try or used it.

API

Quote
validate (address [, currency = 'bitcoin'[, networkType = 'prod' [, addressType = ['all']]])
Parameters

    address - Wallet address to validate.
    currency - Optional. Currency name or symbol, e.g. 'bitcoin' (default), 'litecoin' or 'LTC'
    networkType - Optional. Use 'prod' (default) to enforce standard address, 'testnet' to enforce testnet address and 'both' to enforce nothing.
    addressType - Optional. Specifies what version of the address should be validated. Defaults to 'legacy', but can be changed on a per asset basis.

    Returns true if the address (string) is a valid wallet address for the crypto currency specified, see below for supported currencies.
legendary
Activity: 3472
Merit: 10611
I feel like this is such an essential thing to have in the crypto space if it's to ever have a serious chance at mass adoption. The fact that this easy mistake can be so calamitous and with no customer support because... well its crypto, seems like a fundamental flaw.

i don't think so.
you see any coin that has a similar address as another one obviously had lazy developers who didn't care or even know about how to change a single line of code to produce a different looking address that is invalid by the wallet of the coin they are copying. so by definition that is a shitcoin and is useless. consequently it doesn't have any adoption let alone want to enter mass adoption.

there are exceptions like tether that don't have a network of their own and rely on bitcoin network. when you send tether you are actually sending them on bitcoin blockchain and to a bitcoin address so it makes sense that the address is the same.
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
This is unfortunately very difficult to achieve. Addresses do have checksums to check for errors with the mis-spelling of the letters.

It's not possible for wallets to be able to check whether the intention is to send to a USDT address or a Bitcoin address. USDT runs on top of Bitcoin which means that unless they shift away from using a second layer network that utilises specifically on Bitcoin, it's not possible for them to change the address format.

It's fairly common for this to happen and unfortunately there's no viable solution. It's not possible for the wallet client to identify which coin you're intending to send because both would be sending to the same address.
newbie
Activity: 26
Merit: 7
A little while ago I was very tired, multi-tasking and finally made the dreaded mistake of sending some USDT to a BTC address. Fortunately it was only a small amount and the exchange was able to retrieve it, but it got me thinking...

Would it be possible to develop some kind of address validation technology that runs a check and doesn't physically allow you to send crypto to a different coin address?

Coinbase Pro have attempted to implement something like this https://i.imgur.com/HD2l9jI.png but after running a test it still seems to give the green light for a PAXG deposit address when sending USDC. I imagine this is because they're both ERC20 tokens.

I messaged another exchange and they said it would be hard to implement because many coins don't have coin specific addresses.

I feel like this is such an essential thing to have in the crypto space if it's to ever have a serious chance at mass adoption. The fact that this easy mistake can be so calamitous and with no customer support because... well its crypto, seems like a fundamental flaw.

I've been sending crypto around for 6 years and I'm still just triple checking the first and last 4 characters of an address. Then until it's shows up at the deposit end I still have a slight fear that I might've made a mistake, as I'm sure many can relate.

Surely in this day and age of the crypto scene it is nonsensical that something as basic as sending crypto is still subject to manual checks and easy irreversible human error.

Is it possible to develop something like this or is there an existing technology I don't know about?
Pages:
Jump to: