News for hackers. Stuff that matters.
Re:The Supply of Tethers at 27 November 2017 is $675M by jatsign on Tuesday November 28, 2017 @07:17AM (#15796513)
The fatal flaw in Tether is that you have to trust the company behind it. The whole point of cryptocurrency is you shouldn't have to trust anyone. And the company itself is so opaque it should send you running to the hills.

I've been working on a new cryptocurrency pegged to the dollar. It's implemented as a smart contract on the Ethereum blockchain, so you can audit it's reserves yourself, at any time, instantly. You can also audit the source code to see that there's no way for me, or anyone else, to withdraw from the reserves. You can buy and sell the currency, Unum, for Ether or a few other cryptocurrencies. Buying and selling occurs directly on the blockchain.

If anyone's interested in checking it out, it's on the Ethereum Ropsten testnet now.

https://unum.one

Re:The Supply of Tethers at 27 November 2017 is $675M by brepl on Tuesday November 28, 2017 @08:24AM (#15796978)
> The fatal flaw in Tether is that you have to trust the company behind it.

How is Unum any different? Looking at the contract:

1. Contract owner can withdraw the ETH balance at any time.

2. Contract owner can control the Oracle.

3. If there's not enough ETH balance in the contract, you can't change your unum tokens back to ETH.

Re:The Supply of Tethers at 27 November 2017 is $675M by jatsign on Tuesday November 28, 2017 @08:29AM (#15797010)
1) Contract owner CANNOT withdraw ETH. 2) True. The Price Oracle is a separate contract that I want to modify to be more like Ark's superdelegate method - a certain number of delegates stake Unum and get to control the price oracle, and in return get to collect the fees from the Unum contract. There's a bit of a chicken-and-egg problem with that for now - it requires people who are interested in collecting a part of the Unum fee. 3) True, but the contract is backed by more than ETH. If the entire crypto market tanks, you'd have to wait for a recovery before you could sell your Unum.
Re:The Supply of Tethers at 27 November 2017 is $675M by RileyJames on Tuesday November 28, 2017 @09:43AM (#15797637)
Very interesting. Do you have any further info on 'Ark's superdelegate method'? I only found yourself mentioning it via google. I'm interested in how oracles / off-chain data can be decentralised.
Re:The Supply of Tethers at 27 November 2017 is $675M by jatsign on Tuesday November 28, 2017 @10:03AM (#15797813)
This may explain: https://ark-guide.readme.io/v1.0/docs/what-are-delegates

There are a few currencies doing delegate so I may have confused "super delegates" with another currency.

Re:The Supply of Tethers at 27 November 2017 is $675M by jstanley on Tuesday November 28, 2017 @08:45AM (#15797164)
If I'm interested in becoming one of your price oracle delegates, what do I do?
Re:The Supply of Tethers at 27 November 2017 is $675M by jatsign on Tuesday November 28, 2017 @08:53AM (#15797232)
For now that's just a plan. Assuming people become interested in, and start using Unum, I'll post more about it on the blog.

For now, I'd really appreciate any help in getting people to take a look at Unum.

https://www.medium.com/unum

Re:The Supply of Tethers at 27 November 2017 is $675M by baby on Tuesday November 28, 2017 @10:50AM (#15798272)
2) have you looked into towncrier?
Re:The Supply of Tethers at 27 November 2017 is $675M by jatsign on Tuesday November 28, 2017 @11:48AM (#15798866)
I did, and it seemed like a good solution, except I wanted to be able to instantly get the price info, and town crier is a request/response method. The Price Oracle part of unum caches the price, so I can use a .call method from the Unum contract to retrieve the data immediately.
Re:The Supply of Tethers at 27 November 2017 is $675M by BoiledCabbage on Tuesday November 28, 2017 @10:56AM (#15798343)
Everyone and their mother is starting an alt-coin.

My next-door neighbor's sister's hairdresser has started one as well. Every 10th coin you mine, you get 15% off your next appointment. Have you looked into that one yet?

Re:The Supply of Tethers at 27 November 2017 is $675M by baby on Tuesday November 28, 2017 @04:35PM (#15802004)
TownCrier is actually pretty interesting, it's leveraging Intel SGX to verify requests
Re:The Supply of Tethers at 27 November 2017 is $675M by wslh on Tuesday November 28, 2017 @07:29AM (#15796588)
What do you mean with auditing the reserves yourself? Can I check your bank account to see if the amount is equal to the price*qty of your token?

Regarding the auditing, not anyone, indeed very few, has the capability to audit an smart contract. Was your smart contract, oracle, and software in general audited by a recognized and third party entity?

I am not saying that your approach is not correct but you need a lot of transparency measures beyond the technical solution implemented.

Re:The Supply of Tethers at 27 November 2017 is $675M by jatsign on Tuesday November 28, 2017 @07:36AM (#15796631)
There is no bank account, just the smart contract. It holds the Ether, OMG, or whatever other cryptocurrency you send to it when you buy Unum. There's a function on the contract to return the total reserve in USD, or you can check the actual values of the variables being used. Anything on a smart contract is public.

You're right that relatively few people have the technical skills to query a smart contract, but that relative few is still a LOT of people who can verify the reserves independently. Versus the almost 0 people who can audit Tether.

If you're interested in interacting with the smart contract (or any smart contract), you may want to install Mist. It's non-trivial to get started, I admit, and the tooling around smart contract is incredibly immature, but..man it's cool ;)

https://github.com/ethereum/mist/releases

Re:The Supply of Tethers at 27 November 2017 is $675M by empath75 on Tuesday November 28, 2017 @07:45AM (#15796699)
It seems to me that your currency loses its peg the minute that the cryptocurrency price collapses.
Re:The Supply of Tethers at 27 November 2017 is $675M by 55555 on Tuesday November 28, 2017 @08:06AM (#15796847)
The parent comment (empath75) sounds correct to me. If people deposit a bunch of cryptos, but cryptos are highly correlated in downward movement, and the general crypto market suffers, then this new crypto is no longer pegged to USD.

EDIT: looks like this is covered under "Reserve Deficit Sell Penalty". I don't really understand this part but regardless this won't be pegged to the dollar.

Re:The Supply of Tethers at 27 November 2017 is $675M by Mouse47 on Tuesday November 28, 2017 @07:56AM (#15796772)
Stupid question - how do you peg your currency to the dollar if you're holding ETH, etc?
Re:The Supply of Tethers at 27 November 2017 is $675M by jatsign on Tuesday November 28, 2017 @08:04AM (#15796824)
When you buy Unum, the smart contract looks up the price of ETH and gives you a dollar equivalent of Unum. So if you send in $400 worth of ETH, you get 400 Unum.

Then, a month from now, if you want to sell Unum and get ETH, maybe the price of ETH is $500. So you send in your 400 Unum, and get .8 ETH.

Re:The Supply of Tethers at 27 November 2017 is $675M by Mouse47 on Tuesday November 28, 2017 @08:36AM (#15797062)
So isn't it possible that Unum becomes insolvent? Forgive me if there's an easy place to read up on this :)

In other words, you send in $400 of ETH for 400 Unum, and if the price of ETH goes down to $300 and they try to cash out all 400 Unum...?

Re:The Supply of Tethers at 27 November 2017 is $675M by jstanley on Tuesday November 28, 2017 @08:37AM (#15797075)
Yes it is possible. That doesn't make it meritless.

You might equally say "isn't it possible that Tether could just print Tethers out of thin air"? And the answer would be "yes", but people still find utility in it.

Re:The Supply of Tethers at 27 November 2017 is $675M by Mouse47 on Tuesday November 28, 2017 @08:40AM (#15797107)
I wasn't saying it was meritless, I'm just a big finance noob.

So basically Unum is trading "risk of value going down/up" for "risk of smart contract bank run"?

EDIT: Also, I'm really interested since this is the first smart contract use case that I've managed to understand. Which is good since I'm all-in on ETH :)

EDIT 2, for anyone reading this thread: here's the announcement thread, answers all the questions I had here: https://bitcointalk.org/index.php?topic=2473877.0

Re:The Supply of Tethers at 27 November 2017 is $675M by jstanley on Tuesday November 28, 2017 @08:43AM (#15797146)
Compared to holding ETH, yes, that's the tradeoff.

Compared to holding USDT, the tradeoff is that Tether can't print themselves free USDT's, but you have a risk of a smart contract bank run.

Re:The Supply of Tethers at 27 November 2017 is $675M by edf13 on Tuesday November 28, 2017 @10:38AM (#15798153)
But isn't this just a fractional reserves in this case?

How will you have the reserves to pay out everyone who wishes to cash out all of their Unum 1 month later if the price of ETH as dropped by 50%? Where will you have the funds to do so?

Edit: I see from your website you have a penalty in place for when your reserves drop below Unums in circulation - clever play! (https://unum.one/#!/learn#reserve-deficit-sell-penalty)

Re:The Supply of Tethers at 27 November 2017 is $675M by 55555 on Tuesday November 28, 2017 @08:04AM (#15796827)
> Can I check your bank account to see if the amount is equal to the price*qty of your token?

People deposit BTC and ETH and other cryptos, and the smart contract uses the conversion rate between these and USD in order to gauge its reserve in USD.

Sounds risky but definitely sounds useful and like a step in the right direction!

Re:The Supply of Tethers at 27 November 2017 is $675M by wslh on Tuesday November 28, 2017 @08:21AM (#15796949)
You answered the question yourself below but you cannot peg a currency to another if you don't have the reserves, less with cryptocurrencies where you don't have a central bank who can rescue you. This is economy 101 not an opinion. Fractional reserves can work in fiat currencies but not in the cryptocurrency world. For more information you can check research about this topic: https://scholar.google.com.ar/scholar?hl=en&as_sdt=0%2C5&q=c...
Re:The Supply of Tethers at 27 November 2017 is $675M by jstanley on Tuesday November 28, 2017 @08:40AM (#15797104)
It's a different set of tradeoffs compared to Tether.

You gain the risk of insolvency, but you lose the risk of corruption.

Re:The Supply of Tethers at 27 November 2017 is $675M by wslh on Tuesday November 28, 2017 @08:49AM (#15797196)
Are you saying this to the average "non-professional" investor? When people read about a cryptocurrency that represents fiat money they think about something simple and they assume you have the money to convert back and forth.

The first page clearly says "A decentralized cryptocurrency pegged the U.S. dollar". This message is a scam, plain scam, you don't need to bring the SEC to realized that. After reviewing all this thread I flagged the top comment.

Re:The Supply of Tethers at 27 November 2017 is $675M by jstanley on Tuesday November 28, 2017 @09:12AM (#15797426)
I'm not saying it to any investor, I'm arguing it from a purely disinterested perspective.

I think it's a fascinating project.

That the SEC thinks risk of insolvency is more of a problem than risk of corruption is irrelevant.

Re:The Supply of Tethers at 27 November 2017 is $675M by lurker456 on Tuesday November 28, 2017 @11:13AM (#15798506)
words have meaning. "pegged" is a wrong and highly misleading term because it implies a level of safety that is not there. Whether it's fraudulently so is indeed a question for the courts and the SEC.
Re:The Supply of Tethers at 27 November 2017 is $675M by hathathat on Tuesday November 28, 2017 @11:31AM (#15798712)
Not even central banks can provide the guarantee you’re looking for - they can only print money to devalue their currency, but they can’t make it appreciate [1]!

[1] https://en.m.wikipedia.org/wiki/Black_Wednesday

Re:The Supply of Tethers at 27 November 2017 is $675M by jstanley on Tuesday November 28, 2017 @08:36AM (#15797068)
I'm glad people are working on improvements to Tether. While your project doesn't solve every problem with Tether, it still has merit as an improvement compared to Tether, at least in some aspects.
Re:The Supply of Tethers at 27 November 2017 is $675M by lurker456 on Tuesday November 28, 2017 @11:18AM (#15798544)
Can you explain the math behind the "Reserve Deficit Sell Penalty" example ?

If 1M loses 50k in value (5% loss), then surely someone holding $320 would face a $16 haircut ? The example shows $2.