Post
Topic
Board Altcoin Discussion
Re: Is a new cryptocurrency with SMS verification before transfer valuable?
by
lobo13hf
on 05/06/2018, 22:54:22 UTC
hi all


I was stolen all my ETH in my wallet after submitting Keystore file to a phishing website carelessly. So I has an idea of a SAFER cryptocurrency.

It has following features:
1) Only trusted receiver address is permitted.
2) Phone SMS verification needed when adding trusted receiver address
Thus even private key is leaked , scammer cannot transfer coin to his address.

Sample contract code maybe:
Code:
function transfer(address _to, uint _value) returns (bool) {
        if(_to not in TRUSTED_ADDRSSES) {   #Check _to is in trusted addresses or not
             return false
        }
        if (balances[msg.sender] >= _value && balances[_to] + _value >= balances[_to]) {
            balances[msg.sender] -= _value;
            balances[_to] += _value;
            Transfer(msg.sender, _to, _value);
            return true;
        } else { return false; }
    }

Look forward to your opinions or advise.  Thank you
I have so many problems with phone sms verification to be used as the main layer of security. Sometimes i was using sms verification and I don't receive any code, That becomes another problem. You need to add the second way as the substitution for that. but sounds good to me.