Bitcoin hackers steal $40 million from Binance - The ...

Bob The Magic Custodian



Summary: Everyone knows that when you give your assets to someone else, they always keep them safe. If this is true for individuals, it is certainly true for businesses.
Custodians always tell the truth and manage funds properly. They won't have any interest in taking the assets as an exchange operator would. Auditors tell the truth and can't be misled. That's because organizations that are regulated are incapable of lying and don't make mistakes.

First, some background. Here is a summary of how custodians make us more secure:

Previously, we might give Alice our crypto assets to hold. There were risks:

But "no worries", Alice has a custodian named Bob. Bob is dressed in a nice suit. He knows some politicians. And he drives a Porsche. "So you have nothing to worry about!". And look at all the benefits we get:
See - all problems are solved! All we have to worry about now is:
It's pretty simple. Before we had to trust Alice. Now we only have to trust Alice, Bob, and all the ways in which they communicate. Just think of how much more secure we are!

"On top of that", Bob assures us, "we're using a special wallet structure". Bob shows Alice a diagram. "We've broken the balance up and store it in lots of smaller wallets. That way", he assures her, "a thief can't take it all at once". And he points to a historic case where a large sum was taken "because it was stored in a single wallet... how stupid".
"Very early on, we used to have all the crypto in one wallet", he said, "and then one Christmas a hacker came and took it all. We call him the Grinch. Now we individually wrap each crypto and stick it under a binary search tree. The Grinch has never been back since."

"As well", Bob continues, "even if someone were to get in, we've got insurance. It covers all thefts and even coercion, collusion, and misplaced keys - only subject to the policy terms and conditions." And with that, he pulls out a phone-book sized contract and slams it on the desk with a thud. "Yep", he continues, "we're paying top dollar for one of the best policies in the country!"
"Can I read it?' Alice asks. "Sure," Bob says, "just as soon as our legal team is done with it. They're almost through the first chapter." He pauses, then continues. "And can you believe that sales guy Mike? He has the same year Porsche as me. I mean, what are the odds?"

"Do you use multi-sig?", Alice asks. "Absolutely!" Bob replies. "All our engineers are fully trained in multi-sig. Whenever we want to set up a new wallet, we generate 2 separate keys in an air-gapped process and store them in this proprietary system here. Look, it even requires the biometric signature from one of our team members to initiate any withdrawal." He demonstrates by pressing his thumb into the display. "We use a third-party cloud validation API to match the thumbprint and authorize each withdrawal. The keys are also backed up daily to an off-site third-party."
"Wow that's really impressive," Alice says, "but what if we need access for a withdrawal outside of office hours?" "Well that's no issue", Bob says, "just send us an email, call, or text message and we always have someone on staff to help out. Just another part of our strong commitment to all our customers!"

"What about Proof of Reserve?", Alice asks. "Of course", Bob replies, "though rather than publish any blockchain addresses or signed transaction, for privacy we just do a SHA256 refactoring of the inverse hash modulus for each UTXO nonce and combine the smart contract coefficient consensus in our hyperledger lightning node. But it's really simple to use." He pushes a button and a large green checkmark appears on a screen. "See - the algorithm ran through and reserves are proven."
"Wow", Alice says, "you really know your stuff! And that is easy to use! What about fiat balances?" "Yeah, we have an auditor too", Bob replies, "Been using him for a long time so we have quite a strong relationship going! We have special books we give him every year and he's very efficient! Checks the fiat, crypto, and everything all at once!"

"We used to have a nice offline multi-sig setup we've been using without issue for the past 5 years, but I think we'll move all our funds over to your facility," Alice says. "Awesome", Bob replies, "Thanks so much! This is perfect timing too - my Porsche got a dent on it this morning. We have the paperwork right over here." "Great!", Alice replies.
And with that, Alice gets out her pen and Bob gets the contract. "Don't worry", he says, "you can take your crypto-assets back anytime you like - just subject to our cancellation policy. Our annual management fees are also super low and we don't adjust them often".

How many holes have to exist for your funds to get stolen?
Just one.

Why are we taking a powerful offline multi-sig setup, widely used globally in hundreds of different/lacking regulatory environments with 0 breaches to date, and circumventing it by a demonstrably weak third party layer? And paying a great expense to do so?
If you go through the list of breaches in the past 2 years to highly credible organizations, you go through the list of major corporate frauds (only the ones we know about), you go through the list of all the times platforms have lost funds, you go through the list of times and ways that people have lost their crypto from identity theft, hot wallet exploits, extortion, etc... and then you go through this custodian with a fine-tooth comb and truly believe they have value to add far beyond what you could, sticking your funds in a wallet (or set of wallets) they control exclusively is the absolute worst possible way to take advantage of that security.

The best way to add security for crypto-assets is to make a stronger multi-sig. With one custodian, what you are doing is giving them your cryptocurrency and hoping they're honest, competent, and flawlessly secure. It's no different than storing it on a really secure exchange. Maybe the insurance will cover you. Didn't work for Bitpay in 2015. Didn't work for Yapizon in 2017. Insurance has never paid a claim in the entire history of cryptocurrency. But maybe you'll get lucky. Maybe your exact scenario will buck the trend and be what they're willing to cover. After the large deductible and hopefully without a long and expensive court battle.

And you want to advertise this increase in risk, the lapse of judgement, an accident waiting to happen, as though it's some kind of benefit to customers ("Free institutional-grade storage for your digital assets.")? And then some people are writing to the OSC that custodians should be mandatory for all funds on every exchange platform? That this somehow will make Canadians as a whole more secure or better protected compared with standard air-gapped multi-sig? On what planet?

Most of the problems in Canada stemmed from one thing - a lack of transparency. If Canadians had known what a joke Quadriga was - it wouldn't have grown to lose $400m from hard-working Canadians from coast to coast to coast. And Gerald Cotten would be in jail, not wherever he is now (at best, rotting peacefully). EZ-BTC and mister Dave Smilie would have been a tiny little scam to his friends, not a multi-million dollar fraud. Einstein would have got their act together or been shut down BEFORE losing millions and millions more in people's funds generously donated to criminals. MapleChange wouldn't have even been a thing. And maybe we'd know a little more about CoinTradeNewNote - like how much was lost in there. Almost all of the major losses with cryptocurrency exchanges involve deception with unbacked funds.
So it's great to see transparency reports from BitBuy and ShakePay where someone independently verified the backing. The only thing we don't have is:
It's not complicated to validate cryptocurrency assets. They need to exist, they need to be spendable, and they need to cover the total balances. There are plenty of credible people and firms across the country that have the capacity to reasonably perform this validation. Having more frequent checks by different, independent, parties who publish transparent reports is far more valuable than an annual check by a single "more credible/official" party who does the exact same basic checks and may or may not publish anything. Here's an example set of requirements that could be mandated:
There are ways to structure audits such that neither crypto assets nor customer information are ever put at risk, and both can still be properly validated and publicly verifiable. There are also ways to structure audits such that they are completely reasonable for small platforms and don't inhibit innovation in any way. By making the process as reasonable as possible, we can completely eliminate any reason/excuse that an honest platform would have for not being audited. That is arguable far more important than any incremental improvement we might get from mandating "the best of the best" accountants. Right now we have nothing mandated and tons of Canadians using offshore exchanges with no oversight whatsoever.

Transparency does not prove crypto assets are safe. CoinTradeNewNote, Flexcoin ($600k), and Canadian Bitcoins ($100k) are examples where crypto-assets were breached from platforms in Canada. All of them were online wallets and used no multi-sig as far as any records show. This is consistent with what we see globally - air-gapped multi-sig wallets have an impeccable record, while other schemes tend to suffer breach after breach. We don't actually know how much CoinTrader lost because there was no visibility. Rather than publishing details of what happened, the co-founder of CoinTrader silently moved on to found another platform - the "most trusted way to buy and sell crypto" - a site that has no information whatsoever (that I could find) on the storage practices and a FAQ advising that “[t]rading cryptocurrency is completely safe” and that having your own wallet is “entirely up to you! You can certainly keep cryptocurrency, or fiat, or both, on the app.” Doesn't sound like much was learned here, which is really sad to see.
It's not that complicated or unreasonable to set up a proper hardware wallet. Multi-sig can be learned in a single course. Something the equivalent complexity of a driver's license test could prevent all the cold storage exploits we've seen to date - even globally. Platform operators have a key advantage in detecting and preventing fraud - they know their customers far better than any custodian ever would. The best job that custodians can do is to find high integrity individuals and train them to form even better wallet signatories. Rather than mandating that all platforms expose themselves to arbitrary third party risks, regulations should center around ensuring that all signatories are background-checked, properly trained, and using proper procedures. We also need to make sure that signatories are empowered with rights and responsibilities to reject and report fraud. They need to know that they can safely challenge and delay a transaction - even if it turns out they made a mistake. We need to have an environment where mistakes are brought to the surface and dealt with. Not one where firms and people feel the need to hide what happened. In addition to a knowledge-based test, an auditor can privately interview each signatory to make sure they're not in coercive situations, and we should make sure they can freely and anonymously report any issues without threat of retaliation.
A proper multi-sig has each signature held by a separate person and is governed by policies and mutual decisions instead of a hierarchy. It includes at least one redundant signature. For best results, 3of4, 3of5, 3of6, 4of5, 4of6, 4of7, 5of6, or 5of7.

History has demonstrated over and over again the risk of hot wallets even to highly credible organizations. Nonetheless, many platforms have hot wallets for convenience. While such losses are generally compensated by platforms without issue (for example Poloniex, Bitstamp, Bitfinex, Gatecoin, Coincheck, Bithumb, Zaif, CoinBene, Binance, Bitrue, Bitpoint, Upbit, VinDAX, and now KuCoin), the public tends to focus more on cases that didn't end well. Regardless of what systems are employed, there is always some level of risk. For that reason, most members of the public would prefer to see third party insurance.
Rather than trying to convince third party profit-seekers to provide comprehensive insurance and then relying on an expensive and slow legal system to enforce against whatever legal loopholes they manage to find each and every time something goes wrong, insurance could be run through multiple exchange operators and regulators, with the shared interest of having a reputable industry, keeping costs down, and taking care of Canadians. For example, a 4 of 7 multi-sig insurance fund held between 5 independent exchange operators and 2 regulatory bodies. All Canadian exchanges could pay premiums at a set rate based on their needed coverage, with a higher price paid for hot wallet coverage (anything not an air-gapped multi-sig cold wallet). Such a model would be much cheaper to manage, offer better coverage, and be much more reliable to payout when needed. The kind of coverage you could have under this model is unheard of. You could even create something like the CDIC to protect Canadians who get their trading accounts hacked if they can sufficiently prove the loss is legitimate. In cases of fraud, gross negligence, or insolvency, the fund can be used to pay affected users directly (utilizing the last transparent balance report in the worst case), something which private insurance would never touch. While it's recommended to have official policies for coverage, a model where members vote would fully cover edge cases. (Could be similar to the Supreme Court where justices vote based on case law.)
Such a model could fully protect all Canadians across all platforms. You can have a fiat coverage governed by legal agreements, and crypto-asset coverage governed by both multi-sig and legal agreements. It could be practical, affordable, and inclusive.

Now, we are at a crossroads. We can happily give up our freedom, our innovation, and our money. We can pay hefty expenses to auditors, lawyers, and regulators year after year (and make no mistake - this cost will grow to many millions or even billions as the industry grows - and it will be borne by all Canadians on every platform because platforms are not going to eat up these costs at a loss). We can make it nearly impossible for any new platform to enter the marketplace, forcing Canadians to use the same stagnant platforms year after year. We can centralize and consolidate the entire industry into 2 or 3 big players and have everyone else fail (possibly to heavy losses of users of those platforms). And when a flawed security model doesn't work and gets breached, we can make it even more complicated with even more people in suits making big money doing the job that blockchain was supposed to do in the first place. We can build a system which is so intertwined and dependent on big government, traditional finance, and central bankers that it's future depends entirely on that of the fiat system, of fractional banking, and of government bail-outs. If we choose this path, as history has shown us over and over again, we can not go back, save for revolution. Our children and grandchildren will still be paying the consequences of what we decided today.
Or, we can find solutions that work. We can maintain an open and innovative environment while making the adjustments we need to make to fully protect Canadian investors and cryptocurrency users, giving easy and affordable access to cryptocurrency for all Canadians on the platform of their choice, and creating an environment in which entrepreneurs and problem solvers can bring those solutions forward easily. None of the above precludes innovation in any way, or adds any unreasonable cost - and these three policies would demonstrably eliminate or resolve all 109 historic cases as studied here - that's every single case researched so far going back to 2011. It includes every loss that was studied so far not just in Canada but globally as well.
Unfortunately, finding answers is the least challenging part. Far more challenging is to get platform operators and regulators to agree on anything. My last post got no response whatsoever, and while the OSC has told me they're happy for industry feedback, I believe my opinion alone is fairly meaningless. This takes the whole community working together to solve. So please let me know your thoughts. Please take the time to upvote and share this with people. Please - let's get this solved and not leave it up to other people to do.

Facts/background/sources (skip if you like):



Thoughts?
submitted by azoundria2 to QuadrigaInitiative [link] [comments]

Madbyte News - October 1, 2020


What was Bitcoin's value over the last several years on October 1st? In 2012 it was super low at $11 USD, with the first halving only 2 months away. In 2013 it was at $127 and the Cyprus banking crisis hit the financial markets. Also, during 2013 was the first time Bitcoin passed the price of gold for a brief moment.
In 2014 it was valued at $387. By the end of the year it was given the title by The Guardian as the worst investment of the year. Mt.Gox exchange had failed and Ethereum did its ICO (Initial Coin Offering) and the silk road website was taken down. Tim Draper bought a good chunk of Bitcoins at auction and was predicting it to go to $10,000.
In 2015 it was lower at $238 but in 2016 the price was at $614 with the second halving having happened. During 2017 it reached a lofty $4404. 2017 also was when ICOs became popular with a few blockchain projects raising over $200 million. In 2018 Bitcoin was at $6601 and the ICO frenzy died. During 2019 it was $8334 and some exchanges continued to get hacked. Bakt opens futures trading and bitcoiners are talking about the third halving in 2020. And so today bitcoin is valued at about $10,600.
Most of those years saw massive changes up and down in value. For example, in 2013, there was a massive rise of 10,250% from $12 to $961 but in 2014 it dropped 52%. If you look at Bitcoin valuations from the October 1st lens it seems like a great time to buy especially after a halving.
We continue to see Bitcoin as the number one crypto for a portfolio even though almost every week we see another new cryptocurrency pop up. Some of them even hit the top 10 on Coinmarketcap very quickly. For example, UNI (Uniswap) is up over 2700% on Binance since it was listed on Sept.17, 2020. But history shows that most altcoins over the long term are not very successful.
Be careful of FOMO but happy investing, From the Madbyte Team.
-- In summary, Bitcoin, on October 1st was: 2020 - $10600 2019 - $8334 2018 - $6601 2017 - $4404 2016 - $614 2015 - $238 2014 - $387 2013 - $127 2012 - $11
submitted by cryptocronix to madbyte [link] [comments]

How To End The Cryptocurrency Exchange "Wild West" Without Crippling Innovation


In case you haven't noticed the consultation paper, staff notice, and report on Quadriga, regulators are now clamping down on Canadian cryptocurrency exchanges. The OSC and other regulatory bodies are still interested in industry feedback. They have not put forward any official regulation yet. Below are some ideas/insights and a proposed framework.



Many of you have limited time to read the full proposal, so here are the highlights:

Offline Multi-Signature

Effective standards to prevent both internal and external theft. Exchange operators are trained and certified, and have a legal responsibility to users.

Regular Transparent Audits

Provides visibility to Canadians that their funds are fully backed on the exchange, while protecting privacy and sensitive platform information.

Insurance Requirements

Establishment of basic insurance standards/strategy, to expand over time. Removing risk to exchange users of any hot wallet theft.


Background and Justifications


Cold Storage Custody/Management
After reviewing close to 100 cases, all thefts tend to break down into more or less the same set of problems:
• Funds stored online or in a smart contract,
• Access controlled by one person or one system,
• 51% attacks (rare),
• Funds sent to the wrong address (also rare), or
• Some combination of the above.
For the first two cases, practical solutions exist and are widely implemented on exchanges already. Offline multi-signature solutions are already industry standard. No cases studied found an external theft or exit scam involving an offline multi-signature wallet implementation. Security can be further improved through minimum numbers of signatories, background checks, providing autonomy and legal protections to each signatory, establishing best practices, and a training/certification program.
The last two transaction risks occur more rarely, and have never resulted in a loss affecting the actual users of the exchange. In all cases to date where operators made the mistake, they've been fully covered by the exchange platforms.
• 51% attacks generally only occur on blockchains with less security. The most prominent cases have been Bitcoin Gold and Ethereum Classic. The simple solution is to enforce deposit limits and block delays such that a 51% attack is not cost-effective.
• The risk of transactions to incorrect addresses can be eliminated by a simple test transaction policy on large transactions. By sending a small amount of funds prior to any large withdrawals/transfers as a standard practice, the accuracy of the wallet address can be validated.
The proposal covers all loss cases and goes beyond, while avoiding significant additional costs, risks, and limitations which may be associated with other frameworks like SOC II.

On The Subject of Third Party Custodians
Many Canadian platforms are currently experimenting with third party custody. From the standpoint of the exchange operator, they can liberate themselves from some responsibility of custody, passing that off to someone else. For regulators, it puts crypto in similar categorization to oil, gold, and other commodities, with some common standards. Platform users would likely feel greater confidence if the custodian was a brand they recognized. If the custodian was knowledgeable and had a decent team that employed multi-sig, they could keep assets safe from internal theft. With the right protections in place, this could be a great solution for many exchanges, particularly those that lack the relevant experience or human resources for their own custody systems.
However, this system is vulnerable to anyone able to impersonate the exchange operators. You may have a situation where different employees who don't know each other that well are interacting between different companies (both the custodian and all their customers which presumably isn't just one exchange). A case study of what can go wrong in this type of environment might be Bitpay, where the CEO was tricked out of 5000 bitcoins over 3 separate payments by a series of emails sent legitimately from a breached computer of another company CEO. It's also still vulnerable to the platform being compromised, as in the really large $70M Bitfinex hack, where the third party Bitgo held one key in a multi-sig wallet. The hacker simply authorized the withdrawal using the same credentials as Bitfinex (requesting Bitgo to sign multiple withdrawal transactions). This succeeded even with the use of multi-sig and two heavily security-focused companies, due to the lack of human oversight (basically, hot wallet). Of course, you can learn from these cases and improve the security, but so can hackers improve their deception and at the end of the day, both of these would have been stopped by the much simpler solution of a qualified team who knew each other and employed multi-sig with properly protected keys. It's pretty hard to beat a human being who knows the business and the typical customer behaviour (or even knows their customers personally) at spotting fraud, and the proposed multi-sig means any hacker has to get through the scrutiny of 3 (or more) separate people, all of whom would have proper training including historical case studies.
There are strong arguments both for and against using use of third party custodians. The proposal sets mandatory minimum custody standards would apply regardless if the cold wallet signatories are exchange operators, independent custodians, or a mix of both.

On The Subject Of Insurance
ShakePay has taken the first steps into this new realm (congratulations). There is no question that crypto users could be better protected by the right insurance policies, and it certainly feels better to transact with insured platforms. The steps required to obtain insurance generally place attention in valuable security areas, and in this case included a review from CipherTrace. One of the key solutions in traditional finance comes from insurance from entities such as the CDIC.
However, historically, there wasn't found any actual insurance payout to any cryptocurrency exchange, and there are notable cases where insurance has not paid. With Bitpay, for example, the insurance agent refused because the issue happened to the third party CEO's computer instead of anything to do with Bitpay itself. With the Youbit exchange in South Korea, their insurance claim was denied, and the exchange ultimately ended up instead going bankrupt with all user's funds lost. To quote Matt Johnson in the original Lloyd's article: “You can create an insurance policy that protects no one – you know there are so many caveats to the policy that it’s not super protective.”
ShakePay's insurance was only reported to cover their cold storage, and “physical theft of the media where the private keys are held”. Physical theft has never, in the history of cryptocurrency exchange cases reviewed, been reported as the cause of loss. From the limited information of the article, ShakePay made it clear their funds are in the hands of a single US custodian, and at least part of their security strategy is to "decline[] to confirm the custodian’s name on the record". While this prevents scrutiny of the custodian, it's pretty silly to speculate that a reasonably competent hacking group couldn't determine who the custodian is. A far more common infiltration strategy historically would be social engineering, which has succeeded repeatedly. A hacker could trick their way into ShakePay's systems and request a fraudulent withdrawal, impersonate ShakePay and request the custodian to move funds, or socially engineer their way into the custodian to initiate the withdrawal of multiple accounts (a payout much larger than ShakePay) exploiting the standard procedures (for example, fraudulently initiating or override the wallet addresses of a real transfer). In each case, nothing was physically stolen and the loss is therefore not covered by insurance.
In order for any insurance to be effective, clear policies have to be established about what needs to be covered. Anything short of that gives Canadians false confidence that they are protected when they aren't in any meaningful way. At this time, the third party insurance market does not appear to provide adequate options or coverage, and effort is necessary to standardize custody standards, which is a likely first step in ultimately setting up an insurance framework.
A better solution compared to third party insurance providers might be for Canadian exchange operators to create their own collective insurance fund, or a specific federal organization similar to the CDIC. Such an organization would have a greater interest or obligation in paying out actual cases, and that would be it's purpose rather than maximizing it's own profit. This would be similar to the SAFU which Binance has launched, except it would cover multiple exchanges. There is little question whether the SAFU would pay out given a breach of Binance, and a similar argument could be made for a insurance fund managed by a collective of exchange operators or a government organization. While a third party insurance provider has the strong market incentive to provide the absolute minimum coverage and no market incentive to payout, an entity managed by exchange operators would have incentive to protect the reputation of exchange operators/the industry, and the government should have the interest of protecting Canadians.

On The Subject of Fractional Reserve
There is a long history of fractional reserve failures, from the first banks in ancient times, through the great depression (where hundreds of fractional reserve banks failed), right through to the 2008 banking collapse referenced in the first bitcoin block. The fractional reserve system allows banks to multiply the money supply far beyond the actual cash (or other assets) in existence, backed only by a system of debt obligations of others. Safely supporting a fractional reserve system is a topic of far greater complexity than can be addressed by a simple policy, and when it comes to cryptocurrency, there is presently no entity reasonably able to bail anyone out in the event of failure. Therefore, this framework is addressed around entities that aim to maintain 100% backing of funds.
There may be some firms that desire but have failed to maintain 100% backing. In this case, there are multiple solutions, including outside investment, merging with other exchanges, or enforcing a gradual restoration plan. All of these solutions are typically far better than shutting down the exchange, and there are multiple cases where they've been used successfully in the past.

Proof of Reserves/Transparency/Accountability
Canadians need to have visibility into the backing on an ongoing basis.
The best solution for crypto-assets is a Proof of Reserve. Such ideas go back all the way to 2013, before even Mt. Gox. However, no Canadian exchange has yet implemented such a system, and only a few international exchanges (CoinFloor in the UK being an example) have. Many firms like Kraken, BitBuy, and now ShakePay use the Proof of Reserve term to refer to lesser proofs which do not actually cryptographically prove the full backing of all user assets on the blockchain. In order for a Proof of Reserve to be effective, it must actually be a complete proof, and it needs to be understood by the public that is expected to use it. Many firms have expressed reservations about the level of transparency required in a complete Proof of Reserve (for example Kraken here). While a complete Proof of Reserves should be encouraged, and there are some solutions in the works (ie TxQuick), this is unlikely to be suitable universally for all exchange operators and users.
Given the limitations, and that firms also manage fiat assets, a more traditional audit process makes more sense. Some Canadian exchanges (CoinSquare, CoinBerry) have already subjected themselves to annual audits. However, these results are not presently shared publicly, and there is no guarantee over the process including all user assets or the integrity and independence of the auditor. The auditor has been typically not known, and in some cases, the identity of the auditor is protected by a NDA. Only in one case (BitBuy) was an actual report generated and publicly shared. There has been no attempt made to validate that user accounts provided during these audits have been complete or accurate. A fraudulent fractional exchange, or one which had suffered a breach they were unwilling to publicly accept (see CoinBene), could easily maintain a second set of books for auditors or simply exclude key accounts to pass an individual audit.
The proposed solution would see a reporting standard which includes at a minimum - percentage of backing for each asset relative to account balances and the nature of how those assets are stored, with ownership proven by the auditor. The auditor would also publicly provide a "hash list", which they independently generate from the accounts provided by the exchange. Every exchange user can then check their information against this public "hash list". A hash is a one-way form of encryption, which fully protects the private information, yet allows anyone who knows that information already to validate that it was included. Less experienced users can take advantage of public tools to calculate the hash from their information (provided by the exchange), and thus have certainty that the auditor received their full balance information. Easy instructions can be provided.
Auditors should be impartial, their identities and process public, and they should be rotated so that the same auditor is never used twice in a row. Balancing the cost of auditing against the needs for regular updates, a 6 month cycle likely makes the most sense.

Hot Wallet Management
The best solution for hot wallets is not to use them. CoinBerry reportedly uses multi-sig on all withdrawals, and Bitmex is an international example known for their structure devoid of hot wallets.
However, many platforms and customers desire fast withdrawal processes, and human validation has a cost of time and delay in this process.
A model of self-insurance or separate funds for hot wallets may be used in these cases. Under this model, a platform still has 100% of their client balance in cold storage and holds additional funds in hot wallets for quick withdrawal. Thus, the risk of those hot wallets is 100% on exchange operators and not affecting the exchange users. Since most platforms typically only have 1%-5% in hot wallets at any given time, it shouldn't be unreasonable to build/maintain these additional reserves over time using exchange fees or additional investment. Larger withdrawals would still be handled at regular intervals from the cold storage.
Hot wallet risks have historically posed a large risk and there is no established standard to guarantee secure hot wallets. When the government of South Korea dispatched security inspections to multiple exchanges, the results were still that 3 of them got hacked after the inspections. If standards develop such that an organization in the market is willing to insure the hot wallets, this could provide an acceptable alternative. Another option may be for multiple exchange operators to pool funds aside for a hot wallet insurance fund. Comprehensive coverage standards must be established and maintained for all hot wallet balances to make sure Canadians are adequately protected.

Current Draft Proposal

(1) Proper multi-signature cold wallet storage.
(a) Each private key is the personal and legal responsibility of one person - the “signatory”. Signatories have special rights and responsibilities to protect user assets. Signatories are trained and certified through a course covering (1) past hacking and fraud cases, (2) proper and secure key generation, and (3) proper safekeeping of private keys. All private keys must be generated and stored 100% offline by the signatory. If even one private keys is ever breached or suspected to be breached, the wallet must be regenerated and all funds relocated to a new wallet.
(b) All signatories must be separate background-checked individuals free of past criminal conviction. Canadians should have a right to know who holds their funds. All signing of transactions must take place with all signatories on Canadian soil or on the soil of a country with a solid legal system which agrees to uphold and support these rules (from an established white-list of countries which expands over time).
(c) 3-5 independent signatures are required for any withdrawal. There must be 1-3 spare signatories, and a maximum of 7 total signatories. The following are all valid combinations: 3of4, 3of5, 3of6, 4of5, 4of6, 4of7, 5of6, or 5of7.
(d) A security audit should be conducted to validate the cold wallet is set up correctly and provide any additional pertinent information. The primary purpose is to ensure that all signatories are acting independently and using best practices for private key storage. A report summarizing all steps taken and who did the audit will be made public. Canadians must be able to validate the right measures are in place to protect their funds.
(e) There is a simple approval process if signatories wish to visit any country outside Canada, with a potential whitelist of exempt countries. At most 2 signatories can be outside of aligned jurisdiction at any given time. All exchanges would be required to keep a compliant cold wallet for Canadian funds and have a Canadian office if they wish to serve Canadian customers.
(2) Regular and transparent solvency audits.
(a) An audit must be conducted at founding, after 3 months of operation, and at least once every 6 months to compare customer balances against all stored cryptocurrency and fiat balances. The auditor must be known, independent, and never the same twice in a row.
(b) An audit report will be published featuring the steps conducted in a readable format. This should be made available to all Canadians on the exchange website and on a government website. The report must include what percentage of each customer asset is backed on the exchange, and how those funds are stored.
(c) The auditor will independently produce a hash of each customer's identifying information and balance as they perform the audit. This will be made publicly available on the exchange and government website, along with simplified instructions that each customer can use to verify that their balance was included in the audit process.
(d) The audit needs to include a proof of ownership for any cryptocurrency wallets included. A satoshi test (spending a small amount) or partially signed transaction both qualify.
(e) Any platform without 100% reserves should be assessed on a regular basis by a government or industry watchdog. This entity should work to prevent any further drop, support any private investor to come in, or facilitate a merger so that 100% backing can be obtained as soon as possible.
(3) Protections for hot wallets and transactions.
(a) A standardized list of approved coins and procedures will be established to constitute valid cold storage wallets. Where a multi-sig process is not natively available, efforts will be undertaken to establish a suitable and stable smart contract standard. This list will be expanded and improved over time. Coins and procedures not on the list are considered hot wallets.
(b) Hot wallets can be backed by additional funds in cold storage or an acceptable third-party insurance provider with a comprehensive coverage policy.
(c) Exchanges are required to cover the full balance of all user funds as denominated in the same currency, or double the balance as denominated in bitcoin or CAD using an established trading rate. If the balance is ever insufficient due to market movements, the firm must rectify this within 24 hours by moving assets to cold storage or increasing insurance coverage.
(d) Any large transactions (above a set threshold) from cold storage to any new wallet addresses (not previously transacted with) must be tested with a smaller transaction first. Deposits of cryptocurrency must be limited to prevent economic 51% attacks. Any issues are to be covered by the exchange.
(e) Exchange platforms must provide suitable authentication for users, including making available approved forms of two-factor authentication. SMS-based authentication is not to be supported. Withdrawals must be blocked for 48 hours in the event of any account password change. Disputes on the negligence of exchanges should be governed by case law.

Steps Forward

Continued review of existing OSC feedback is still underway. More feedback and opinions on the framework and ideas as presented here are extremely valuable. The above is a draft and not finalized.
The process of further developing and bringing a suitable framework to protect Canadians will require the support of exchange operators, legal experts, and many others in the community. The costs of not doing such are tremendous. A large and convoluted framework, one based on flawed ideas or implementation, or one which fails to properly safeguard Canadians is not just extremely expensive and risky for all Canadians, severely limiting to the credibility and reputation of the industry, but an existential risk to many exchanges.
The responsibility falls to all of us to provide our insight and make our opinions heard on this critical matter. Please take the time to give your thoughts.
submitted by azoundria2 to QuadrigaInitiative [link] [comments]

Who has gotten screwed over by exchanges in the past and how?

There have been so many hacks and thefts in bitcoin's history, in terms of both coin (Mt. Gox hack) and kyc data (Binance data breach), or other times when exchanges just lost users' trust (Shapeshift implementing KYC policies).
History keeps repeating itself and I wonder why people aren't flocking towards alternatives like the bisq bitcoin/fiat exchange or liquality atomic swaps?
Edit: it seems like everyone has had issues with custody and found themselves without support when they needed it most. Has anyone tried these non-custodial services?
submitted by epluribusbtc to Bitcoin [link] [comments]

Interview With Eddie Jiang: How CoinEx Is Adapting To The Exchange Space And Growing

Interview With Eddie Jiang: How CoinEx Is Adapting To The Exchange Space And Growing
Written by chaintalk.tv
https://preview.redd.it/v238540taz751.jpg?width=1280&format=pjpg&auto=webp&s=2a852e171a74e49da802d7c12fadba452cf4cf43
We recently had the opportunity to interview the VP of ViaBTC Group, Eddie Jiang. ViaBTC Group owns popular crypto exchange CoinEx and ViaBTC Pool. In this interview Eddie discusses being the first exchange to use BCH as the base currency, ViaBTC Pool and integrating with CoinEx, new features and ambassador program, and competing with other exchanges like Binance and Huobi. Please enjoy the interview below.
How come you decided to open up CoinEx to other cryptos other than just BCH?
Eddie Jiang: CoinEx is the world’s first exchange to implement Bitcoin Cash as a base currency. At that time, it was evident that there was a demand for BCH trading markets, and we are the first to explore this opportunity. It also shows our determination to support the BCH’s development.
As CoinEx is developing, our goal becomes bigger and we are aiming at the global market. We need to constantly improve our product diversification to meet the different needs of more users, so we open up to other cryptos. In the past six months, we have listed more than 50 new tokens. Up to now, we have listed 129 cryptos and 313 markets. Besides, in addition to spot trading, CoinEx also supports perpetual contract and other derivatives trading.
How does CoinEx integrate with the ViaBTC Pool?
Eddie Jiang: ViaBTC Group announced a strategic upgrade, which included a new organizational structure, product innovations and service improvements, on 30 May.
As part of the change, the Group has established three dedicated business units (BU): the financial services BU, consisting of ViaBTC mining pool and CoinEx exchange; the infrastructure services BU, including ViaWallet and Blockchain Explorer; and the ecological development BU, focusing on the research and development of public chain technology and the construction of the ecology.
After halving, the combination of mining and finance will become closer and closer. Investing in mining machines is like buying a Bitcoin option. Miners need more flexible financial products to maintain and increase the value of assets, or hedging services. Based on this judgment, the operations of ViaBTC mining pool and CoinEx exchange will be integrated in the future to realize the financial empowerment of the mining pool to meet the diverse financial needs of miners.
Features of this integrated product upgrade can be summarized as: “ The mining pool is the wallet, and the wallet is the transaction.” ViaBTC is the world first mining pool that has a wallet embedded in the mining pool account. Users do not need to transfer the mined coins, and can realize the function of coin exchange within the wallet. For example, they can directly convert the mined coins into USDT to pay electricity bill. What’s more, users can store, deposit and withdraw their revenue, and transfer assets to CoinEx at any time without charge, as well as complete other operations on the exchange, such as purchasing wealth management products for asset preservation and appreciation. In addition, we also provide hedging services. All of the above functions can be completed in one stop in the mining pool, without the need to transfer assets between different platforms.
The exchange empowers the mining pool, and the mining pool will further bring more traffic and resources to the exchange. The two complement each other and development coordinately.
CoinEx has recently added many new features. Can you talk about what new updates were made to the platform and why you made them?
Eddie Jiang: We have always attached great importance to the development of overseas markets since our establishment, and one of our major goals this year is to cover at least 10 different languages speaking markets.
To realize this and to meet the needs of more users worldwide, CoinEx has been continuously optimizing and upgrading its operating strategies, products and services. Our product diversifications are constantly improving. As I said before, we have launched leverage trading, perpetual contract trading, and wealth management products in addition to just spot trading. However, we don’t ignore the importance of spot trading. More mainstream, popular, and high-quality tokens have been listed, and up to now, there are 129 tokens and 313 trading pairs on CoinEx.
During the epidemic, we have never slowed down our development. Lacking of the OTC service has always been a shortage for CoinEx. In March, we partner with Simplex to integrate the first fiat onramp to our platform. People now can buy crypto with their credit cards, which lowers the threshold for more people to enter the crypto world. Moreover, we announced global strategic partnership with Matrixport to provide people with large amount of fiat to crypto needs the OTC service. These newly launched services also help to attract more users.
At the same time, CoinEx has been launched in Arabic, Italian, English, Japanese, Russian, Korean and other 16 languages. Earlier we also carried out product upgrades, making the UI and function sections clearer.
In terms of operations, we launched an upgraded CoinEx Ambassador program in March. To best utilize each ambassador’s personal strengths, there are four categories of CoinEx Ambassador with different responsibilities, namely Referral Ambassador, Marketing Ambassador, Operation Ambassador, and Business Ambassador, which will expand our brand’s exposure and help CoinEx grow into a more international exchange platform.
From March until now CoinEx has seen a 100% increase in user registrations. Why is that and are you able to see where they are coming from?
Eddie Jiang: Because of the efforts mentioned above, in 2020, we’ve seen an exponential increase in activity in just the past few months alone. In this year alone, CoinEx’s daily registered users increased by 100%. These new users mainly come from markets such as the Middle East, Asia Pacific, and more.
Interestingly, we saw an uptick in traffic from the Middle East in March. User growth in Southeast Asia also picked up significantly, newly registered users increased by 133.6% in April.
With Binance, BitMex, Huobi, Bybit, and Deribit, controlling most of the crypto futures and options markets, where do you see CoinEx fitting in? How do you plan to capture market share from these large exchanges?
Eddie Jiang: We won’t compete with others. We focus on ourselves to improve products and our goal is to be better than yesterday.
Our pace is solid and steady, instead of focusing on temporary heat and flow. We have always attached great importance of spot trading, and we are committed to be responsible for users’ investment. We have set up CoinEx Institution, which is dedicated on project research. A listing committee consist of core team members review and vote on projects recommended by the CoinEx Institution. In this way, fraud projects are avoided as much as possible.
Besides, we will focus on niche areas with great potential. For example, Southeast Asia and the Middle East. CoinEx can serve users in those countries well by providing a platform with rich cryptos to trade, and will pay more efforts on refined operations in different countries.
Moreover, CoinEx has a very complete ecosystem. Financial services, infrastructure, and ecological development, the three business units complement each other. The infrastructure BU is our cornerstone and is positioned as a defensive product; the financial service BU is a cash cow and is positioned as an aggressive product; the ecological development BU focuses on the public chain ecology and is the future infrastructure.
What is the geographical breakdown of the CoinEx userbase?
Eddie Jiang: The current proportion of CoinEx’s overseas users has reached 80% of the total registered users, and mainly in Australia, Southeast Asia, North America, Middle East and South Korea.
Do you have plans to focus on any certain jurisdictions? How will you do that?
Eddie Jiang: When we evaluate regions, two things matter: policy and potential.
Whether an exchange’s business expansion in a region is smooth or not largely depends on the region’s policies. If the region is not very friendly towards cryptocurrency or has repeated attitudes, there will be more difficulties and the cost will be much higher.
For a region’s development potential, we need to think about the demand and market development status. South Korea, Southeast Asia, the Middle East and other regions are all areas with good potential for cryptocurrency development. Compared with Europe and America, policy risks in these countries are lower, and the supervision mechanism is relatively complete. The public has a high degree of awareness of cryptocurrencies. Besides, some regions or countries have inflation problems due to political and economic reasons.
CoinEx will continue to focus on the Middle East and South Asia, which are relatively niche. India has just lifted ban on cryptocurrency trading this year, and there are many cryptocurrency investors in Indian. CoinEx can serve them well by providing a platform with rich cryptos to trade. More people in the Middle East are interested cryptos, especially in countries that are subject to economic sanctions or high inflation. For those people, cryptocurrencies are one of the best choices for asset preservation.
Since the CoinEx Ambassador program launched in March, it has been almost three months. We are conducting the second round of ambassador recruitment. This time, we will use the power of ambassadors to expand our recruitment coverage and strive to attract more crypto enthusiasts from all over the world to grow together with CoinEx. Moreover, we will launch the National Expansion plan and leverage on the CoinEx and ViaBTC mining pool resources, to further explore the Russian market. At the market level, we will make more PR efforts in local markets, and start refined operations.
What is CoinEx Chain and CoinEx DEX?
Eddie Jiang: CoinEx Chain is a public chain built on the Tendermint consensus protocol and the Cosmos SDK. It consists of three dedicated public chains parallel to each other. Among these three chains, CoinEx DEX meets the most basic needs of DeFi for token issuance, transfer, and transactions. The Smart Chain is designed to meet the needs of complex financial scenarios and delivers programmable cash. The Privacy Chain facilitates privacy and security.
On November 11, 2019, we took the lead in launching the Mainnet of CoinEx DEX. CoinEx DEX is the world’s first public chain dedicated to decentralized transactions. Users can easily manage their digital assets on it.
CoinEx DEX can fully satisfy the following conditions: users have private keys at their own disposal; transfers and transactions are all completed on-chain, which is 200% transparent and checkable; the issuance, transfer, and transaction of tokens do not require review or permission; the community governance and operation is decentralized, similar to EOS, and validators are introduced to the community ecosystem construction and governance. There are currently 41 validators.
It also has extreme performance. TPS reaches as high as 10,000 and transactions are confirmed within seconds. The transaction fee, 0.0001 US dollars for each transaction, is negligible.
Third, it’s simple and easy to use. The new operation interface design helps beginners get started quickly; with the one-click token issuing module, users only need to fill in a few items to issue tokens; the built-in automated market-making module guarantees liquidity.
How will CoinEx DEX improve the decentralized exchange space that has been unable to gain much adoption?
Eddie Jiang: There are many challenges and difficulties facing centralized exchanges. The first difficulty is security. Security is a huge concern for CEXs. Over the last 10 years, hackers have stolen more than $1.5 billion from centralized exchanges. In fact, research groups estimate that hackers stole somewhere between $950 Million and $1 Billion from centralized exchanges in 2018 alone. There were also incidents of coin thefts in other exchanges in 2019. Many exchanges, such as Mt. Gox, Youbit, were forced to file for bankruptcy and shut down as a result of hacks.
The second is high management costs. Centralized exchanges need to list a large number of cryptocurrencies and each of them have different trading pairs. That entails huge efforts in development and maintenance and, thus, high management costs.
The last is global policies. Cryptocurrency is faced with different regulatory policies in different countries. Every time a centralized exchange enters a country, it needs to adapt itself to local regulatory policies for compliance. This is a holdback for the exchange’s rapid market expansion globally. Such adaptation will also bring a huge learning cost for the exchange team.
Obviously, these problems can be well solved by DEX. CoinEx DEX is a true DEX with full open source and full community governance, as well as without depending on official nodes, websites, wallets, etc. On DEX, users are able to in charge of their own private keys and assets all by themselves. Their assets are more safe and secure. Transfers and transactions are all completed on-chain, which is 200% transparent and checkable; and the issuance, transfer, and transaction of tokens do not require review or permission. What’s more, CoinEx DEX provides a great and convenient user experience.
How will CoinEx Chain and DEX help the crypto industry as a whole?
Eddie Jiang: The public chain is the cornerstone of the blockchain industry. CoinEx Chain has the parallelism of multiple dedicated public chains, each of which performs its own functions, by cross-chaining for both high performance and flexibility.
CoinEx Chain is committed to building the next generation of blockchain financial infrastructure. It is a more complete ecosystem built around the DEX public chain. The DEX public chain is a dedicated public chain developed specifically for token issuance and trading and the biggest improvement on trading speed, so it only supports the necessary functions, not smart contracts.
But smart contracts are the foundation for building more complex financial applications. Outside the DEX public chain, CoinEx Chain also includes a Smart Chain that supports smart contracts.
Moreover, as privacy issues on the current blockchain have been criticized, it is one of the core tasks of CoinEx Chain to safeguard users’ privacy. Similar to the Smart Chain, the Privacy Chain specifically supports transaction privacy protection. With cross-chain circulation, it can improve the privacy characteristic of the entire CoinEx Chain ecosystem.
Nowadays, 1.7 million people in the world have no bank accounts; however, among them, two thirds are smartphone users with huge demands for financial services. The public chain will empower DeFi applications’ development and popularization, not only help more companies to seize the huge market opportunity, but also to bring lasting transformations and improvements in people’s lives.
With so many crypto exchanges, what is the future outlook of CoinEx when it comes to the crypto exchange space?
Eddie Jiang: It has been nearly 3 years since CoinEx has been launched, but it’s quite young for an entrepreneurial team. We have seen too many projects’ failures due to governance issues. CoinEx has a very elite team with high technical and management capabilities. In terms of business, CoinEx has gradually developed with diversified business and a complete ecosystem. It’s clear that the market will still grow very fast in the future, and the market size is still very large. We will continue to improve our products, put more efforts in marketing and operations, as well as look for more high-quality projects, to increase the number of users and transactions on the platform. Lay a solid foundation, and I’m sure the time will come for us to shine.
What updates is the CoinEx team most excited for?
Eddie Jiang: We are very excited about the National Expansion Plan which will be launched later this year. It is an important part in CoinEx’s globalization strategy. We will actively explore some new markets while consolidate the original ones. CoinEx will set aside 10 million US dollars to set up a “Pioneer Fund” to support this plan. This fund will be used to support local cryptocurrency projects and promote the development of the local cryptocurrency communities through investment or cooperation. Our goal this year is to invest in projects and communities that are conducive to expanding the CoinEx ecosystem in countries with high development potential.
Original article
Click HERE to register on CoinEx
submitted by CoinExcom to btc [link] [comments]

Crypto-Powered: Understanding Bitcoin, Ethereum, and DeFi

Crypto-Powered: Understanding Bitcoin, Ethereum, and DeFi
Until one understands the basics of this tech, they won’t be able to grasp or appreciate the impact it has on our digital bank, Genesis Block.
https://reddit.com/link/ho4bif/video/n0euarkifu951/player
This is the second post of Crypto-Powered — a new series that examines what it means for Genesis Block to be a digital bank that’s powered by crypto, blockchain, and decentralized protocols.
---
Our previous post set the stage for this series. We discussed the state of consumer finance and how the success of today’s high-flying fintech unicorns will be short-lived as long as they’re building on legacy finance — a weak foundation that is ripe for massive disruption.
Instead, the future of consumer finance belongs to those who are deeply familiar with blockchain tech & decentralized protocols, build on it as the foundation, and know how to take it to the world. Like Genesis Block.
Today we begin our journey down the crypto rabbit hole. This post will be an important introduction for those still learning about Bitcoin, Ethereum, or DeFi (Decentralized Finance). This post (and the next few) will go into greater detail about how this technology gives Genesis Block an edge, a superpower, and an unfair advantage. Let’s dive in…
https://preview.redd.it/1ugdxoqjfu951.jpg?width=650&format=pjpg&auto=webp&s=36edde1079c3cff5f6b15b8cd30e6c436626d5d8

Bitcoin: The First Cryptocurrency

There are plenty of online resources to learn about Bitcoin (Coinbase, Binance, Gemini, Naval, Alex Gladstein, Marc Andreessen, Chris Dixon). I don’t wanna spend a lot of time on that here, but let’s do a quick overview for those still getting ramped up.
Cryptocurrency is the most popular use-case of blockchain technology today. And Bitcoin was the first cryptocurrency to be invented.
Bitcoin is the most decentralized of all crypto assets today — no government, company, or third party can control or censor it.
Bitcoin has two primary features (as do most other cryptocurrencies):
  1. Send Value You can send value to anyone, anywhere in the world. Nobody can intercept, delay or stop it — not even governments or financial institutions. Unlike with traditional money transfers or bank wires, there are no layers of middlemen. This results in a process that is much more cost-efficient. Some popular use-cases include remittances and cross-border payments.
  2. Store Value With nothing but a smartphone, you can become your own bank and store your own funds. Nobody can seize your assets. The funds are digital and stored on a blockchain. Your money no longer needs to be stored at a bank, in a vault, or under your mattress. I covered a few inspiring use-cases in a previous post. They include banking the unbanked, protecting assets from government seizure, mitigating the risk of a bank run, and protection against hyperinflation (like what recently happened in Venezuela).
The fact that there are so few things one can do with Bitcoin is one of its greatest strengths.
Its design is simple, elegant, and focused. It has been 10+ years since Satoshi’s white paper and no one has been able to crack or hack the Bitcoin network. With a market cap of $170B, there is plenty of incentive to try.
https://preview.redd.it/bizndfpkfu951.png?width=800&format=png&auto=webp&s=456c53b798248e60456a65835a33c69b2fe8daf0

Public Awareness

A few negative moments in Bitcoin’s history include the collapse of Mt. Gox — which resulted in hundreds of millions of customer funds being stolen — as well as Bitcoin’s role in dark markets like Silk Road — where Bitcoin arguably found its initial userbase.
However, like most breakthrough technology, Bitcoin is neither good nor bad. It’s neutral. People can use it for good or they can use it for evil. Thankfully, it’s being used less and less for illicit activity. Criminals are starting to understand that transactions on a blockchain are public and traceable — it’s exactly the type of system they usually try to avoid. And it’s true, at this point “a lot more” crimes are actually committed with fiat than crypto.
As a result, the perception of bitcoin and cryptocurrency has been changing over the years to a more positive light.
Bitcoin has even started to enter the world of media & entertainment. It’s been mentioned in Hollywood films like Spiderman: Into the Spider-Verse and in songs from major artists like Eminem. It’s been mentioned in countless TV shows like Billions, The Simpsons, Big Bang Theory, Gray’s Anatomy, Family Guy, and more.
As covid19 has ravaged economies and central banks have been printing money, Bitcoin has caught the attention of many legendary Wall Street investors like Paul Tudor Jones, saying that Bitcoin is a great bet against inflation (reminding him of Gold in the 1970s).
Cash App already lets their 25M users buy Bitcoin. It’s rumored that PayPal and Venmo will soon let their 325M users start buying Bitcoin. Bitcoin is by far the most dominant cryptocurrency and is showing no signs of slowing down. For more than a decade it has delivered on its core use-cases — being able to send or store value.
At this point, Bitcoin has very much entered the zeitgeist of modern pop culture — at least in the West.
https://preview.redd.it/dnuwbw8mfu951.png?width=800&format=png&auto=webp&s=6f1f135e3effee4574b5167901b80ced2c972bda

Ethereum: Programmable Money

When Ethereum launched in 2015, it opened up a world of new possibilities and use-cases for crypto. With Ethereum Smart Contracts (i.e. applications), this exciting new digital money (cryptocurrency) became a lot less dumb. Developers could now build applications that go beyond the simple use-cases of “send value” & “store value.” They could program cryptocurrency to have rules, behavior, and logic to respond to different inputs. And always enforced by code. Additional reading on Ethereum from Linda Xie or Vitalik Buterin.
Because these applications are built on blockchain technology (Ethereum), they preserve many of the same characteristics as Bitcoin: no one can stop, censor or shut down these apps because they are decentralized.
One of the first major use-cases on Ethereum was the ability to mint and create your own token, your own cryptocurrency. Many companies used this as a way to fundraise from the public. This led to the 2017 ICO bubble (Initial Coin Offerings). Some tokens — and the apps/networks they powered — were fascinating and innovative. Most tokens were pointless. And many tokens were outright scams. Additional token reading from Fred Ehrsam, Balaji, and Naval.
https://reddit.com/link/ho4bif/video/b5b1jh9ofu951/player

Digital Gold Rush

Just as tokens grew in popularity in 2017–2018, so did online marketplaces where these tokens could be bought, sold, and traded. This was a fledgling asset class — the merchants selling picks, axes, and shovels were finally starting to emerge.
I had a front-row seat — both as an investor and token creator. This was the Wild West with all the frontier drama & scandal that you’d expect.
Binance — now the world’s largest crypto exchange —was launched during this time. They along with many others (especially from Asia) made it really easy for speculators, traders, and degenerate gamblers to participate in these markets. Similar to other financial markets, the goal was straightforward: buy low and sell high.
https://preview.redd.it/tytsu5jnfu951.jpg?width=600&format=pjpg&auto=webp&s=fe3425b7e4a71fa953b953f0c7f6eaff6504a0d1
That period left an embarrassing stain on our industry that we’ve still been trying to recover from. It was a period rampant with market manipulation, pump-and-dumps, and scams. To some extent, the crypto industry still suffers from that today, but it’s nothing compared to what it was then.
While the potential of getting filthy rich brought a lot of fly-by-nighters and charlatans into the industry, it also brought a lot of innovators, entrepreneurs, and builders.
The launch and growth of Ethereum has been an incredible technological breakthrough. As with past tech breakthroughs, it has led to a wave of innovation, experimentation, and development. The creativity around tokens, smart contracts, and decentralized applications has been fascinating to witness. Now a few years later, the fruits of those labors are starting to be realized.

DeFi: Decentralized Finance

So as a reminder, tokens are cryptocurrencies. Cryptocurrencies can carry value. And value is a lot like money. Because tokens are natively integrated with Ethereum, it’s been natural for developers to build applications related to financial services — things like lending, borrowing, saving, investing, payments, and insurance. In the last few years, there has been a groundswell of developer momentum building in this area of financial protocols. This segment of the industry is known as DeFi (Decentralized Finance).
https://preview.redd.it/f0sjzqspfu951.png?width=461&format=png&auto=webp&s=8e0a31bf29250fc624918fbd8514b008762f379e
In Q2 of 2020, 97% of all Ethereum activity was DeFi-related. Total DeFi transaction volume has reached $11.5B. The current value locked inside DeFi protocols is approaching $2 Billion (double from a month ago). DeFi’s meteoric growth cannot be ignored.
Most of that growth can be attributed to exciting protocols like Compound, Maker, Synthetix, Balancer, Aave, dYdX, and Uniswap. These DeFi protocols and the financial services they offer are quickly becoming some of the most popular use-cases for blockchain technology today.
https://preview.redd.it/wn3phnkqfu951.png?width=800&format=png&auto=webp&s=02f56caa6b94aa59eadd6e368ef9346ba10c7611
This impressive growth in DeFi certainly hasn’t come without growing pains. Unlike with Bitcoin, there are near-infinite applications one can develop on Ethereum. Sometimes bugs (or typos) can slip through code reviews, testing, and audits — resulting in loss of funds.
Our next post will go much deeper on DeFi.

Wrap Up

I know that for the hardcore crypto people, what we covered today is nothing new. But for those who are still getting up to speed, welcome! I hope this was helpful and that it fuels your interest to learn more.
Until you understand the basics of this technology, you won’t be able to fully appreciate the impact that it has on our new digital bank, Genesis Block. You won’t be able to understand the implications, how it relates, or how it helps.
After today’s post, some of you probably have a lot more questions. What are specific examples or use-cases of DeFi? Why does it need to be on a blockchain? What benefits does it bring to Genesis Block and our users?
In upcoming posts, we answer these questions. Today’s post was just Level 1. It set the foundation for where we’re headed next: even deeper down the crypto rabbit hole.
---
Other Ways to Consume Today's Episode:
We have a lot more content coming. Be sure to follow our channels: https://genesisblock.com/follow/
Have you already downloaded the app? We're Genesis Block, a new digital bank that's powered by crypto & decentralized protocols. The app is live in the App Store (iOS & Android). Get the link to download at https://genesisblock.com/download
submitted by mickhagen to genesisblockhq [link] [comments]

Multicurrency Wallet DEXs will be the standard of the 2020s. The present status quo is an absolute joke.

Before I begin, I'd like to ask you a question. Why are so many of the most established people in crypto among the most closed-minded when it comes to talking about new ideas? Why is the crypto space more concerned with what a clown from Australia is lying about or petty figurehead drama than the hard work and effort of the good and lesser-known among them?
Let's talk about altcoins for a minute. It'd be a very tough job to count every single alt that's come in on a hypetrain and died in obscurity. If I were to guess that 95% of them failed, I wouldn't be surprised to hear that it was a conservative estimate and that the number is even higher. Indeed, it would be much easier to count the exceptions to the rule. To name a few - ETH, LTC, XMR, and (quite amusingly) DOGE.
Should the stubbornly high failure rate of alts justify writing them all off as garbage? Businesses have an incredibly high failure rate too. It would be foolish - outright silly, even - to say that the grocery store is a fraud and a scam because the aqua-saxophone jazzercise laundromat failed to live up to it's expectations. Maybe not, because this is exactly the way the crypto space is right now.
That line of thinking is the de facto standard in the cryptocurrency space right now - "guilty (of being a shitcoin) until proven innocent (by some central authority figure or big exchange who can validate it for us so we don't have to do it ourselves)". To be fair, there was an aggressive torrent of these "goofy laundromats" in 2017 and people are either hungover or shell-shocked from all the broken pipedreams and costly fiction. You'd think that the titans of this industry, particularly those who care more about the cypherpunk essence of Bitcoin than how rich they can get off of it, would be more receptive to the legitimate projects that are working in obscurity to harden the crypto space and it's infrastructure. Unfortunately, that does not seem to be the case. All too many seem to think that everything that needed to be built has already been built.
Considering that all the Bitcoin titans are somewhat newly-minted, the irony is remarkable. No one used to take Bitcoin seriously. The further back in time you go, the more it took lonely effort and independent research to truly grasp its ideas. This is still the case today. Most have heard of it but have no idea what it is or why it's important. Many who are fervently in PMs or traditional investments like stocks and bonds continue to deride it, even though it will go down as the best performing asset of the 2010s by far. Others are a little more aggressive and, despite a lack of knowledge, call it anything from a scam to "rat poison squared". Like anything else, it's foolish to make bold claims atop little to no education.
You'd think that treatment would make Bitcoin maximalists do some reflecting. Instead, a sizable number of them decided to emulate the ones who beat up on Bitcoin when it was small and irrelevant. "All you need is Bitcoin. Everything else is trash. I know what I'm talking about because I bought the top of the 2013 bubble and I'm probably immune to future dumps for life".
Now let's talk about where cryptocurrency infrastructure falls short. Bitcoin still retains the same cypherpunk essence that it's always had. The same can be said for Bitcoin wallets. They're secure. They allow for anonymous transactions. They run on an immutable blockchain. There is no central authority between a key-holder and their funds. Enter the exchanges. In a way, they were a necessary evil. Without them, adoption would be severely throttled. With them, Bitcoin is compromised.
For many, the privacy and anonymity that BTC is supposed to offers has been tossed out. It was the only way it could be retrofitted into a tightly-controlled system that demands KYC. While this has helped to spread adoption, Bitcoin has become more and more traceable. Quite ironically, many of these same exchanges that adopted KYC policies to "ensure accountability from their customers" had no trouble exit scamming.
They come and go. The old one gets hacked, or it exit scams, or proves itself to be corrupt and suspicious. A new one comes. This time it will be different. Then the cycle repeats itself. Mt. Gox. Bitfinex. Polo. Bittrex. Binance. They all had their time in the Sun.
These exchanges are in many ways the antithesis of the cypherpunk manifesto - vulnerable honeypots directly controlled by a centralized figurehead. Unsurprisingly, they cause a lot of unneeded trouble and give Bitcoin a ton of bad publicity. Example:
Me: "What do you think of Bitcoin?"
Co-worker: "Didn't that thing get hacked last week?"
Me: "Bitcoin didn't, but a place where it was exchanged was."
Co-worker: "I don't trust it. It's only a matter of time til they find out how to type in some numbers to make more show up on a screen blah blah blah."
You've all likely met someone like this and brushed them off as closed-mined, but they're exactly the type of person this industry needs to convince to further adoption. It will be next to impossible to do so with the way things are right now.
In order for Bitcoin to survive, it needs exchanges that are built to the same code that it was. The solution, therefore, is to "port" the cypherpunk essence of Bitcoin to the exchanges. Immutability. Anonymity. Privacy. No central authority of figurehead.
With all that said, let's talk about DEXs. I started a thread on here a few months back when Binance announced that they were giving Americans the boot. I got a ton of answers. It shows that, among the hardcore at least, there is a desire to go in a new direction. Loopring, IDEX, and Bisq were among the more popular choices.
It's a step in the right direction. However, these DEXs are still rather inaccessible - especially to outsiders. Performance wise, they're on the slower side of things. Due to these setbacks, they suffer from low volume. This is where some recent developments in multicurrency wallets with embedded DEXs from lesser-known projects will come out of obscurity and catch everyone by surprise.
Among them - I'd like to mention Stakenet Wallet and KMD's Atomic DEX. Both of them, now seemingly weeks away from launch, will allow for atomic swaps between a wide variety of coins directly from a private wallet. Stakenet goes a step further by offering atomic swaps running atop Lightning Network.
Why does this matter? These two platforms will be to exchanges what the inception of Bitcoin was to currency. Finally, after almost 9 years, Bitcoin not only has an exchange that truly honors its essence, but it's starting to see healthy competition between them.
To elaborate further on why this is very important.. No KYC. No accounts. No sending Bitcoin to an exchange and waiting around for it to show up. No downloading multiple wallets. No exchange figureheads. No withdrawal freezes. In Stakenet's case, the decentralized MN network that runs it's DEX will also act as a massive LN payment processor (routing, watchtowers) that provides a ton of liquidity for it while allowing Bitcoin to scale. "Lightning swaps" will provide every LN-based coin the ability to be instantly swapped to purchase anything in BTC. Stakenet will also feature a DEX aggregator that will pool together the orderbooks of numerous DEXs into one easily-accessible spot, boosting traffic to the many DEXs that are harder to reach and furthering their adoption along. Simply download a wallet like you would any other app and you're ready to get started. It's so much easier and more convenient. I don't see how or why CEXs and all their ilk (figurehead drama, geoblocking, exchange hacks, wash trading, currency manipulation, exit scams, etc) could remain relevant in the environment to come.
Regulation will not save us. Decentralization will. As long as one person learned something from this, it was all worth it. I welcome the opinions of everyone in this space.
submitted by ketchuma to CryptoCurrency [link] [comments]

Technical: A Brief History of Payment Channels: from Satoshi to Lightning Network

Who cares about political tweets from some random country's president when payment channels are a much more interesting and are actually capable of carrying value?
So let's have a short history of various payment channel techs!

Generation 0: Satoshi's Broken nSequence Channels

Because Satoshi's Vision included payment channels, except his implementation sucked so hard we had to go fix it and added RBF as a by-product.
Originally, the plan for nSequence was that mempools would replace any transaction spending certain inputs with another transaction spending the same inputs, but only if the nSequence field of the replacement was larger.
Since 0xFFFFFFFF was the highest value that nSequence could get, this would mark a transaction as "final" and not replaceable on the mempool anymore.
In fact, this "nSequence channel" I will describe is the reason why we have this weird rule about nLockTime and nSequence. nLockTime actually only works if nSequence is not 0xFFFFFFFF i.e. final. If nSequence is 0xFFFFFFFF then nLockTime is ignored, because this if the "final" version of the transaction.
So what you'd do would be something like this:
  1. You go to a bar and promise the bartender to pay by the time the bar closes. Because this is the Bitcoin universe, time is measured in blockheight, so the closing time of the bar is indicated as some future blockheight.
  2. For your first drink, you'd make a transaction paying to the bartender for that drink, paying from some coins you have. The transaction has an nLockTime equal to the closing time of the bar, and a starting nSequence of 0. You hand over the transaction and the bartender hands you your drink.
  3. For your succeeding drink, you'd remake the same transaction, adding the payment for that drink to the transaction output that goes to the bartender (so that output keeps getting larger, by the amount of payment), and having an nSequence that is one higher than the previous one.
  4. Eventually you have to stop drinking. It comes down to one of two possibilities:
    • You drink until the bar closes. Since it is now the nLockTime indicated in the transaction, the bartender is able to broadcast the latest transaction and tells the bouncers to kick you out of the bar.
    • You wisely consider the state of your liver. So you re-sign the last transaction with a "final" nSequence of 0xFFFFFFFF i.e. the maximum possible value it can have. This allows the bartender to get his or her funds immediately (nLockTime is ignored if nSequence is 0xFFFFFFFF), so he or she tells the bouncers to let you out of the bar.
Now that of course is a payment channel. Individual payments (purchases of alcohol, so I guess buying coffee is not in scope for payment channels). Closing is done by creating a "final" transaction that is the sum of the individual payments. Sure there's no routing and channels are unidirectional and channels have a maximum lifetime but give Satoshi a break, he was also busy inventing Bitcoin at the time.
Now if you noticed I called this kind of payment channel "broken". This is because the mempool rules are not consensus rules, and cannot be validated (nothing about the mempool can be validated onchain: I sigh every time somebody proposes "let's make block size dependent on mempool size", mempool state cannot be validated by onchain data). Fullnodes can't see all of the transactions you signed, and then validate that the final one with the maximum nSequence is the one that actually is used onchain. So you can do the below:
  1. Become friends with Jihan Wu, because he owns >51% of the mining hashrate (he totally reorged Bitcoin to reverse the Binance hack right?).
  2. Slip Jihan Wu some of the more interesting drinks you're ordering as an incentive to cooperate with you. So say you end up ordering 100 drinks, you split it with Jihan Wu and give him 50 of the drinks.
  3. When the bar closes, Jihan Wu quickly calls his mining rig and tells them to mine the version of your transaction with nSequence 0. You know, that first one where you pay for only one drink.
  4. Because fullnodes cannot validate nSequence, they'll accept even the nSequence=0 version and confirm it, immutably adding you paying for a single alcoholic drink to the blockchain.
  5. The bartender, pissed at being cheated, takes out a shotgun from under the bar and shoots at you and Jihan Wu.
  6. Jihan Wu uses his mystical chi powers (actually the combined exhaust from all of his mining rigs) to slow down the shotgun pellets, making them hit you as softly as petals drifting in the wind.
  7. The bartender mutters some words, clothes ripping apart as he or she (hard to believe it could be a she but hey) turns into a bear, ready to maul you for cheating him or her of the payment for all the 100 drinks you ordered from him or her.
  8. Steely-eyed, you stand in front of the bartender-turned-bear, daring him to touch you. You've watched Revenant, you know Leonardo di Caprio could survive a bear mauling, and if some posh actor can survive that, you know you can too. You make a pose. "Drunken troll logic attack!"
  9. I think I got sidetracked here.
Lessons learned?

Spilman Channels

Incentive-compatible time-limited unidirectional channel; or, Satoshi's Vision, Fixed (if transaction malleability hadn't been a problem, that is).
Now, we know the bartender will turn into a bear and maul you if you try to cheat the payment channel, and now that we've revealed you're good friends with Jihan Wu, the bartender will no longer accept a payment channel scheme that lets one you cooperate with a miner to cheat the bartender.
Fortunately, Jeremy Spilman proposed a better way that would not let you cheat the bartender.
First, you and the bartender perform this ritual:
  1. You get some funds and create a transaction that pays to a 2-of-2 multisig between you and the bartender. You don't broadcast this yet: you just sign it and get its txid.
  2. You create another transaction that spends the above transaction. This transaction (the "backoff") has an nLockTime equal to the closing time of the bar, plus one block. You sign it and give this backoff transaction (but not the above transaction) to the bartender.
  3. The bartender signs the backoff and gives it back to you. It is now valid since it's spending a 2-of-2 of you and the bartender, and both of you have signed the backoff transaction.
  4. Now you broadcast the first transaction onchain. You and the bartender wait for it to be deeply confirmed, then you can start ordering.
The above is probably vaguely familiar to LN users. It's the funding process of payment channels! The first transaction, the one that pays to a 2-of-2 multisig, is the funding transaction that backs the payment channel funds.
So now you start ordering in this way:
  1. For your first drink, you create a transaction spending the funding transaction output and sending the price of the drink to the bartender, with the rest returning to you.
  2. You sign the transaction and pass it to the bartender, who serves your first drink.
  3. For your succeeding drinks, you recreate the same transaction, adding the price of the new drink to the sum that goes to the bartender and reducing the money returned to you. You sign the transaction and give it to the bartender, who serves you your next drink.
  4. At the end:
    • If the bar closing time is reached, the bartender signs the latest transaction, completing the needed 2-of-2 signatures and broadcasting this to the Bitcoin network. Since the backoff transaction is the closing time + 1, it can't get used at closing time.
    • If you decide you want to leave early because your liver is crying, you just tell the bartender to go ahead and close the channel (which the bartender can do at any time by just signing and broadcasting the latest transaction: the bartender won't do that because he or she is hoping you'll stay and drink more).
    • If you ended up just hanging around the bar and never ordering, then at closing time + 1 you broadcast the backoff transaction and get your funds back in full.
Now, even if you pass 50 drinks to Jihan Wu, you can't give him the first transaction (the one which pays for only one drink) and ask him to mine it: it's spending a 2-of-2 and the copy you have only contains your own signature. You need the bartender's signature to make it valid, but he or she sure as hell isn't going to cooperate in something that would lose him or her money, so a signature from the bartender validating old state where he or she gets paid less isn't going to happen.
So, problem solved, right? Right? Okay, let's try it. So you get your funds, put them in a funding tx, get the backoff tx, confirm the funding tx...
Once the funding transaction confirms deeply, the bartender laughs uproariously. He or she summons the bouncers, who surround you menacingly.
"I'm refusing service to you," the bartender says.
"Fine," you say. "I was leaving anyway;" You smirk. "I'll get back my money with the backoff transaction, and posting about your poor service on reddit so you get negative karma, so there!"
"Not so fast," the bartender says. His or her voice chills your bones. It looks like your exploitation of the Satoshi nSequence payment channel is still fresh in his or her mind. "Look at the txid of the funding transaction that got confirmed."
"What about it?" you ask nonchalantly, as you flip open your desktop computer and open a reputable blockchain explorer.
What you see shocks you.
"What the --- the txid is different! You--- you changed my signature?? But how? I put the only copy of my private key in a sealed envelope in a cast-iron box inside a safe buried in the Gobi desert protected by a clan of nomads who have dedicated their lives and their childrens' lives to keeping my private key safe in perpetuity!"
"Didn't you know?" the bartender asks. "The components of the signature are just very large numbers. The sign of one of the signature components can be changed, from positive to negative, or negative to positive, and the signature will remain valid. Anyone can do that, even if they don't know the private key. But because Bitcoin includes the signatures in the transaction when it's generating the txid, this little change also changes the txid." He or she chuckles. "They say they'll fix it by separating the signatures from the transaction body. They're saying that these kinds of signature malleability won't affect transaction ids anymore after they do this, but I bet I can get my good friend Jihan Wu to delay this 'SepSig' plan for a good while yet. Friendly guy, this Jihan Wu, it turns out all I had to do was slip him 51 drinks and he was willing to mine a tx with the signature signs flipped." His or her grin widens. "I'm afraid your backoff transaction won't work anymore, since it spends a txid that is not existent and will never be confirmed. So here's the deal. You pay me 99% of the funds in the funding transaction, in exchange for me signing the transaction that spends with the txid that you see onchain. Refuse, and you lose 100% of the funds and every other HODLer, including me, benefits from the reduction in coin supply. Accept, and you get to keep 1%. I lose nothing if you refuse, so I won't care if you do, but consider the difference of getting zilch vs. getting 1% of your funds." His or her eyes glow. "GENUFLECT RIGHT NOW."
Lesson learned?

CLTV-protected Spilman Channels

Using CLTV for the backoff branch.
This variation is simply Spilman channels, but with the backoff transaction replaced with a backoff branch in the SCRIPT you pay to. It only became possible after OP_CHECKLOCKTIMEVERIFY (CLTV) was enabled in 2015.
Now as we saw in the Spilman Channels discussion, transaction malleability means that any pre-signed offchain transaction can easily be invalidated by flipping the sign of the signature of the funding transaction while the funding transaction is not yet confirmed.
This can be avoided by simply putting any special requirements into an explicit branch of the Bitcoin SCRIPT. Now, the backoff branch is supposed to create a maximum lifetime for the payment channel, and prior to the introduction of OP_CHECKLOCKTIMEVERIFY this could only be done by having a pre-signed nLockTime transaction.
With CLTV, however, we can now make the branches explicit in the SCRIPT that the funding transaction pays to.
Instead of paying to a 2-of-2 in order to set up the funding transaction, you pay to a SCRIPT which is basically "2-of-2, OR this singlesig after a specified lock time".
With this, there is no backoff transaction that is pre-signed and which refers to a specific txid. Instead, you can create the backoff transaction later, using whatever txid the funding transaction ends up being confirmed under. Since the funding transaction is immutable once confirmed, it is no longer possible to change the txid afterwards.

Todd Micropayment Networks

The old hub-spoke model (that isn't how LN today actually works).
One of the more direct predecessors of the Lightning Network was the hub-spoke model discussed by Peter Todd. In this model, instead of payers directly having channels to payees, payers and payees connect to a central hub server. This allows any payer to pay any payee, using the same channel for every payee on the hub. Similarly, this allows any payee to receive from any payer, using the same channel.
Remember from the above Spilman example? When you open a channel to the bartender, you have to wait around for the funding tx to confirm. This will take an hour at best. Now consider that you have to make channels for everyone you want to pay to. That's not very scalable.
So the Todd hub-spoke model has a central "clearing house" that transport money from payers to payees. The "Moonbeam" project takes this model. Of course, this reveals to the hub who the payer and payee are, and thus the hub can potentially censor transactions. Generally, though, it was considered that a hub would more efficiently censor by just not maintaining a channel with the payer or payee that it wants to censor (since the money it owned in the channel would just be locked uselessly if the hub won't process payments to/from the censored user).
In any case, the ability of the central hub to monitor payments means that it can surveill the payer and payee, and then sell this private transactional data to third parties. This loss of privacy would be intolerable today.
Peter Todd also proposed that there might be multiple hubs that could transport funds to each other on behalf of their users, providing somewhat better privacy.
Another point of note is that at the time such networks were proposed, only unidirectional (Spilman) channels were available. Thus, while one could be a payer, or payee, you would have to use separate channels for your income versus for your spending. Worse, if you wanted to transfer money from your income channel to your spending channel, you had to close both and reshuffle the money between them, both onchain activities.

Poon-Dryja Lightning Network

Bidirectional two-participant channels.
The Poon-Dryja channel mechanism has two important properties:
Both the original Satoshi and the two Spilman variants are unidirectional: there is a payer and a payee, and if the payee wants to do a refund, or wants to pay for a different service or product the payer is providing, then they can't use the same unidirectional channel.
The Poon-Dryjam mechanism allows channels, however, to be bidirectional instead: you are not a payer or a payee on the channel, you can receive or send at any time as long as both you and the channel counterparty are online.
Further, unlike either of the Spilman variants, there is no time limit for the lifetime of a channel. Instead, you can keep the channel open for as long as you want.
Both properties, together, form a very powerful scaling property that I believe most people have not appreciated. With unidirectional channels, as mentioned before, if you both earn and spend over the same network of payment channels, you would have separate channels for earning and spending. You would then need to perform onchain operations to "reverse" the directions of your channels periodically. Secondly, since Spilman channels have a fixed lifetime, even if you never used either channel, you would have to periodically "refresh" it by closing it and reopening.
With bidirectional, indefinite-lifetime channels, you may instead open some channels when you first begin managing your own money, then close them only after your lawyers have executed your last will and testament on how the money in your channels get divided up to your heirs: that's just two onchain transactions in your entire lifetime. That is the potentially very powerful scaling property that bidirectional, indefinite-lifetime channels allow.
I won't discuss the transaction structure needed for Poon-Dryja bidirectional channels --- it's complicated and you can easily get explanations with cute graphics elsewhere.
There is a weakness of Poon-Dryja that people tend to gloss over (because it was fixed very well by RustyReddit):
Another thing I want to emphasize is that while the Lightning Network paper and many of the earlier presentations developed from the old Peter Todd hub-and-spoke model, the modern Lightning Network takes the logical conclusion of removing a strict separation between "hubs" and "spokes". Any node on the Lightning Network can very well work as a hub for any other node. Thus, while you might operate as "mostly a payer", "mostly a forwarding node", "mostly a payee", you still end up being at least partially a forwarding node ("hub") on the network, at least part of the time. This greatly reduces the problems of privacy inherent in having only a few hub nodes: forwarding nodes cannot get significantly useful data from the payments passing through them, because the distance between the payer and the payee can be so large that it would be likely that the ultimate payer and the ultimate payee could be anyone on the Lightning Network.
Lessons learned?

Future

After LN, there's also the Decker-Wattenhofer Duplex Micropayment Channels (DMC). This post is long enough as-is, LOL. But for now, it uses a novel "decrementing nSequence channel", using the new relative-timelock semantics of nSequence (not the broken one originally by Satoshi). It actually uses multiple such "decrementing nSequence" constructs, terminating in a pair of Spilman channels, one in both directions (thus "duplex"). Maybe I'll discuss it some other time.
The realization that channel constructions could actually hold more channel constructions inside them (the way the Decker-Wattenhofer puts a pair of Spilman channels inside a series of "decrementing nSequence channels") lead to the further thought behind Burchert-Decker-Wattenhofer channel factories. Basically, you could host multiple two-participant channel constructs inside a larger multiparticipant "channel" construct (i.e. host multiple channels inside a factory).
Further, we have the Decker-Russell-Osuntokun or "eltoo" construction. I'd argue that this is "nSequence done right". I'll write more about this later, because this post is long enough.
Lessons learned?
submitted by almkglor to Bitcoin [link] [comments]

2018: The year of the DEX

Lately I notice increasing interest from the market in projects that are involved with decentralized exchanges or create one theirselves. Ofcourse at the moment the entire market cap is increasing but prices of for example Kyber network, Bitshares, Loopring, Switcheo and some more (i.e. 0x) are taking a bigger marketshare than before.
I think the increasing popularity of the DEX is because of the fear of centralization in the 'decentralized' environment that is characteristic for the crypto/blockchain space. Also many people start to see the importance of decentralization. Because to get crypto and blockchain mainstream people need to trust it and some of this trust is broken by centralized parties. For example when an exchange gets hacked, some outsiders and the media say: "Bitcoin and other 'internetmoney' doesn't work." the problem is appointed to Bitcoin and the blockchain instead of the exchanges. Take The Mt. Gox hack (2014) and the Bitfinex hack (2016) as an example and the aftermath of these events.
But why aren't decentralized exchanges mainstream already? My answer would be the lack of current technology to create reasonable services. Most decentralized exchanges aren't able to handle the necessary volume the investors and traders demand. Also most UIs don't make it easier than it already is to trade crypto. If you want to experience this struggles yourself, try to complete a trade on the 'pupular' DEXs (i.e. IDEX or EtherDelta). This isn't a complaint to current DEXs, they have done a great job but they simply are an early project in an emerging sector of technology.
But I have faith in the future of the DEX, this is why I made this post. I think 2018 will be a breakthrough year for this particular use case of blockchain technology. Upcoming projects are promising big improvements and accomplishments in the technology of decentralized exchanges. For example NeonExchange (NEX) is working on a DEX that can handle the volumes that are now only done by centralized exchanges, they will be able to do this through an off-chain matching engine, in my opinion they also have one of the best UI I have seen in the entire cryptospace. They are also aiming to make it easy to enter the cryptomarket for newcomers, by enabling easy fiat to crypto pairings and decentralized banking. A great development if you ask me, it means no matter what you do on the platform, your funds are in your own hands. On the 'popular' centralized exchanges the decentralized currencies become centralized currencies and this frustrates me because than in my opinion the entire key function of the blockchain is gone.
The projects that are working on decentralized exchanges are taking big steps forward in 2018, I recommend taking a look on the planned developments of NEX, Kyber network, Switcheo, Loopring and Bitshares. An honorable mention is Binance, the biggest crypto-exchange at the moment, is also showing interest in developing a DEX.
As you can see the trend for mainstream adoption of decentralized exchanges is looking positive. I wonder what your opinion is about this subject. What do you think about the importance of decentralized exchanges? What do you think about the possibilities and barriers for the development of decentralized exchanges?
English is not my native language, so there may be some faults, but you will get the essence of my post I think.
submitted by FrancoisFrancis to NEO [link] [comments]

r/Bitcoin recap - March 2018

Hi Bitcoiners!
I’m back with the fifteenth monthly Bitcoin news recap.
For those unfamiliar, each day I pick out the most popularelevant/interesting stories in Bitcoin and save them. At the end of the month I release them in one batch, to give you a quick (but not necessarily the best) overview of what happened in bitcoin over the past month.
And a lot has happened. It's easy to forget with so much focus on the price. Take a moment and scroll through the list below. You'll find an incredibly eventful month.
You can see recaps of the previous months on Bitcoinsnippets.com
A recap of Bitcoin in March 2018
submitted by SamWouters to Bitcoin [link] [comments]

Top 10 of The Biggest Cryptocurrency Hacks and Scams Ever

If you have been around the cryptocurrency industry long enough, you will know that one of the biggest risks faced by users is the loss of funds through hacks on cryptocurrency wallets and exchanges.
Online exchanges are prime targets for hackers and thieves on the internet. This is mainly because of the amount of funds that are kept on these platforms. For hackers that have succeeded in stealing funds from such platforms, the amounts are usually huge.
As much as individual users try to play their roles in securing their accounts by using personal passwords, PINs and codes, there is a higher layer of security that lies in the hands of the platform providers. Once this is breached, the individual security efforts become irrelevant.
Over the years, exchanges and wallets appear to have improved in terms of security as the frequency of hacks and platform breaches have reduced. What used to be a common occurrence in the industry has become a rare development, with hacks now few and far between.
Let’s take a look at the top 10 of the biggest cryptocurrency hacks and scams ever.

10. Bitcoin Gold ($18 Million)

In May 2018, the theoretical 51% attack possibility was proven in a heist that saw a breach in Bitcoin Gold which cost the protocol $18 million.
In this heist, hackers used 51% raw computing power to seize control of the network and carry out their ulterior plans effectively. Ciphertrace and other security outfits in the ecosystem believe that the algorithm weaknesses in Bitcoin Gold’s Proof of Work (PoW) transaction verification may have enabled the success of the theft.

9. Geth ($20 Million)

In June 2018, the Ethereum client Geth was hacked and ETH worth $20 million was stolen. This incidence was reported by blockchain security firm, Cyphertrace. During the hack, JSON-RPC port 8545 was exploited. This is the port that initiates ETH send transactions.
All the ETH wallets that were affected by this breach was drained by the thieves, accumulating to the quoted $20 million equivalence based on the price of ETH at that time.

8. Bancor ($23.5 Million)

In July 2018, about one month after the Geth incident, decentralized cryptocurrency exchange, Bancor was hacked and $23.5 million worth of crypto stolen. This particular event raised some eyebrows in the cryptocurrency industry, redefining the general opinion of decentralized exchanges being prone to hacking.
The process involved the exploitation of a security flaw in a wallet that was used to update some of the smart contracts on the exchange. Bancor, which was one of the most successful ICOs of 2017, raising $153 million during its token sale, was forced to shut down after the hack.

7. Coinrail ($40 Million)

Coinrail was hacked in June 2018, and $40 million was stolen from the exchange. The South Korean exchange which ranked among the top 100 exchanges by volume, suspended its services shortly after the hack.
According to sources from the exchange, the tokens that were stolen included NPXS tokens from the Pundi X project, ATC from Aston and the NPER project’s NPER token.
  1. Binance ($40.7 Million)
Binance exchange was hacked in May 2019 and 7,000 Bitcoins were stolen from the platform. The value of the Bitcoins stolen at the time was about $40.7 million.
To achieve their aim, hackers were able to steal API keys, two-factor codes and some other key information to access the wallets. According to the exchange, the incident impacted only about 2% of its total Bitcoin holdings as all other wallets are secure.
Affected wallets were promised a refund through the exchange’s Secure Asset Fund for Users (SAFU) arrangement. This is a policy that the exchange uses to prepare for rainy days. A portion of fees charged on the exchange is set aside in order to ensure that platform users do not bear the brunt during occurrences such as this.

5. Zaif ($60 Million)

Japan-based cryptocurrency exchange Zaif was hacked in September 2018 and $60 million was stolen in the process. The theft was possible after hackers gained authorised access into the exchanges hot wallets, making away with huge amounts of Bitcoin, Bitcoin Cash, and MonaCoin.
The exchange’s asset reserve could not cover the loss, therefore it reached an agreement with a Japan-listed firm called Fisco to receive a $44.5 million investment in exchange for a major share of ownership.

4. Bitfinex ($77 Million)

The Bitfinex hack of August 2016 was a popular event that rocked the entire cryptocurrency industry. The hack occurred at a time when cryptocurrencies appeared to be shifting gears in terms of awareness and development. As a matter of fact, the aftermath of the event saw the Bitcoin price drop by 20%.
After the hack, Bitfinex issued cryptographic tokens to its users that were affected by the hack, all of which the exchange announced to have bought back by April 2017.

3. BitGrail ($187 Million)

$187 million worth of Nano tokens were stolen from BitGrail in February 2018. The reported theft was announced weeks after the unauthorized transfer was initiated. This information was from evidence retrieved from the Nano blockchain explorer by skeptics.
While BitGrail recognized the concerns of it users, it however stated that it is impossible for it to refund the stolen amount.

2. Mt. Gox ($460 Million)

The Mt. Gox scandal remains one of the biggest stains on the cryptocurrency industry. In February 2014, Mt. Gox was hacked and as much as $460 million was stolen from the exchange. In the wake of this, the exchange’s CEO, Mark Karpeles issued a statement that accepted responsibility on behalf of his company.
“We had weaknesses in our system, and our bitcoins vanished. We’ve caused trouble and inconvenience to many people, and I feel deeply sorry for what has happened, “ he said.
At the time, Mt. Gox was the world’s largest Bitcoin exchange that looked impressive from the outside, but many who claimed to know about the internal workings accused the company of a messy combination of poor management, neglect, and raw inexperience.
The size of this event left a huge dent on the reputation of Bitcoin and the crypto industry at large. It took a long time before the market picked up again, and for users to regain confidence in the industry. The exchange has since gone down and ceased to exist.

1. Coincheck ($500 Million)

The biggest theft in the history of the cryptocurrency industry happened in January 2018, when Japan-based cryptocurrency exchange, Coincheck was hacked. A total of NEM tokens worth $500 million were stolen in the process.
A statement from the exchange accepted the blame and took responsibility for the breach. According to reports, rather than storing its customers’ assets in offline wallets, the assets were stored in hot wallets that were connected to the internet. Coincheck also reportedly failed to protect the wallets with standard multi-signature security protocols.
Having traced the destination of the stolen funds, NEM developers created a tracking tool that would allow exchanges to automatically reject stolen funds.

Conclusion

Hacks and massive theft of cryptocurrencies have contributed to the setback experienced by the technology. Each of the events takes a hit on the confidence of investors and willing participants who may not be sure of how the affected exchanges will handle the situation.
The industry is however learning from past experiences, as the frequency of such hacks have reduced, while in some cases, modalities are being put in place to ensure that end users do not bear the brunt of such events, just like the case of Binance.
The NEM developers’ response to the Coincheck hack has a way of rendering stolen funds unspendable, as long as other members of the community comply. However, no one knows how long this will last, and if the hackers will be able to nullify the traceability of the stolen coins yet.
The action by the developers will discourage hackers and thieves, but is yet to restore value to the end users whose funds have been stolen.
For the industry to grow as it should and become stable, security of funds need to be established. Exchanges and developers are continuously making efforts to ensure that funds and transactions within the industry remain safe at all times.
http://bitcoinadvisor.info/top-10-of-the-biggest-cryptocurrency-hacks-and-scams-eve?fbclid=IwAR1aKdbjF1HQpFQq3jH6PQptxt7mhXHJWsABPnlN5ZEjmq07ByMEYWvVezM
submitted by OliAustin101 to TopBottomCrypto [link] [comments]

Was Binance Hacked? Mt Gox Trustee Money Dump Crashes Markets? Steemit Grows Steem Dollars for win #314 Bitcoin Flash Crash, Binance Hack & Mt Gox News, Coinbase Indexfonds & TrueUSD The Strange Binance Hack, Mt Gox Crashing BTC, And Twitter Spam Bitcoin FUD - Mt Gox, Binance Hack, SEC Regulations! Crypto Market Tumbles With Bad News - Binance Hack, Bittrex Country Ban, Mt Gox Sell Off & SEC BINANCE-HACK  Mt.Gox Abverkauf  40 % Kurssturz  Ryan Gosling ICO  KW 10 Binance HACKED .. Hackers Steal $40.7 Million in Bitcoin 7000 BTC

The bitcoin community later found out that the exchange was hacked and 850,000 BTC was stolen. Later, Mt Gox CEO Mark Karpeles found 200,000 BTC ($1.3 billion using current exchange rates) in cold ... While Binance is one of the largest crypto-currency exchanges, the heist is not the largest the Bitcoin world has seen. In 2014, Mt Gox was hacked to the tune of $470m. Japan-based Bitcoin exchange Mt. Gox had been operating since 2010 and was the biggest Bitcoin exchange at the time. But very few know that this big exchange was not hacked only once, but twice. The first one happened in June 2011 when the hacker was able to get ahold of Mt.Gox’s auditor’s credentials and transferred 2609 bitcoins to an address for which Mt. Gox had no keys. This led to ... Mt Gox was one of the largest cryptocurrency exchanges in existence before it was hacked. The Japan-based cyptocurrency exchange initially lost 2,000 Bitcoin when it suffered a hack in 2011. Yet the exchange discovered in 2014 that it had in fact been the victim of ongoing hacking and that in total, around 850,000 Bitcoin were missing. The exchange subsequently suspended trading and filed for ... Why bitcoin exchanges keep getting hacked — and how to protect yourself The biggest bitcoin exchange heist occurred in 2014, when Japan-based Mt. Gox said that attackers stole nearly $500 ... Currently, Binance is the largest crypto exchange. Mt. Gox collapsed in 2014 after it lost 850,000 bitcoins in a historic bitcoin hack. There have been efforts to recover the lost bitcoins and ... One of the biggest such cases was Mt. Gox, which collapsed in 2014 after losing $460 million, apparently to hackers. In 2016, hackers stole $72 million worth of bitcoin from exchange Bitfinex. At the beginning of 2014, Mt Gox, a bitcoin exchange based in Japan, was the largest bitcoin exchange in the world, handling over 70% of all bitcoin transactions worldwide. By the end of February of that year, it was bankrupt. Anyone who was using Mt. Gox lost access to their assets, and it has been a cautionary tale for crypto investors. While the assets weren’t all lost, anything that was ... Mt. Gox filed for bankruptcy protection both in Japan and the USA. Mark Karpeles, chief executive of Mt. Gox, at a press conference in the Tokyo District Court on February 28, 2014. At the time of the hack, Mt. Gox was the largest Bitcoin exchange and handled around 80% of all Bitcoin transactions. Binance, one of the world’s biggest cryptocurrency exchanges, has been hit by a $41m hack — just the latest in a string of thefts in the crypto world.. Malta-based Binance announced in a blog post on Wednesday that “hackers used a variety of techniques, including phishing, viruses and other attacks” to withdraw 7,000 bitcoin.. Binance has suspended withdrawals for the time being but ...

[index] [12706] [10455] [14267] [6292] [8813] [11448] [21955] [994] [20697] [18694]

Was Binance Hacked? Mt Gox Trustee Money Dump Crashes Markets? Steemit Grows Steem Dollars for win

talking about an unusual form of hacking on binance today. as well as an additional recently unnoticed reasoning of the december - february crypto price dip. and the twitter spam problem. Sign up ... The crypto market went tumbling downwards today as a load of bad news came along- Binance hack rumor, Mt Gox Trustee Sells off all Bitcoin, SEC wants to regulate all crypto exchanges, and Bittrex ... The Curse of Mt Gox Still Haunts Us - Bitcoin Crash - Duration: 9:24. Bitraged 5,615 views. 9:24 . 80 Trillion Dollar Bitcoin Exit Plan - Duration: 22:12. Mineable 340,482 views. 22:12. Mix Play ... Willkommen zur Bitcoin-Informant Show Nr. 314. Heute geht's um folgende Themen: Bitcoin Flash Crash, Binance Hack & Mt.Gox News, Coinbase Indexfonds & Bittrex listet TrueUSD als Gegenstück zum ... Mt. Gox wont die! It's back in the new cycle again and possibly the reason we have seen such bearish markets as of late. Hopefully this is the end, and bitcoin can rise again! Binance ging es (fast) an den Kragen - Hacks, Verbot von Krypto für Beamte, gestohlenes Mining-Equipment und noch mehr im Wochenrückblick! Unterstütze unsere... Hackers Steal $40.7 Million in Bitcoin From Crypto Exchange Binance https://www.coindesk.com/hackers-steal-40-7-million-in-bitcoin-from-crypto-exchange-binan...

#