Bitcoin Price API: Bitcoin Ticker & Exchange Rate API ...

The Best Cryptocurrency Market Data APIs for Bitcoin Price History

The Best Cryptocurrency Market Data APIs for Bitcoin Price History submitted by ShrimpyApp to Bitcoin [link] [comments]

The Best Cryptocurrency Market Data APIs for Bitcoin Price History

The Best Cryptocurrency Market Data APIs for Bitcoin Price History submitted by ShrimpyApp to ShrimpyApp [link] [comments]

Any online API for exploring price history? /r/Bitcoin

Any online API for exploring price history? /Bitcoin submitted by BitcoinAllBot to BitcoinAll [link] [comments]

vectorbt - blazingly fast backtesting and interactive data analysis for quants

I want to share with you a tool that I was continuously developing during the last couple of months.
https://github.com/polakowo/vectorbt

As a data scientist, when I first started flirting with quant trading, I quickly realized that there is a shortage of Python packages that can actually enable me to iterate over a long list of possible strategies and hyper-parameters quickly. Most open-source backtesting libraries are very evolved in terms of functionality, but simply lack speed. Questions like "Which strategy is better: X or Y?" require fast computation and transformation of data. This not only prolongs your lifecycle of designing strategies, but is dangerous after all: limited number of tests is similar to a tunnel vision - it prevents you from seeing the bigger picture and makes you dive into the market blindly.
After trying tweaking pandas, multiprocessing, and even evaluating my strategies on a cluster with Spark, I finally found myself using Numba - a Python library that can compile slow Python code to be run at native machine code speed. And since there were no packages in the Python ecosystem that could even closely match the speed of my own backtests, I made vectorbt.
vectorbt combines pandas, NumPy and Numba sauce to obtain orders-of-magnitude speedup over other libraries. It builds upon the idea that each instance of a trading strategy can be represented in a vectorized form, so multiple strategy instances can be packed into a single multi-dimensional array. In this form, they can processed in a highly efficient manner and compared easily. It also integrates Plotly and ipywidgets to display complex charts and dashboards akin to Tableau right in the Jupyter notebook. You can find basic examples and explanations in the documentation.

Below is an example of doing in total 67,032 tests on three different timeframes of Bitcoin price history to explore how performance of a MACD strategy depends upon various combinations of fast, slow and signal windows:
import vectorbt as vbt import numpy as np import yfinance as yf from itertools import combinations, product # Fetch daily price of Bitcoin price = yf.Ticker("BTC-USD").history(period="max")['Close'] price = price.vbt.split_into_ranges(n=3) # Define hyper-parameter space # 49 fast x 49 slow x 19 signal fast_windows, slow_windows, signal_windows = vbt.indicators.create_param_combs( (product, (combinations, np.arange(2, 51, 1), 2), np.arange(2, 21, 1))) # Run MACD indicator macd_ind = vbt.MACD.from_params( price, fast_window=fast_windows, slow_window=slow_windows, signal_window=signal_windows, hide_params=['macd_ewm', 'signal_ewm'] ) # Long when MACD is above zero AND signal entries = macd_ind.macd_above(0) & macd_ind.macd_above(macd_ind.signal) # Short when MACD is below zero OR signal exits = macd_ind.macd_below(0) | macd_ind.macd_below(macd_ind.signal) # Build portfolio portfolio = vbt.Portfolio.from_signals( price.vbt.tile(len(fast_windows)), entries, exits, fees=0.001, freq='1D') # Draw all window combinations as a 3D volume fig = portfolio.total_return.vbt.volume( x_level='macd_fast_window', y_level='macd_slow_window', z_level='macd_signal_window', slider_level='range_start', template='plotly_dark', trace_kwargs=dict( colorscale='Viridis', colorbar=dict( title='Total return', tickformat='%' ) ) ) fig.show() 

https://reddit.com/link/hxl6bn/video/180sxqa8mzc51/player
From signal generation to data visualization, the example above needs roughly a minute to run.

vectorbt let's you
The current implementation has limitations though:

If it sounds cool enough, try it out! I would love if you'd give me some feedback and contribute to it at some point, as the codebase has grown very fast. Cheers.
submitted by plkwo to algotrading [link] [comments]

Introducing Bondly…

Introducing Bondly…
For us who use Decentralized Finance (DeFi) as a common term, we know it represents an enormous shift in how we transact with one another: borrowing money, exchanging currencies, how we view insurance, etc. While total assets involved in DeFi still seem to be increasing right now, there are various factors that will prevent us from growing further.
DeFi’s largest barriers for adoption
Interoperability — Right now Ethereum gas fees seem like they are always increasing and ETH 2.0 may still be 6 months or more away. We need the ability to make DeFi more accessible to individuals who can’t afford high gas prices per transaction and start including native blockchain assets that are stranded on other platforms.
Trust — Unfortunately our biggest issue is still trust. While none of us in crypto expect to know the identity of the other party, many of us just send funds to people we don’t know for vague promises of more wealth. In fact, the biggest type of fraud is still the “giveaway scam” which asks offer to send something back — but its only an offer, there is no guarantee. This is totally unsustainable.
What about doing business outside of crypto?
Ultimately, DeFi doesn’t keep going unless we create methods for non-crypto native businesses to integrate. While the community might approve sending crypto to each other without a safety in place, this will never work for 99% of online marketplaces.
So we need:
  • DeFi options on lower cost platforms
  • Trading across blockchains
  • Safer Transactions
  • More flexibility for peer to peer transactions
  • Easier methods for online marketplaces to integrate and use crypto
This is why we created Bondly.

https://preview.redd.it/5gs8v5ce1hu51.png?width=1400&format=png&auto=webp&s=fade2f7576626022460b7882f379552d44b678c7
Bondly is a brainchild of over 3 years of working in fintech digital escrow payments + love for native DeFi. Adding our cumulative 13 years of traditional financial services, 6 years of eCommerce marketing, 4 years of Ethereum blockchain development, we think this will be one of the most important next steps in DeFi.

What is Bondly?

Bondly is a trusted, transparent and portable swap protocol designed to make you into a marketplace.
Our family of trust-enabling, DeFi products are designed to be a part of your everyday buying and selling activities, giving you piece of mind for your next swap or online purchase.

BONDSWAP (BSWAP)

Similar to Binance OTC Trading Portal but directly on-chain and can be sent via any chat app using different blockchains
Wallet to Wallet trustless Over the Counter (OTC) trades that are performed by signing a smart contract. Completely portable smart link can be sent via a chat app or on your favorite social media. It will first support all ERC-20 tokens and NFT (Ethereum) then eventually
With BSWAP you can:
  • Sell a large order of a low liquidity token with no risk of slippage
  • Become your own NFT marketplace by minting the token, setting your own price, then post to your social media for your audience to buy
  • Buy assets using Debit/Credit card (using our third party partner onramp)
  • Send smart link in Telegram to someone you know or your favorite group

BOND DEX

Similar to Mooniswap but includes rewards token provided to Liquidity Providers on top of fee share
Interoperable Decentralized Exchange (DEX) thats easy to use and blockchain agnostic. Requires liquidity provider (LP) participants to pool assets for a portion of transaction fees along with rewards APY rewards. Our pricing engine will compare major cross chain swap options and will let you know the best one to use (even if its not us). Validation is done directly within your Web3 browser (with Metamask) or polkadot.js based Native Wallet.
With BOND DEX you can:
  • Trade native assets on Polkadot with USDC on Ethereum
  • Get recommendations on the cheapest bridge transaction path
  • Create your own asset pairs that otherwise might not exist

BOND PROTECT (BPROTECT)

Similar to Paypal/AliPay Express Buyer Protection combined with Escrow.com with a simple UX like Zapper.fi or Zircon
This is our most revolutionary product that we feel will have the largest impact to the eCommerce market.
PROTECT is decentralized escrow and buyer protection for customers of crypto friendly marketplaces.
  • Designed to replace all site specific crypto escrow products with an easy to use API and completely smart contract driven product. Marketplaces may still be in a ‘validator’ role for the marketplace transaction but now they don’t have direct access to funds. This mitigates misappropriation by the marketplace along with exit scamming
  • By participating in the Bondly network, marketplace vendors can represent themselves as BPROTECT ready and show their on-chain transaction history and successful Bondly enabled deals
  • BPROTECT will have a similar UX to Zapper.Fi that will pull this vendors on chain activity and history into one place across ethereum and our native substrate chain so you can see their status and history
  • Functions as a ‘Buyer Protection’ similar to most major marketplaces, where customers are protected by collateral within Bondly
  • First customers will be marketplaces that sell digital goods like Domain Names and In-Game items and that support crypto payments already. Existing domain name credentials and ownership will be wrapped in an NFT and swapped for requested crypto directly
  • Requires that the marketplace itself stakes Bondly collateral as well as each individual marketplace vendor
  • COMPLETELY UNDERCUTS the whole ‘fake review’ industry which is prominently used to inflate value on sites like Amazon.com
With BPROTECT you can
  • Give more trust to your buyers that you will provide the purchased asset in a timely fashion
  • As a buyer you can request sellers to use this method so you have more trust
  • Sell an asset via OTC that you do not have yet (e.g. waiting for vesting) by staking collateral in the Bondly network
  • Set up recurring payments from individuals to vendors that can deduct from your account every month, similar to a Netflix subscription completely crypto enabled

How does BOND PROTECT work?

For individual OTC Trades:
  • Seller stakes collateral and ensures the buyer will receive asset by a specified date or with a specific condition
  • If agreement is violated, collateral is forfeited and transferred to the buyer
For Marketplace Vendors:
  • Vendors stake collateral (earning staking rewards for doing so)
  • Should a vendor violate a sale condition (e.g. not deliver a good on time), BOND collateral is provided to buyers as compensation
  • Each sale is recorded on-chain for transparency
  • Vendors who provide extended positive service with a long term history are rewarded through our staking/LP rewards program

https://preview.redd.it/3t8a39rh1hu51.png?width=737&format=png&auto=webp&s=6c9e1f41cc862859bbee1e263f740bbe6a106057

Bonding with Polkadot

As our ‘sibling’ projects Darwinia and Bifrost have realized, Polkadot and using Substrate represents a phenomenal step forward in interoperability.
It offers:
  • Total flexibility for building a cross asset non-custodial token bridge
  • Seamless integration of our partners/peer bridges between infrastructure
  • Built in network security
  • Efficient token standard indexing for every type of asset in every type of blockchain
We don’t have Digital Money without Bitcoin; We don’t have Smart Contracts and DeFi without Ethereum; We don’t have true interoperability without Polkadot and Substrate.
In a future article we will talk more about our Kusama testnet release.

Whats next for BONDLY?

BONDSWAP for Ethereum, the first formal product release, will be available soon (so hold off on your OTC transaction until then). This will include support for the Bondly staking program. Detailed roadmaps for the other products will be announced soon!
In the meantime we will be making additional articles (but not limited to) the following topics:
  • Our first BPROTECT marketplace customers
  • The BONDLY Liquidity Marketplace
  • Partnership Announcements
  • Team Details
Please join our community and sign up for the alpha! We are so excited to share more with you soon!
Web: https://www.bondly.finance/
Twitter: https://twitter.com/BondlyFinance
Telegram: t.me/bondlyfinance
submitted by BondlyFinance to u/BondlyFinance [link] [comments]

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]

Best Cryptocurrency Multi-Exchange Trading and Portfolio Management Platforms Ranking 2020

Best Cryptocurrency Multi-Exchange Trading and Portfolio Management Platforms Ranking 2020
Trade on multiple exchanges from a single platform and avoid the hassle of multiple logins, different interfaces, constant tab changing and overall keeping track of balance holdings and trades.
https://preview.redd.it/ksar6fkxmfv51.jpg?width=1200&format=pjpg&auto=webp&s=b8629b0f29aefd9546d816413cc82de9656ef7f9
With more than 300 cryptocurrency exchanges today, most traders have to manage multiple exchange accounts.
The need for more than one account usually rises because of the variety of offered crypto currency pairs, market liquidity, having to diversify the risk of being hacked, as well as the different trading tools and terms each exchange offers.
Trading and keeping track of your portfolios on multiple exchanges is time consuming, inefficient and frustrating. Having to log on different platforms, use different interfaces, keeping track of multiple portfolios and all trading related activities become increasingly difficult with each new account.
It would be simple and easy if you could connect all those exchange accounts into a single multi-exchange platform which combines all the data in real time and provides a single interface to control all remote exchange accounts.

Multi-exchange platforms

A multi-exchange platform allows the traders to connect all their exchange accounts into a single account through the user of API keys generated from the account of each exchange.
Once all accounts are connected into a single one, using the exchanges interfaces becomes obsolete. The unified account will now track and combine all portfolios and traders will be able to track prices, order statuses and other data across all exchange accounts from a single interface.
In addition, most multi-exchange platforms provide various information tools such as news aggregators, sentiment tools, arbitrage matrix and price alerts.
With regards to API keys security, these platforms do not require withdrawal or deposit permissions which limits the possibility of fraud and loss of funds.
Finally, multi-exchange platforms do not typically charge additional trading fees and do not require lengthy verification procedures.

The current top platforms

Currently there are a handful of multi-exchange platforms with a variety of services. They range from a simple crypto portfolio tracker to an advanced trading and portfolio management platform. A detailed list of all major multi-exchange platforms and their features can be found here: www.AltXpert.com
Here is an overview of the top 9 multi-exchange trading and portfolio management platforms:

1. CryptoView

https://preview.redd.it/1n7d13phnfv51.jpg?width=1899&format=pjpg&auto=webp&s=8d377fa3bbe1d79abebc8c48d709ccc86486f3c8
CryptoView is a multi-exchange trading and portfolio management platform equipped with a handful of useful integrations such as various cryptocurrency trading tools, portfolio analytics, a multi-source news aggregator, crypto events calendar and an outstanding multi-charting interface allowing endless customizations. It is an all-in-one solution for traders, crypto enthusiasts and professional fund managers.
CryptoView is a fully functional trading platform allowing you to trade on all major cryptocurrency exchanges from a single secured interface.
https://preview.redd.it/bx3uo5sxnfv51.jpg?width=625&format=pjpg&auto=webp&s=a6422960d15fe2ec8e2ec2c93eb7a148e34a8bb1

2. Bitsgap

https://preview.redd.it/lc7pyhornfv51.jpg?width=1622&format=pjpg&auto=webp&s=4cc3bfac8c53352402e30fe97d0ae5eafc2b6a1c
Bitsgap is an аll-in-one crypto trading platform designed to cover cross platform API trading and portfolio management with connection with most popular crypto exchanges and wallets. This multi-exchange cryptocurrency platform offers in addition to the full specter of trading tools the opportunity to use arbitrage trading on main and altcoins.
Integrated charts are powered by TradingView with all the provided drawing tools and technical indicators. Through API connection users can track and manage their entire portfolio at once.
https://preview.redd.it/jtkwnos0ofv51.jpg?width=625&format=pjpg&auto=webp&s=75947f76df659f2d928a6e893356251309086bea

3. Conigy

https://preview.redd.it/kol3xys6ofv51.jpg?width=1622&format=pjpg&auto=webp&s=0f1dd0dfb96a1d47594218c5bd726111295c3d7f
Coinigy is a web based multi-exchange API trading platform combining full scope of trading features such as: advanced trade orders, price alerts, market data overview, crypto news and integrated charts from TradingView. The platform offers connection to more than 25 crypto exchanges and wallets covering most of the main and altcoins.
Single portfolio management is one of the main features of this multi-exchange cryptocurrency platform. Portfolio management across multiple exchanges and wallets can be performed from one unified account.
https://preview.redd.it/na5wvaq7ofv51.jpg?width=625&format=pjpg&auto=webp&s=9a444ccbb4e3efc5664f58d80e189df34913cc57

4. Quadency

https://preview.redd.it/auhy53wbofv51.jpg?width=1622&format=pjpg&auto=webp&s=bbd62b53a0cb5b3d80b61ac714f0f905f5f0f732
Quadency gives the opportunity to trade and manage an entire portfolio across multiple exchanges and trading platforms. By connecting API keys on existing accounts in exchanges and wallets, the users can execute advanced trading orders from one interface. All features combined in this solution makes it an all-in-one crypto trading platform for main and altcoins.
https://preview.redd.it/bhzwjh2dofv51.jpg?width=625&format=pjpg&auto=webp&s=dc80bc047e3c34d3539087686543408406f475ed

5. Crypto Hopper

https://preview.redd.it/5vkkezzkofv51.jpg?width=1622&format=pjpg&auto=webp&s=4f979328687374d0c1a6da9096868cdfb99982bd
Cryptohopperis a multi-exchange trading and automated trading bot platform for cryptocurrencies. It allows its users to automate trading strategies that will trade cryptocurrencies like Bitcoin, Ethereum, Ripple and any other that supported exchanges offers.
Cryptohopperis designed to make traders more efficient by allowing them to copy other traders, automatically analyze the markets, manage all exchange accounts from one place and even use advanced tools like backtesting, market-making, and arbitrage.
https://preview.redd.it/jnwxcrcnofv51.jpg?width=625&format=pjpg&auto=webp&s=db672f248d6367ffdebce1bbf8de0d87a9211e64

6. LCX Terminal

https://preview.redd.it/aq234m6sofv51.jpg?width=1622&format=pjpg&auto=webp&s=53826a55cee5acadd9a0a40254b75a67546a41b8
LCX Terminal brings together real-time and full historical data of all major cryptocurrencies and trading pairs, smart automated and manual trading across all platforms, breaking news desk, social trading signals, powerful analytics and portfolio reporting — all combined in one platform. LCX Terminal cryptocurrency trading software is made for everyday traders as well as professional and institutional investors.
https://preview.redd.it/ffru2g1tofv51.jpg?width=625&format=pjpg&auto=webp&s=77b821d77b017871ffff0dc8d62408aef7a0ca31

7. Hyperlinq

https://preview.redd.it/axmmul3yofv51.jpg?width=1622&format=pjpg&auto=webp&s=a3c55f5c168d855c572dfdf6dcd01f74722ddfd3
HyperLinq™ brings institutional-grade software with superior technology for digital assets and cryptocurrencies traders. Allows the users to track crypto assets on any major exchange or wallet through API connection. A simplified portfolio manager for cryptocurrencies and digital assets.
https://preview.redd.it/m3rfcdsyofv51.jpg?width=625&format=pjpg&auto=webp&s=d114c36c6d8798dfff836e8051d451f892e02936

8. Altrady

https://preview.redd.it/c7b0hn13pfv51.jpg?width=1622&format=pjpg&auto=webp&s=0b1e80867b2d01215b6cb7470aa11f3400847056
Altrady is a comprehensive cryptocurrency trading platform. The platform provides full trading information such as price chart, order book, trade history, and depth chart.
It also offers immediate price alerts, portfolio manager, break-even calculator, and customizable trading pages by allowing traders to manipulate widgets to create preferred layout in order to trade comfortably, limit ladder order, gain quick access to market tabs, and integrated market scanners.
https://preview.redd.it/tgl99pu3pfv51.jpg?width=625&format=pjpg&auto=webp&s=6ffb6436bedc39f118313988099991005ab964ae

9. Aurox

https://preview.redd.it/uy5khd87pfv51.jpg?width=1622&format=pjpg&auto=webp&s=7db7651ce4879b50bc46c9fff05f0736e98dac0c
Auroxis a trading terminal that enables traders to supercharge their returns. With its multi-exchange integrated workspaces, Aurox provides a better platform for portfolio management, leads to faster trades and higher results for cryptocurrency investors.
https://preview.redd.it/cwfamzr7pfv51.jpg?width=625&format=pjpg&auto=webp&s=5427f35780a45617bb3b2a9c2abc37492f68ec4c
submitted by altXpert to u/altXpert [link] [comments]

Scaling Reddit Community Points with Arbitrum Rollup: a piece of cake

Scaling Reddit Community Points with Arbitrum Rollup: a piece of cake
https://preview.redd.it/b80c05tnb9e51.jpg?width=2550&format=pjpg&auto=webp&s=850282c1a3962466ed44f73886dae1c8872d0f31
Submitted for consideration to The Great Reddit Scaling Bake-Off
Baked by the pastry chefs at Offchain Labs
Please send questions or comments to [[email protected] ](mailto:[email protected])
1. Overview
We're excited to submit Arbitrum Rollup for consideration to The Great Reddit Scaling Bake-Off. Arbitrum Rollup is the only Ethereum scaling solution that supports arbitrary smart contracts without compromising on Ethereum's security or adding points of centralization. For Reddit, this means that Arbitrum can not only scale the minting and transfer of Community Points, but it can foster a creative ecosystem built around Reddit Community Points enabling points to be used in a wide variety of third party applications. That's right -- you can have your cake and eat it too!
Arbitrum Rollup isn't just Ethereum-style. Its Layer 2 transactions are byte-for-byte identical to Ethereum, which means Ethereum users can continue to use their existing addresses and wallets, and Ethereum developers can continue to use their favorite toolchains and development environments out-of-the-box with Arbitrum. Coupling Arbitrum’s tooling-compatibility with its trustless asset interoperability, Reddit not only can scale but can onboard the entire Ethereum community at no cost by giving them the same experience they already know and love (well, certainly know).
To benchmark how Arbitrum can scale Reddit Community Points, we launched the Reddit contracts on an Arbitrum Rollup chain. Since Arbitrum provides full Solidity support, we didn't have to rewrite the Reddit contracts or try to mimic their functionality using an unfamiliar paradigm. Nope, none of that. We launched the Reddit contracts unmodified on Arbitrum Rollup complete with support for minting and distributing points. Like every Arbitrum Rollup chain, the chain included a bridge interface in which users can transfer Community Points or any other asset between the L1 and L2 chains. Arbitrum Rollup chains also support dynamic contract loading, which would allow third-party developers to launch custom ecosystem apps that integrate with Community Points on the very same chain that runs the Reddit contracts.
1.1 Why Ethereum
Perhaps the most exciting benefit of distributing Community Points using a blockchain is the ability to seamlessly port points to other applications and use them in a wide variety of contexts. Applications may include simple transfers such as a restaurant that allows Redditors to spend points on drinks. Or it may include complex smart contracts -- such as placing Community Points as a wager for a multiparty game or as collateral in a financial contract.
The common denominator between all of the fun uses of Reddit points is that it needs a thriving ecosystem of both users and developers, and the Ethereum blockchain is perhaps the only smart contract platform with significant adoption today. While many Layer 1 blockchains boast lower cost or higher throughput than the Ethereum blockchain, more often than not, these attributes mask the reality of little usage, weaker security, or both.
Perhaps another platform with significant usage will rise in the future. But today, Ethereum captures the mindshare of the blockchain community, and for Community Points to provide the most utility, the Ethereum blockchain is the natural choice.
1.2 Why Arbitrum
While Ethereum's ecosystem is unmatched, the reality is that fees are high and capacity is too low to support the scale of Reddit Community Points. Enter Arbitrum. Arbitrum Rollup provides all of the ecosystem benefits of Ethereum, but with orders of magnitude more capacity and at a fraction of the cost of native Ethereum smart contracts. And most of all, we don't change the experience from users. They continue to use the same wallets, addresses, languages, and tools.
Arbitrum Rollup is not the only solution that can scale payments, but it is the only developed solution that can scale both payments and arbitrary smart contracts trustlessly, which means that third party users can build highly scalable add-on apps that can be used without withdrawing money from the Rollup chain. If you believe that Reddit users will want to use their Community Points in smart contracts--and we believe they will--then it makes the most sense to choose a single scaling solution that can support the entire ecosystem, eliminating friction for users.
We view being able to run smart contracts in the same scaling solution as fundamentally critical since if there's significant demand in running smart contracts from Reddit's ecosystem, this would be a load on Ethereum and would itself require a scaling solution. Moreover, having different scaling solutions for the minting/distribution/spending of points and for third party apps would be burdensome for users as they'd have to constantly shuffle their Points back and forth.
2. Arbitrum at a glance
Arbitrum Rollup has a unique value proposition as it offers a combination of features that no other scaling solution achieves. Here we highlight its core attributes.
Decentralized. Arbitrum Rollup is as decentralized as Ethereum. Unlike some other Layer 2 scaling projects, Arbitrum Rollup doesn't have any centralized components or centralized operators who can censor users or delay transactions. Even in non-custodial systems, centralized components provide a risk as the operators are generally incentivized to increase their profit by extracting rent from users often in ways that severely degrade user experience. Even if centralized operators are altruistic, centralized components are subject to hacking, coercion, and potential liability.
Massive Scaling. Arbitrum achieves order of magnitude scaling over Ethereum's L1 smart contracts. Our software currently supports 453 transactions-per-second for basic transactions (at 1616 Ethereum gas per tx). We have a lot of room left to optimize (e.g. aggregating signatures), and over the next several months capacity will increase significantly. As described in detail below, Arbitrum can easily support and surpass Reddit's anticipated initial load, and its capacity will continue to improve as Reddit's capacity needs grow.
Low cost. The cost of running Arbitrum Rollup is quite low compared to L1 Ethereum and other scaling solutions such as those based on zero-knowledge proofs. Layer 2 fees are low, fixed, and predictable and should not be overly burdensome for Reddit to cover. Nobody needs to use special equipment or high-end machines. Arbitrum requires validators, which is a permissionless role that can be run on any reasonable on-line machine. Although anybody can act as a validator, in order to protect against a “tragedy of the commons” and make sure reputable validators are participating, we support a notion of “invited validators” that are compensated for their costs. In general, users pay (low) fees to cover the invited validators’ costs, but we imagine that Reddit may cover this cost for its users. See more on the costs and validator options below.
Ethereum Developer Experience. Not only does Arbitrum support EVM smart contracts, but the developer experience is identical to that of L1 Ethereum contracts and fully compatible with Ethereum tooling. Developers can port existing Solidity apps or write new ones using their favorite and familiar toolchains (e.g. Truffle, Buidler). There are no new languages or coding paradigms to learn.
Ethereum wallet compatibility. Just as in Ethereum, Arbitrum users need only hold keys, but do not have to store any coin history or additional data to protect or access their funds. Since Arbitrum transactions are semantically identical to Ethereum L1 transactions, existing Ethereum users can use their existing Ethereum keys with their existing wallet software such as Metamask.
Token interoperability. Users can easily transfer their ETH, ERC-20 and ERC-721 tokens between Ethereum and the Arbitrum Rollup chain. As we explain in detail below, it is possible to mint tokens in L2 that can subsequently be withdrawn and recognized by the L1 token contract.
Fast finality. Transactions complete with the same finality time as Ethereum L1 (and it's possible to get faster finality guarantees by trading away trust assumptions; see the Arbitrum Rollup whitepaper for details).
Non-custodial. Arbitrum Rollup is a non-custodial scaling solution, so users control their funds/points and neither Reddit nor anyone else can ever access or revoke points held by users.
Censorship Resistant. Since it's completely decentralized, and the Arbitrum protocol guarantees progress trustlessly, Arbitrum Rollup is just as censorship-proof as Ethereum.
Block explorer. The Arbitrum Rollup block explorer allows users to view and analyze transactions on the Rollup chain.
Limitations
Although this is a bake-off, we're not going to sugar coat anything. Arbitrum Rollup, like any Optimistic Rollup protocol, does have one limitation, and that's the delay on withdrawals.
As for the concrete length of the delay, we've done a good deal of internal modeling and have blogged about this as well. Our current modeling suggests a 3-hour delay is sufficient (but as discussed in the linked post there is a tradeoff space between the length of the challenge period and the size of the validators’ deposit).
Note that this doesn't mean that the chain is delayed for three hours. Arbitrum Rollup supports pipelining of execution, which means that validators can keep building new states even while previous ones are “in the pipeline” for confirmation. As the challenge delays expire for each update, a new state will be confirmed (read more about this here).
So activity and progress on the chain are not delayed by the challenge period. The only thing that's delayed is the consummation of withdrawals. Recall though that any single honest validator knows immediately (at the speed of L1 finality) which state updates are correct and can guarantee that they will eventually be confirmed, so once a valid withdrawal has been requested on-chain, every honest party knows that the withdrawal will definitely happen. There's a natural place here for a liquidity market in which a validator (or someone who trusts a validator) can provide withdrawal loans for a small interest fee. This is a no-risk business for them as they know which withdrawals will be confirmed (and can force their confirmation trustlessly no matter what anyone else does) but are just waiting for on-chain finality.
3. The recipe: How Arbitrum Rollup works
For a description of the technical components of Arbitrum Rollup and how they interact to create a highly scalable protocol with a developer experience that is identical to Ethereum, please refer to the following documents:
Arbitrum Rollup Whitepaper
Arbitrum academic paper (describes a previous version of Arbitrum)
4. Developer docs and APIs
For full details about how to set up and interact with an Arbitrum Rollup chain or validator, please refer to our developer docs, which can be found at https://developer.offchainlabs.com/.
Note that the Arbitrum version described on that site is older and will soon be replaced by the version we are entering in Reddit Bake-Off, which is still undergoing internal testing before public release.
5. Who are the validators?
As with any Layer 2 protocol, advancing the protocol correctly requires at least one validator (sometimes called block producers) that is honest and available. A natural question is: who are the validators?
Recall that the validator set for an Arbitrum chain is open and permissionless; anyone can start or stop validating at will. (A useful analogy is to full nodes on an L1 chain.) But we understand that even though anyone can participate, Reddit may want to guarantee that highly reputable nodes are validating their chain. Reddit may choose to validate the chain themselves and/or hire third-party validators.To this end, we have begun building a marketplace for validator-for-hire services so that dapp developers can outsource validation services to reputable nodes with high up-time. We've announced a partnership in which Chainlink nodes will provide Arbitrum validation services, and we expect to announce more partnerships shortly with other blockchain infrastructure providers.
Although there is no requirement that validators are paid, Arbitrum’s economic model tracks validators’ costs (e.g. amount of computation and storage) and can charge small fees on user transactions, using a gas-type system, to cover those costs. Alternatively, a single party such as Reddit can agree to cover the costs of invited validators.
6. Reddit Contract Support
Since Arbitrum contracts and transactions are byte-for-byte compatible with Ethereum, supporting the Reddit contracts is as simple as launching them on an Arbitrum chain.
Minting. Arbitrum Rollup supports hybrid L1/L2 tokens which can be minted in L2 and then withdrawn onto the L1. An L1 contract at address A can make a special call to the EthBridge which deploys a "buddy contract" to the same address A on an Arbitrum chain. Since it's deployed at the same address, users can know that the L2 contract is the authorized "buddy" of the L1 contract on the Arbitrum chain.
For minting, the L1 contract is a standard ERC-20 contract which mints and burns tokens when requested by the L2 contract. It is paired with an ERC-20 contract in L2 which mints tokens based on whatever programmer provided minting facility is desired and burns tokens when they are withdrawn from the rollup chain. Given this base infrastructure, Arbitrum can support any smart contract based method for minting tokens in L2, and indeed we directly support Reddit's signature/claim based minting in L2.
Batch minting. What's better than a mint cookie? A whole batch! In addition to supporting Reddit’s current minting/claiming scheme, we built a second minting design, which we believe outperforms the signature/claim system in many scenarios.
In the current system, Reddit periodically issues signed statements to users, who then take those statements to the blockchain to claim their tokens. An alternative approach would have Reddit directly submit the list of users/amounts to the blockchain and distribute the tokens to the users without the signature/claim process.
To optimize the cost efficiency of this approach, we designed an application-specific compression scheme to minimize the size of the batch distribution list. We analyzed the data from Reddit's previous distributions and found that the data is highly compressible since token amounts are small and repeated, and addresses appear multiple times. Our function groups transactions by size, and replaces previously-seen addresses with a shorter index value. We wrote client code to compress the data, wrote a Solidity decompressing function, and integrated that function into Reddit’s contract running on Arbitrum.
When we ran the compression function on the previous Reddit distribution data, we found that we could compress batched minting data down to to 11.8 bytes per minting event (averaged over a 6-month trace of Reddit’s historical token grants)compared with roughly 174 bytes of on-chain data needed for the signature claim approach to minting (roughly 43 for an RLP-encoded null transaction + 65 for Reddit's signature + 65 for the user's signature + roughly 8 for the number of Points) .
The relative benefit of the two approaches with respect to on-chain call data cost depends on the percentage of users that will actually claim their tokens on chain. With the above figures, batch minting will be cheaper if roughly 5% of users redeem their claims. We stress that our compression scheme is not Arbitrum-specific and would be beneficial in any general-purpose smart contract platform.
8. Benchmarks and costs
In this section, we give the full costs of operating the Reddit contracts on an Arbitrum Rollup chain including the L1 gas costs for the Rollup chain, the costs of computation and storage for the L2 validators as well as the capital lockup requirements for staking.
Arbitrum Rollup is still on testnet, so we did not run mainnet benchmarks. Instead, we measured the L1 gas cost and L2 workload for Reddit operations on Arbitrum and calculated the total cost assuming current Ethereum gas prices. As noted below in detail, our measurements do not assume that Arbitrum is consuming the entire capacity of Ethereum. We will present the details of our model now, but for full transparency you can also play around with it yourself and adjust the parameters, by copying the spreadsheet found here.
Our cost model is based on measurements of Reddit’s contracts, running unmodified (except for the addition of a batch minting function) on Arbitrum Rollup on top of Ethereum.
On the distribution of transactions and frequency of assertions. Reddit's instructions specify the following minimum parameters that submissions should support:
Over a 5 day period, your scaling PoC should be able to handle:
  • 100,000 point claims (minting & distributing points)
  • 25,000 subscriptions
  • 75,000 one-off points burning
  • 100,000 transfers
We provide the full costs of operating an Arbitrum Rollup chain with this usage under the assumption that tokens are minted or granted to users in batches, but other transactions are uniformly distributed over the 5 day period. Unlike some other submissions, we do not make unrealistic assumptions that all operations can be submitted in enormous batches. We assume that batch minting is done in batches that use only a few percent on an L1 block’s gas, and that other operations come in evenly over time and are submitted in batches, with one batch every five minutes to keep latency reasonable. (Users are probably already waiting for L1 finality, which takes at least that long to achieve.)
We note that assuming that there are only 300,000 transactions that arrive uniformly over the 5 day period will make our benchmark numbers lower, but we believe that this will reflect the true cost of running the system. To see why, say that batches are submitted every five minutes (20 L1 blocks) and there's a fixed overhead of c bytes of calldata per batch, the cost of which will get amortized over all transactions executed in that batch. Assume that each individual transaction adds a marginal cost of t. Lastly assume the capacity of the scaling system is high enough that it can support all of Reddit's 300,000 transactions within a single 20-block batch (i.e. that there is more than c + 300,000*t byes of calldata available in 20 blocks).
Consider what happens if c, the per-batch overhead, is large (which it is in some systems, but not in Arbitrum). In the scenario that transactions actually arrive at the system's capacity and each batch is full, then c gets amortized over 300,000 transactions. But if we assume that the system is not running at capacity--and only receives 300,000 transactions arriving uniformly over 5 days-- then each 20-block assertion will contain about 200 transactions, and thus each transaction will pay a nontrivial cost due to c.
We are aware that other proposals presented scaling numbers assuming that 300,000 transactions arrived at maximum capacity and was executed in a single mega-transaction, but according to our estimates, for at least one such report, this led to a reported gas price that was 2-3 orders of magnitude lower than it would have been assuming uniform arrival. We make more realistic batching assumptions, and we believe Arbitrum compares well when batch sizes are realistic.
Our model. Our cost model includes several sources of cost:
  • L1 gas costs: This is the cost of posting transactions as calldata on the L1 chain, as well as the overhead associated with each batch of transactions, and the L1 cost of settling transactions in the Arbitrum protocol.
  • Validator’s staking costs: In normal operation, one validator will need to be staked. The stake is assumed to be 0.2% of the total value of the chain (which is assumed to be $1 per user who is eligible to claim points). The cost of staking is the interest that could be earned on the money if it were not staked.
  • Validator computation and storage: Every validator must do computation to track the chain’s processing of transactions, and must maintain storage to keep track of the contracts’ EVM storage. The cost of computation and storage are estimated based on measurements, with the dollar cost of resources based on Amazon Web Services pricing.
It’s clear from our modeling that the predominant cost is for L1 calldata. This will probably be true for any plausible rollup-based system.
Our model also shows that Arbitrum can scale to workloads much larger than Reddit’s nominal workload, without exhausting L1 or L2 resources. The scaling bottleneck will ultimately be calldata on the L1 chain. We believe that cost could be reduced substantially if necessary by clever encoding of data. (In our design any compression / decompression of L2 transaction calldata would be done by client software and L2 programs, never by an L1 contract.)
9. Status of Arbitrum Rollup
Arbitrum Rollup is live on Ethereum testnet. All of the code written to date including everything included in the Reddit demo is open source and permissively licensed under the Apache V2 license. The first testnet version of Arbitrum Rollup was released on testnet in February. Our current internal version, which we used to benchmark the Reddit contracts, will be released soon and will be a major upgrade.
Both the Arbitrum design as well as the implementation are heavily audited by independent third parties. The Arbitrum academic paper was published at USENIX Security, a top-tier peer-reviewed academic venue. For the Arbitrum software, we have engaged Trail of Bits for a security audit, which is currently ongoing, and we are committed to have a clean report before launching on Ethereum mainnet.
10. Reddit Universe Arbitrum Rollup Chain
The benchmarks described in this document were all measured using the latest internal build of our software. When we release the new software upgrade publicly we will launch a Reddit Universe Arbitrum Rollup chain as a public demo, which will contain the Reddit contracts as well as a Uniswap instance and a Connext Hub, demonstrating how Community Points can be integrated into third party apps. We will also allow members of the public to dynamically launch ecosystem contracts. We at Offchain Labs will cover the validating costs for the Reddit Universe public demo.
If the folks at Reddit would like to evaluate our software prior to our public demo, please email us at [email protected] and we'd be more than happy to provide early access.
11. Even more scaling: Arbitrum Sidechains
Rollups are an excellent approach to scaling, and we are excited about Arbitrum Rollup which far surpasses Reddit's scaling needs. But looking forward to Reddit's eventual goal of supporting hundreds of millions of users, there will likely come a time when Reddit needs more scaling than any Rollup protocol can provide.
While Rollups greatly reduce costs, they don't break the linear barrier. That is, all transactions have an on-chain footprint (because all calldata must be posted on-chain), albeit a far smaller one than on native Ethereum, and the L1 limitations end up being the bottleneck for capacity and cost. Since Ethereum has limited capacity, this linear use of on-chain resources means that costs will eventually increase superlinearly with traffic.
The good news is that we at Offchain Labs have a solution in our roadmap that can satisfy this extreme-scaling setting as well: Arbitrum AnyTrust Sidechains. Arbitrum Sidechains are similar to Arbitrum Rollup, but deviate in that they name a permissioned set of validators. When a chain’s validators agree off-chain, they can greatly reduce the on-chain footprint of the protocol and require almost no data to be put on-chain. When validators can't reach unanimous agreement off-chain, the protocol reverts to Arbitrum Rollup. Technically, Arbitrum Sidechains can be viewed as a hybrid between state channels and Rollup, switching back and forth as necessary, and combining the performance and cost that state channels can achieve in the optimistic case, with the robustness of Rollup in other cases. The core technical challenge is how to switch seamlessly between modes and how to guarantee that security is maintained throughout.
Arbitrum Sidechains break through this linear barrier, while still maintaining a high level of security and decentralization. Arbitrum Sidechains provide the AnyTrust guarantee, which says that as long as any one validator is honest and available (even if you don't know which one will be), the L2 chain is guaranteed to execute correctly according to its code and guaranteed to make progress. Unlike in a state channel, offchain progress does not require unanimous consent, and liveness is preserved as long as there is a single honest validator.
Note that the trust model for Arbitrum Sidechains is much stronger than for typical BFT-style chains which introduce a consensus "voting" protocols among a small permissioned group of validators. BFT-based protocols require a supermajority (more than 2/3) of validators to agree. In Arbitrum Sidechains, by contrast, all you need is a single honest validator to achieve guaranteed correctness and progress. Notice that in Arbitrum adding validators strictly increases security since the AnyTrust guarantee provides correctness as long as any one validator is honest and available. By contrast, in BFT-style protocols, adding nodes can be dangerous as a coalition of dishonest nodes can break the protocol.
Like Arbitrum Rollup, the developer and user experiences for Arbitrum Sidechains will be identical to that of Ethereum. Reddit would be able to choose a large and diverse set of validators, and all that they would need to guarantee to break through the scaling barrier is that a single one of them will remain honest.
We hope to have Arbitrum Sidechains in production in early 2021, and thus when Reddit reaches the scale that surpasses the capacity of Rollups, Arbitrum Sidechains will be waiting and ready to help.
While the idea to switch between channels and Rollup to get the best of both worlds is conceptually simple, getting the details right and making sure that the switch does not introduce any attack vectors is highly non-trivial and has been the subject of years of our research (indeed, we were working on this design for years before the term Rollup was even coined).
12. How Arbitrum compares
We include a comparison to several other categories as well as specific projects when appropriate. and explain why we believe that Arbitrum is best suited for Reddit's purposes. We focus our attention on other Ethereum projects.
Payment only Rollups. Compared to Arbitrum Rollup, ZK-Rollups and other Rollups that only support token transfers have several disadvantages:
  • As outlined throughout the proposal, we believe that the entire draw of Ethereum is in its rich smart contracts support which is simply not achievable with today's zero-knowledge proof technology. Indeed, scaling with a ZK-Rollup will add friction to the deployment of smart contracts that interact with Community Points as users will have to withdraw their coins from the ZK-Rollup and transfer them to a smart contract system (like Arbitrum). The community will be best served if Reddit builds on a platform that has built-in, frictionless smart-contract support.
  • All other Rollup protocols of which we are aware employ a centralized operator. While it's true that users retain custody of their coins, the centralized operator can often profit from censoring, reordering, or delaying transactions. A common misconception is that since they're non-custodial protocols, a centralized sequencer does not pose a risk but this is incorrect as the sequencer can wreak havoc or shake down users for side payments without directly stealing funds.
  • Sidechain type protocols can eliminate some of these issues, but they are not trustless. Instead, they require trust in some quorum of a committee, often requiring two-third of the committee to be honest, compared to rollup protocols like Arbitrum that require only a single honest party. In addition, not all sidechain type protocols have committees that are diverse, or even non-centralized, in practice.
  • Plasma-style protocols have a centralized operator and do not support general smart contracts.
13. Concluding Remarks
While it's ultimately up to the judges’ palate, we believe that Arbitrum Rollup is the bakeoff choice that Reddit kneads. We far surpass Reddit's specified workload requirement at present, have much room to optimize Arbitrum Rollup in the near term, and have a clear path to get Reddit to hundreds of millions of users. Furthermore, we are the only project that gives developers and users the identical interface as the Ethereum blockchain and is fully interoperable and tooling-compatible, and we do this all without any new trust assumptions or centralized components.
But no matter how the cookie crumbles, we're glad to have participated in this bake-off and we thank you for your consideration.
About Offchain Labs
Offchain Labs, Inc. is a venture-funded New York company that spun out of Princeton University research, and is building the Arbitrum platform to usher in the next generation of scalable, interoperable, and compatible smart contracts. Offchain Labs is backed by Pantera Capital, Compound VC, Coinbase Ventures, and others.
Leadership Team
Ed Felten
Ed Felten is Co-founder and Chief Scientist at Offchain Labs. He is on leave from Princeton University, where he is the Robert E. Kahn Professor of Computer Science and Public Affairs. From 2015 to 2017 he served at the White House as Deputy United States Chief Technology Officer and senior advisor to the President. He is an ACM Fellow and member of the National Academy of Engineering. Outside of work, he is an avid runner, cook, and L.A. Dodgers fan.
Steven Goldfeder
Steven Goldfeder is Co-founder and Chief Executive Officer at Offchain Labs. He holds a PhD from Princeton University, where he worked at the intersection of cryptography and cryptocurrencies including threshold cryptography, zero-knowledge proof systems, and post-quantum signatures. He is a co-author of Bitcoin and Cryptocurrency Technologies, the leading textbook on cryptocurrencies, and he has previously worked at Google and Microsoft Research, where he co-invented the Picnic signature algorithm. When not working, you can find Steven spending time with his family, taking a nature walk, or twisting balloons.
Harry Kalodner
Harry Kalodner is Co-founder and Chief Technology Officer at Offchain Labs where he leads the engineering team. Before the company he attended Princeton as a Ph.D candidate where his research explored economics, anonymity, and incentive compatibility of cryptocurrencies, and he also has worked at Apple. When not up at 3:00am writing code, Harry occasionally sleeps.
submitted by hkalodner to ethereum [link] [comments]

A Closer Look at Ripple's Distribution of XRP

I consider myself to be an informed member of the XRP community. I have a Twitter feed of all the prominent personalities/researchers to keep tabs on the news. I watch the metrics on utility-scan.com daily and even wrote a calculator to help understand what ODL is doing over time. I regularly check in on global metrics like volume, wallet openings, and the distribution of XRP within wallets.
Up until recently, if you asked me to explain how XRP is distributed out to the public, I would point you to two resources. The first is an article on XRPArcade explaining how Jed McCaleb's XRP sales are structured (not the topic of this post). The other place would be the XRP Markets Reports provided quarterly by Ripple. There you would understand that for the past year Ripple has increasingly slowed the sales of XRP and only is selling in small amounts to facilitate liquidity in markets. Based on this data, I've seen discussions on /cryptocurrency and elsewhere claiming that XRP's inflation rate is lower than Bitcoins and is near 0. Based on publicly provided data I've realized that this is not the case. XRP's distribution rate is very different than the impression painted by the XRP Markets Reports.
TLDR; Ripple is trying to paint a narrative that very little XRP is entering the market. In reality sales of XRP are very low, but XRP entering circulation remains much higher from an inflationary perspective and that rate has remained relatively unchanged from 2016 onward.
Before I dive into the data, I'd like to take a brief pause and state that in no way am I writing this to be FUD. Clear and accurate data is extremely important to me. Much of the recent community conversation has revolved around hopium and dot connecting that is unverified. It's a public ledger, but most people don't take the time to track the numbers. I'm hoping to shed more light on these important factors since there is no doubt that XRP's rate of distribution can effect the price. Ok, soapbox over.
I first was clued in that something was off while listening to a SamIAm video here. Basically Sam is calling out Ripple over their Q1 Markets Report because they didn't mention around $18 million of XRP paid to MoneyGram. Now technically this isn't a sale of XRP, but it's convenient to leave out and we would only know that this was happening because the SEC forced MoneyGram to report it on their Quarterly Investor Report.
Next I was scratching my head over a data discrepancy. Tether flipped XRP on LiveCoinWatch weeks before the other tracking sites like CoinGecko and CoinMarketCap. Upon closer inspection I realized that all these sites retrieve the XRP circulating supply from a single API call and LiveCoinWatch had coded their site incorrectly. They were pulling the XRP numbers from last year.
The API is here and anyone can checkout the data: https://data.ripple.com/v2/network/xrp_distribution. I believe that there is a companion private API Ripple uses to power their pie chart here: https://ripple.com/xrp/market-performance. Notice that the market performance (at the time of this posting) is for May 17th while the public API only goes to April. I don't know why Ripple hasn't updated the public API in a month. Since the public API has a history of postings you can go back and track the "distributed" tag all the way back to the middle of 2016. Here's what I found.
XRP Released into Circulation Yearly Inflationary Rate
2016 (starts mid year) 1,229,851,071 3.5%
2017 2,667,133,033 7.34%
2018 2,035,094,018 5.22%
2019 2,325,833,516 5.67%
2020 (May 1st) 773,689,933 1.78%
2020 End (at current rate) 2,321,069,799 5.35%
The 2016 data starts halfway through the year, so you can make an educated backfill guess for that year's number as well. Ripple has been distributing between 2 and 2.6 billion XRP a year with 2017 being a the high watermark. Interestingly the number distributed in 2019 is not that much different in spite of Ripple touting significantly reduced sales for almost the whole year.
So lets talk about the term "XRP Distributed" versus "XRP Sales" obviously Ripple is providing the data for both stats, but they only talk about sales in the markets reports. Distribution is a much wider term. It can include things like "Business Development" like MoneyGram discussed above. It could be compensation incentives given to Ripple employees. Xpring is known to fund investments using XRP. All of these items aren't reported because they are not sales. Even with some generous guesses to the above categories, I have no idea what Ripple is really doing with the XRP in 2020 if they're not selling it. Even factoring in about 90 million XRP given to MoneyGram, there's still a significant amount distributed and I would love some opinions on what they think Ripple is doing with this XRP.
Some takeaways for me:
submitted by RetirePerspired to Ripple [link] [comments]

Bittrex Review: One of the First Crypto Exchanges| Final Part

Bittrex Review: One of the First Crypto Exchanges| Final Part

4. Transaction Fees

Transferring funds across the blockchain and withdrawing them from Bittrex costs a fee for customers, with the rate unique for every coin.
Bittrex Global charges no commission for deposits. Please keep in mind that some tokens or cash may be required to perform a transaction by a crypto coin or token’s community. Bittrex crypto exchange can’t keep away from it.
Every token or coin has a blockchain transaction fee that is built in it, and the Bittrex fee is a small amount to cover this charge. You can view the fee percentage for every coin or token by clicking Withdrawal near to the coin. There you will see a transaction fee you will be charged for withdrawing a specific coin or token.
In the example below, the withdrawal fee amounts to 1 USDT
https://preview.redd.it/209uz2p64zh51.jpg?width=974&format=pjpg&auto=webp&s=9ee9355c4d75d41931a3073b8a230bd1ffddaf08
The transaction fee for Bitcoin came to 0.00050000 BTC
https://preview.redd.it/vh7zbe884zh51.jpg?width=974&format=pjpg&auto=webp&s=e6293650b46a7e0ba661478bd2467471b8b213f9

5. Trading Fees

The fee schedule below provides the applicable rate based on the account's 30-Day Volume and if the order is a maker or taker.
Bittrex Global Fee30 Day Volume (USD)MakerTaker$0k - $50k0.2%0.2%$50k - $1M0.12%0.18%$1M - $10M0.05%0.15%$10M - $60M0.02%0.1%$60M+0%0.08%>$100MContact TAM representative
Trading expenses are incurred when an order is prepared by means of the Bittrex worldwide matching engine. While an order is being executed, the purchaser and the vendor are charged a rate primarily based on the order’s amount. The fee charged by Bittrex exchange is calculated by the formula amount * buy rate * fee. There aren't any charges for placing an order which is not being executed so far. Any portion of an unfinished order will be refunded completely upon order cancelation.
Prices vary depending on the currency pair, monthly trade volume, and whether the order is a maker or taker. Bittrex reserves the right to alternate fee quotes at any time, including offering various discounts and incentive packages.

Monthly Volume

Your buying and selling volume affects the fee you pay for every order. Our expenses are built to encourage customers who ensure liquidity in the Bittrex crypto exchange markets. Your buying and selling charges are reduced according to your trade volume for the last 30 years in dollars.
Bittrex calculates the 30-day value every day, updating every account's volume calculation and buying and selling charge between of 12:30 AM UTC and 01:30 AM UTC every day.
You can check your monthly trade volume by logging in and opening Account > My Activity.
https://preview.redd.it/n1djh2ob4zh51.jpg?width=974&format=pjpg&auto=webp&s=2eebb9c9ac63de207c4dd2e49bc45aeb53a8dec8

6. Withdrawing Funds

Withdrawing any type of funds is likewise simple. You can profit by buying and selling Bitcoin, Ether, or any other cryptocurrency.
You determine the crypto address—to which the amount will be credited—and the transaction amount. The withdrawal fee will be automatically calculated and shown right away.
After confirming the transaction, the finances will be sent to the specified addresses and all that you need to do is to wait for the community to confirm the transaction.
If the 2FA is enabled, then the user receives a special code (via SMS or application) to confirm the withdrawal.

7. How to Trade on Bittrex Global

Currency selling and buying transactions are performed using the Sell and Buy buttons, accordingly.
To begin with, the dealer selects a currency pair and sees a graph of the rate dynamics and different values for the pair.
Below the chart, there is a section with orders where the user can buy or sell a virtual asset.
To create an order, you just need to specify the order type, price, and quantity. And do not forget about the 0.25% trade fee whatever the quantity.
For optimum profit, stay with liquid assets as they can be quickly sold at a near-market rate effective at the time of the transaction. Bittrex offers no referral program; so buying and selling crypto is the easiest way to earn.
https://preview.redd.it/hopm6fih4zh51.jpg?width=1302&format=pjpg&auto=webp&s=68c0aaae86f64c3e6b9d351c3df2a9c331f94038

Order Types

Bittrex helps you alternate Limit and Stop-Limit orders.
A limit order or a simple limit order is performed when the asset fee reaches—or even exceeds—the price the trader seeks. To execute such an order, it is required that there's a counter market order on the platform that has the identical fee as the limit order.

Differences between Limit Order and Stop Limit Order

A stop limit order is a mixture of a stop limit order and a limit order. In such an application, charges are indicated—a stop charge and the limit.

Stop Limit Order Purpose

https://preview.redd.it/hlxvy9ti4zh51.jpg?width=1141&format=pjpg&auto=webp&s=064a77459a4dcb4555a885cbc56629aae10fc38b

Trade Terminal

Let’s discuss how you could trade conveniently with our service.
The key features include a user-friendly interface and precise currency pair statistics (timeframe graphs, network data, trade volumes, and so forth).
The platform’s top-notch advantage is handy, easy-to-analyze, customizable charts. There is also a column for quick switching between currency pairs and an order panel beneath the fee chart. Such an all-encompassing visual solution helps compare orders efficiently and in one place.
You can use the terminal in a day or night mode; when in the night mode, the icon in the upper-right corner changes and notice the Bittrex trading terminal in night mode is displayed. The main menu consists of 4 sections: Markets, Orders, Wallets, Settings.
Markets are the trade section. Bittrex allows handling over 270 currency pairs.
Orders. To see all open orders, go to OrdersOpen.
To see completed orders, go to OrdersCompleted.
Wallets. The Wallets tab displays many wallets for all cryptocurrencies supported by the exchange and the current balance of each of them.
After refilling the balance or creating a buy or sale order, you will see all actions in the section. Bittrex allows creating a separate wallet for every coin. Additionally, you can see how the coin price has changed, in terms of percentage, throughout the day.
Here’s what you can also do with your wallets:
  • Hide zero balances: hide currencies with zero balance
  • Green and red arrows: replenish balance/withdraw funds
  • Find: search for a cryptocurrency
The Settings section helps manage your account, verification, 2FA, password modification, API connection, and many more.

How to Sell

The process of selling crypto assets follows the same algorithm. The only difference is that after choosing the exchange direction, you need to initiate a Sell order. All the rest is similar: you select the order type, specify the quantity and price, and click Sell *Currency Name* (Sell Bitcoin in our case).
If you scroll the screen, the entire history of trades and orders will be displayed below.

LONG and SHORT

You can make a long deal or a short deal. Your choice depends on whether you expect an asset to fall or rise in price.
Long positions are a classic trading method. It concerns purchasing an asset to profit when its value increases. Long positions are carried out through any brokers and do not require a margin account. In this case, the trader’s account must have enough funds to cover the transaction.
Losses in a long position are considered to be limited; no matter when the trade starts, the price will not fall below zero with all possible errors. Short positions, in contrast, are used to profit from a falling market. A trader buys a financial instrument from a broker and sells it. After the price reaches the target level, the trader buys back the assets or buys them to pay off the initial debt to the broker.
A short position yields profit if the price falls, and it is considered unprofitable the price matches the asset value. Performing a short order requires a margin account as a trader borrows valuable assets from a broker to complete a transaction. Long transactions help gain from market growth; short from a market decline.

Trade via API

Bittrex also supports algorithmic trading through extensive APIs (application programming interface), which allows you to automate the trading process using third-party services.
To create an API key, the user must enable the two-factor authentication 2FA, verify their account, and log in to the site within 3 minutes.
If all the requirements of the system are fulfilled, you can proceed to generate the API key. Log in to your Bittrex account, click Settings. Find API Keys. Click Add new key (Create a new key).
Toggle on / off settings for READ INFO, TRADE, or WITHDRAW, depending on what functionality you want to use for our API key.
Click Save and enter the 2FA code from the authenticator → Confirm.
The secret key will be displayed only once and will disappear after the page is refreshed. Make sure you saved it!
To delete an API key, click X in the right corner for the key that you want to delete, then click Save, enter the 2FA code from the authenticator and click Confirm.

Bittrex Bot, a Trader’s Assistant

Robotized programs that appeared sometimes after the appearance of cryptocurrency exchanges save users from monotonous work and allow automating the trading process.
Bots for trading digital money work like all the other bots: they perform mechanical trading according to the preset parameters.
Currently, one of Bittrex’s most popular trading bots is Bittrex Flash Crash Buyer Bot that helps traders profit from altcoin volatility without missing the right moment.
The program monitors all the market changes in the market every second; also, it even can place an order in advance. The Bittrex bot can handle a stop loss—to sell a certain amount of currency when the rate changes in a favorable direction and reaches a certain level.

8. Secure Platform

Bittrex Global employs the most reliable and effective security technologies available. There are many cases of theft, fraud. It is no coincidence that the currency is compared to the Wild West, especially if we compare the 1800s when cowboys rushed to the West Coast of America to earn and start something new in a place that had no rules.
Cryptocurrency is still wild. One can earn and lose money fast. But Bittrex has a substantial security policy thanks to the team’s huge experience in security and development for companies such as Microsoft, Amazon, Qualys, and Blackberry.
The system employs an elastic, multi-stage holding strategy to ensure that the majority of funds are kept in cold storage for extra safety.
Bittrex Global also enables the two-factor authentication for all users and provides a host of additional security features to provide multiple layers of protection.
Bittrex cold wallet: https://bitinfocharts.com/en/bitcoin/address/385cR5DM96n1HvBDMzLHPYcw89fZAXULJP

How to Pass IP Verification

To ensure higher security of your Bittrex Global account, the system requires all users to approve each new IP address through an email confirmation. This IP verification procedure is required every time you attempt to log in from a new IP Address.
Confirming your IP address.
https://preview.redd.it/rnl730z75zh51.jpg?width=971&format=pjpg&auto=webp&s=bd13fba0a844ab01cadc40003f5ea5de7439cbf9
The new IP address must be confirmed from the device that you are using to access Bittrex Global. This means that you must follow the CLICK HERE TO LOGIN link in an email on the device that you want to use to access your account.
https://preview.redd.it/tq9eje795zh51.jpg?width=607&format=pjpg&auto=webp&s=160b2ebfd1b9e0a287d4d2b99017dd45518ef2f7
To ensure even more security, Bittrex Global supports whitelisting of IP addresses and Crypto addresses. These two features can help protect the account in the event of credentials or API key loss.

How to Add IP Address to Whitelist

By setting one or more whitelisted addresses, you are telling Bittrex Global to only authorize trades or withdrawals from those IPs. This concerns both the global.bittrex.com web interface and API-based trades or withdrawals. To do this, click IP Whitelist in Site Settings.
https://preview.redd.it/m2klahja5zh51.jpg?width=971&format=pjpg&auto=webp&s=7cfb941ecb5284973baed1a2b0301459e36a0ab6

How to Add Crypto Address to Whitelist

By setting a withdrawal address, you are telling Bittrex Global to authorize withdrawals only to that address.
This concerns both the global.bittrex.com web interface and API based withdrawals.
Note that when opting into this feature, you need to specify a withdrawal address would like to withdraw funds from for every currency. To do this, click Withdrawal Whitelist in the Site Settings section. The example below shows a BTC address.
https://preview.redd.it/yrror8zd5zh51.jpg?width=974&format=pjpg&auto=webp&s=179dd7da9f6e59d3fca628cbfcd2c3962562f911

Afterword

Bittrex Global is a reliable and advanced platform for trading digital assets with a respected reputation, long history, and active market presence and development nowadays. The exchange is eligible to be used globally, including the US and its territories.
The legal component of Bittrex Global is one of the most legitimate among numerous crypto-asset exchanges.
The Bittrex team has had great ambitions and managed to deliver promises and more. The exchange staff comprises forward-thinking and exceptional individuals whose success is recognized in the traditional business and blockchain sector.
Bittrex's purpose is to be the driving force in the blockchain revolution, expanding the application, importance, and accessibility of this game-changing technology worldwide.
The exchange fosters new and innovative blockchain and related projects that could potentially change the way money and assets are managed globally.
Alongside innovation, safety will always be the main priority of the company. The platform utilizes the most reliable and effective practices and available technologies to protect user accounts. Bittrex customers have always primarily been those who appreciate the highest degree of security.
Because of the way the Bittrex trading platform is designed, it can easily scale to always provide instant order execution for any number of new customers.
Bittrex supports algorithmic trading and empowers its customers with extensive APIs for more automated and profitable trading.
One of the common features which is not available on the exchange is margin trading. No leverage used however adds up to the exchange's stability and prevents fast money seekers and risky traders from entering the exchange.
Bittrex is a force of the blockchain revolution and an important entity of the emerging sector.
The full version
First part
Second part
submitted by mPrestige to revain_org [link] [comments]

All you need to know about Yield Farming - The rocket fuel for Defi

All you need to know about Yield Farming - The rocket fuel for Defi
Source
It’s effectively July 2017 in the world of decentralized finance (DeFi), and as in the heady days of the initial coin offering (ICO) boom, the numbers are only trending up.
According to DeFi Pulse, there is $1.9 billion in crypto assets locked in DeFi right now. According to the CoinDesk ICO Tracker, the ICO market started chugging past $1 billion in July 2017, just a few months before token sales started getting talked about on TV.
Debate juxtaposing these numbers if you like, but what no one can question is this: Crypto users are putting more and more value to work in DeFi applications, driven largely by the introduction of a whole new yield-generating pasture, Compound’s COMP governance token.
Governance tokens enable users to vote on the future of decentralized protocols, sure, but they also present fresh ways for DeFi founders to entice assets onto their platforms.
That said, it’s the crypto liquidity providers who are the stars of the present moment. They even have a meme-worthy name: yield farmers.

https://preview.redd.it/lxsvazp1g9l51.png?width=775&format=png&auto=webp&s=a36173ab679c701a5d5e0aac806c00fcc84d78c1

Where it started

Ethereum-based credit market Compound started distributing its governance token, COMP, to the protocol’s users this past June 15. Demand for the token (heightened by the way its automatic distribution was structured) kicked off the present craze and moved Compound into the leading position in DeFi.
The hot new term in crypto is “yield farming,” a shorthand for clever strategies where putting crypto temporarily at the disposal of some startup’s application earns its owner more cryptocurrency.
Another term floating about is “liquidity mining.”
The buzz around these concepts has evolved into a low rumble as more and more people get interested.
The casual crypto observer who only pops into the market when activity heats up might be starting to get faint vibes that something is happening right now. Take our word for it: Yield farming is the source of those vibes.
But if all these terms (“DeFi,” “liquidity mining,” “yield farming”) are so much Greek to you, fear not. We’re here to catch you up. We’ll get into all of them.
We’re going to go from very basic to more advanced, so feel free to skip ahead.

What are tokens?

Most CoinDesk readers probably know this, but just in case: Tokens are like the money video-game players earn while fighting monsters, money they can use to buy gear or weapons in the universe of their favorite game.
But with blockchains, tokens aren’t limited to only one massively multiplayer online money game. They can be earned in one and used in lots of others. They usually represent either ownership in something (like a piece of a Uniswap liquidity pool, which we will get into later) or access to some service. For example, in the Brave browser, ads can only be bought using basic attention token (BAT).
If tokens are worth money, then you can bank with them or at least do things that look very much like banking. Thus: decentralized finance.
Tokens proved to be the big use case for Ethereum, the second-biggest blockchain in the world. The term of art here is “ERC-20 tokens,” which refers to a software standard that allows token creators to write rules for them. Tokens can be used a few ways. Often, they are used as a form of money within a set of applications. So the idea for Kin was to create a token that web users could spend with each other at such tiny amounts that it would almost feel like they weren’t spending anything; that is, money for the internet.
Governance tokens are different. They are not like a token at a video-game arcade, as so many tokens were described in the past. They work more like certificates to serve in an ever-changing legislature in that they give holders the right to vote on changes to a protocol.
So on the platform that proved DeFi could fly, MakerDAO, holders of its governance token, MKR, vote almost every week on small changes to parameters that govern how much it costs to borrow and how much savers earn, and so on.
Read more: Why DeFi’s Billion-Dollar Milestone Matters
One thing all crypto tokens have in common, though, is they are tradable and they have a price. So, if tokens are worth money, then you can bank with them or at least do things that look very much like banking. Thus: decentralized finance.

What is DeFi?

Fair question. For folks who tuned out for a bit in 2018, we used to call this “open finance.” That construction seems to have faded, though, and “DeFi” is the new lingo.
In case that doesn’t jog your memory, DeFi is all the things that let you play with money, and the only identification you need is a crypto wallet.
On the normal web, you can’t buy a blender without giving the site owner enough data to learn your whole life history. In DeFi, you can borrow money without anyone even asking for your name.
I can explain this but nothing really brings it home like trying one of these applications. If you have an Ethereum wallet that has even $20 worth of crypto in it, go do something on one of these products. Pop over to Uniswap and buy yourself some FUN (a token for gambling apps) or WBTC (wrapped bitcoin). Go to MakerDAO and create $5 worth of DAI (a stablecoin that tends to be worth $1) out of the digital ether. Go to Compound and borrow $10 in USDC.
(Notice the very small amounts I’m suggesting. The old crypto saying “don’t put in more than you can afford to lose” goes double for DeFi. This stuff is uber-complex and a lot can go wrong. These may be “savings” products but they’re not for your retirement savings.)
Immature and experimental though it may be, the technology’s implications are staggering. On the normal web, you can’t buy a blender without giving the site owner enough data to learn your whole life history. In DeFi, you can borrow money without anyone even asking for your name.
DeFi applications don’t worry about trusting you because they have the collateral you put up to back your debt (on Compound, for instance, a $10 debt will require around $20 in collateral).
Read more: There Are More DAI on Compound Now Than There Are DAI in the World
If you do take this advice and try something, note that you can swap all these things back as soon as you’ve taken them out. Open the loan and close it 10 minutes later. It’s fine. Fair warning: It might cost you a tiny bit in fees, and the cost of using Ethereum itself right now is much higher than usual, in part due to this fresh new activity. But it’s nothing that should ruin a crypto user.
So what’s the point of borrowing for people who already have the money? Most people do it for some kind of trade. The most obvious example, to short a token (the act of profiting if its price falls). It’s also good for someone who wants to hold onto a token but still play the market.

Doesn’t running a bank take a lot of money up front?

It does, and in DeFi that money is largely provided by strangers on the internet. That’s why the startups behind these decentralized banking applications come up with clever ways to attract HODLers with idle assets.
Liquidity is the chief concern of all these different products. That is: How much money do they have locked in their smart contracts?
“In some types of products, the product experience gets much better if you have liquidity. Instead of borrowing from VCs or debt investors, you borrow from your users,” said Electric Capital managing partner Avichal Garg.
Let’s take Uniswap as an example. Uniswap is an “automated market maker,” or AMM (another DeFi term of art). This means Uniswap is a robot on the internet that is always willing to buy and it’s also always willing to sell any cryptocurrency for which it has a market.
On Uniswap, there is at least one market pair for almost any token on Ethereum. Behind the scenes, this means Uniswap can make it look like it is making a direct trade for any two tokens, which makes it easy for users, but it’s all built around pools of two tokens. And all these market pairs work better with bigger pools.

Why do I keep hearing about ‘pools’?

To illustrate why more money helps, let’s break down how Uniswap works.
Let’s say there was a market for USDC and DAI. These are two tokens (both stablecoins but with different mechanisms for retaining their value) that are meant to be worth $1 each all the time, and that generally tends to be true for both.
The price Uniswap shows for each token in any pooled market pair is based on the balance of each in the pool. So, simplifying this a lot for illustration’s sake, if someone were to set up a USDC/DAI pool, they should deposit equal amounts of both. In a pool with only 2 USDC and 2 DAI it would offer a price of 1 USDC for 1 DAI. But then imagine that someone put in 1 DAI and took out 1 USDC. Then the pool would have 1 USDC and 3 DAI. The pool would be very out of whack. A savvy investor could make an easy $0.50 profit by putting in 1 USDC and receiving 1.5 DAI. That’s a 50% arbitrage profit, and that’s the problem with limited liquidity.
(Incidentally, this is why Uniswap’s prices tend to be accurate, because traders watch it for small discrepancies from the wider market and trade them away for arbitrage profits very quickly.)
Read more: Uniswap V2 Launches With More Token-Swap Pairs, Oracle Service, Flash Loans
However, if there were 500,000 USDC and 500,000 DAI in the pool, a trade of 1 DAI for 1 USDC would have a negligible impact on the relative price. That’s why liquidity is helpful.
You can stick your assets on Compound and earn a little yield. But that’s not very creative. Users who look for angles to maximize that yield: those are the yield farmers.
Similar effects hold across DeFi, so markets want more liquidity. Uniswap solves this by charging a tiny fee on every trade. It does this by shaving off a little bit from each trade and leaving that in the pool (so one DAI would actually trade for 0.997 USDC, after the fee, growing the overall pool by 0.003 USDC). This benefits liquidity providers because when someone puts liquidity in the pool they own a share of the pool. If there has been lots of trading in that pool, it has earned a lot of fees, and the value of each share will grow.
And this brings us back to tokens.
Liquidity added to Uniswap is represented by a token, not an account. So there’s no ledger saying, “Bob owns 0.000000678% of the DAI/USDC pool.” Bob just has a token in his wallet. And Bob doesn’t have to keep that token. He could sell it. Or use it in another product. We’ll circle back to this, but it helps to explain why people like to talk about DeFi products as “money Legos.”

So how much money do people make by putting money into these products?

It can be a lot more lucrative than putting money in a traditional bank, and that’s before startups started handing out governance tokens.
Compound is the current darling of this space, so let’s use it as an illustration. As of this writing, a person can put USDC into Compound and earn 2.72% on it. They can put tether (USDT) into it and earn 2.11%. Most U.S. bank accounts earn less than 0.1% these days, which is close enough to nothing.
However, there are some caveats. First, there’s a reason the interest rates are so much juicier: DeFi is a far riskier place to park your money. There’s no Federal Deposit Insurance Corporation (FDIC) protecting these funds. If there were a run on Compound, users could find themselves unable to withdraw their funds when they wanted.
Plus, the interest is quite variable. You don’t know what you’ll earn over the course of a year. USDC’s rate is high right now. It was low last week. Usually, it hovers somewhere in the 1% range.
Similarly, a user might get tempted by assets with more lucrative yields like USDT, which typically has a much higher interest rate than USDC. (Monday morning, the reverse was true, for unclear reasons; this is crypto, remember.) The trade-off here is USDT’s transparency about the real-world dollars it’s supposed to hold in a real-world bank is not nearly up to par with USDC’s. A difference in interest rates is often the market’s way of telling you the one instrument is viewed as dicier than another.
Users making big bets on these products turn to companies Opyn and Nexus Mutual to insure their positions because there’s no government protections in this nascent space – more on the ample risks later on.
So users can stick their assets in Compound or Uniswap and earn a little yield. But that’s not very creative. Users who look for angles to maximize that yield: those are the yield farmers.

OK, I already knew all of that. What is yield farming?

Broadly, yield farming is any effort to put crypto assets to work and generate the most returns possible on those assets.
At the simplest level, a yield farmer might move assets around within Compound, constantly chasing whichever pool is offering the best APY from week to week. This might mean moving into riskier pools from time to time, but a yield farmer can handle risk.
“Farming opens up new price arbs [arbitrage] that can spill over to other protocols whose tokens are in the pool,” said Maya Zehavi, a blockchain consultant.
Because these positions are tokenized, though, they can go further.
This was a brand-new kind of yield on a deposit. In fact, it was a way to earn a yield on a loan. Who has ever heard of a borrower earning a return on a debt from their lender?
In a simple example, a yield farmer might put 100,000 USDT into Compound. They will get a token back for that stake, called cUSDT. Let’s say they get 100,000 cUSDT back (the formula on Compound is crazy so it’s not 1:1 like that but it doesn’t matter for our purposes here).
They can then take that cUSDT and put it into a liquidity pool that takes cUSDT on Balancer, an AMM that allows users to set up self-rebalancing crypto index funds. In normal times, this could earn a small amount more in transaction fees. This is the basic idea of yield farming. The user looks for edge cases in the system to eke out as much yield as they can across as many products as it will work on.
Right now, however, things are not normal, and they probably won’t be for a while.

Why is yield farming so hot right now?

Because of liquidity mining. Liquidity mining supercharges yield farming.
Liquidity mining is when a yield farmer gets a new token as well as the usual return (that’s the “mining” part) in exchange for the farmer’s liquidity.
“The idea is that stimulating usage of the platform increases the value of the token, thereby creating a positive usage loop to attract users,” said Richard Ma of smart-contract auditor Quantstamp.
The yield farming examples above are only farming yield off the normal operations of different platforms. Supply liquidity to Compound or Uniswap and get a little cut of the business that runs over the protocols – very vanilla.
But Compound announced earlier this year it wanted to truly decentralize the product and it wanted to give a good amount of ownership to the people who made it popular by using it. That ownership would take the form of the COMP token.
Lest this sound too altruistic, keep in mind that the people who created it (the team and the investors) owned more than half of the equity. By giving away a healthy proportion to users, that was very likely to make it a much more popular place for lending. In turn, that would make everyone’s stake worth much more.
So, Compound announced this four-year period where the protocol would give out COMP tokens to users, a fixed amount every day until it was gone. These COMP tokens control the protocol, just as shareholders ultimately control publicly traded companies.
Every day, the Compound protocol looks at everyone who had lent money to the application and who had borrowed from it and gives them COMP proportional to their share of the day’s total business.
The results were very surprising, even to Compound’s biggest promoters.
COMP’s value will likely go down, and that’s why some investors are rushing to earn as much of it as they can right now.
This was a brand-new kind of yield on a deposit into Compound. In fact, it was a way to earn a yield on a loan, as well, which is very weird: Who has ever heard of a borrower earning a return on a debt from their lender?
COMP’s value has consistently been well over $200 since it started distributing on June 15. We did the math elsewhere but long story short: investors with fairly deep pockets can make a strong gain maximizing their daily returns in COMP. It is, in a way, free money.
It’s possible to lend to Compound, borrow from it, deposit what you borrowed and so on. This can be done multiple times and DeFi startup Instadapp even built a tool to make it as capital-efficient as possible.
“Yield farmers are extremely creative. They find ways to ‘stack’ yields and even earn multiple governance tokens at once,” said Spencer Noon of DTC Capital.
COMP’s value spike is a temporary situation. The COMP distribution will only last four years and then there won’t be any more. Further, most people agree that the high price now is driven by the low float (that is, how much COMP is actually free to trade on the market – it will never be this low again). So the value will probably gradually go down, and that’s why savvy investors are trying to earn as much as they can now.
Appealing to the speculative instincts of diehard crypto traders has proven to be a great way to increase liquidity on Compound. This fattens some pockets but also improves the user experience for all kinds of Compound users, including those who would use it whether they were going to earn COMP or not.
As usual in crypto, when entrepreneurs see something successful, they imitate it. Balancer was the next protocol to start distributing a governance token, BAL, to liquidity providers. Flash loan provider bZx has announced a plan. Ren, Curve and Synthetix also teamed up to promote a liquidity pool on Curve.
It is a fair bet many of the more well-known DeFi projects will announce some kind of coin that can be mined by providing liquidity.
The case to watch here is Uniswap versus Balancer. Balancer can do the same thing Uniswap does, but most users who want to do a quick token trade through their wallet use Uniswap. It will be interesting to see if Balancer’s BAL token convinces Uniswap’s liquidity providers to defect.
So far, though, more liquidity has gone into Uniswap since the BAL announcement, according to its data site. That said, even more has gone into Balancer.

Did liquidity mining start with COMP?

No, but it was the most-used protocol with the most carefully designed liquidity mining scheme.
This point is debated but the origins of liquidity mining probably date back to Fcoin, a Chinese exchange that created a token in 2018 that rewarded people for making trades. You won’t believe what happened next! Just kidding, you will: People just started running bots to do pointless trades with themselves to earn the token.
Similarly, EOS is a blockchain where transactions are basically free, but since nothing is really free the absence of friction was an invitation for spam. Some malicious hacker who didn’t like EOS created a token called EIDOS on the network in late 2019. It rewarded people for tons of pointless transactions and somehow got an exchange listing.
These initiatives illustrated how quickly crypto users respond to incentives.
Read more: Compound Changes COMP Distribution Rules Following ‘Yield Farming’ Frenzy
Fcoin aside, liquidity mining as we now know it first showed up on Ethereum when the marketplace for synthetic tokens, Synthetix, announced in July 2019 an award in its SNX token for users who helped add liquidity to the sETH/ETH pool on Uniswap. By October, that was one of Uniswap’s biggest pools.
When Compound Labs, the company that launched the Compound protocol, decided to create COMP, the governance token, the firm took months designing just what kind of behavior it wanted and how to incentivize it. Even still, Compound Labs was surprised by the response. It led to unintended consequences such as crowding into a previously unpopular market (lending and borrowing BAT) in order to mine as much COMP as possible.
Just last week, 115 different COMP wallet addresses – senators in Compound’s ever-changing legislature – voted to change the distribution mechanism in hopes of spreading liquidity out across the markets again.

Is there DeFi for bitcoin?

Yes, on Ethereum.
Nothing has beaten bitcoin over time for returns, but there’s one thing bitcoin can’t do on its own: create more bitcoin.
A smart trader can get in and out of bitcoin and dollars in a way that will earn them more bitcoin, but this is tedious and risky. It takes a certain kind of person.
DeFi, however, offers ways to grow one’s bitcoin holdings – though somewhat indirectly.
A long HODLer is happy to gain fresh BTC off their counterparty’s short-term win. That’s the game.
For example, a user can create a simulated bitcoin on Ethereum using BitGo’s WBTC system. They put BTC in and get the same amount back out in freshly minted WBTC. WBTC can be traded back for BTC at any time, so it tends to be worth the same as BTC.
Then the user can take that WBTC, stake it on Compound and earn a few percent each year in yield on their BTC. Odds are, the people who borrow that WBTC are probably doing it to short BTC (that is, they will sell it immediately, buy it back when the price goes down, close the loan and keep the difference).
A long HODLer is happy to gain fresh BTC off their counterparty’s short-term win. That’s the game.

How risky is it?

Enough.
“DeFi, with the combination of an assortment of digital funds, automation of key processes, and more complex incentive structures that work across protocols – each with their own rapidly changing tech and governance practices – make for new types of security risks,” said Liz Steininger of Least Authority, a crypto security auditor. “Yet, despite these risks, the high yields are undeniably attractive to draw more users.”
We’ve seen big failures in DeFi products. MakerDAO had one so bad this year it’s called “Black Thursday.” There was also the exploit against flash loan provider bZx. These things do break and when they do money gets taken.
As this sector gets more robust, we could see token holders greenlighting more ways for investors to profit from DeFi niches.
Right now, the deal is too good for certain funds to resist, so they are moving a lot of money into these protocols to liquidity mine all the new governance tokens they can. But the funds – entities that pool the resources of typically well-to-do crypto investors – are also hedging. Nexus Mutual, a DeFi insurance provider of sorts, told CoinDesk it has maxed out its available coverage on these liquidity applications. Opyn, the trustless derivatives maker, created a way to short COMP, just in case this game comes to naught.
And weird things have arisen. For example, there’s currently more DAI on Compound than have been minted in the world. This makes sense once unpacked but it still feels dicey to everyone.
That said, distributing governance tokens might make things a lot less risky for startups, at least with regard to the money cops.
“Protocols distributing their tokens to the public, meaning that there’s a new secondary listing for SAFT tokens, [gives] plausible deniability from any security accusation,” Zehavi wrote. (The Simple Agreement for Future Tokens was a legal structure favored by many token issuers during the ICO craze.)
Whether a cryptocurrency is adequately decentralized has been a key feature of ICO settlements with the U.S. Securities and Exchange Commission (SEC).

What’s next for yield farming? (A prediction)

COMP turned out to be a bit of a surprise to the DeFi world, in technical ways and others. It has inspired a wave of new thinking.
“Other projects are working on similar things,” said Nexus Mutual founder Hugh Karp. In fact, informed sources tell CoinDesk brand-new projects will launch with these models.
We might soon see more prosaic yield farming applications. For example, forms of profit-sharing that reward certain kinds of behavior.
Imagine if COMP holders decided, for example, that the protocol needed more people to put money in and leave it there longer. The community could create a proposal that shaved off a little of each token’s yield and paid that portion out only to the tokens that were older than six months. It probably wouldn’t be much, but an investor with the right time horizon and risk profile might take it into consideration before making a withdrawal.
(There are precedents for this in traditional finance: A 10-year Treasury bond normally yields more than a one-month T-bill even though they’re both backed by the full faith and credit of Uncle Sam, a 12-month certificate of deposit pays higher interest than a checking account at the same bank, and so on.)
As this sector gets more robust, its architects will come up with ever more robust ways to optimize liquidity incentives in increasingly refined ways. We could see token holders greenlighting more ways for investors to profit from DeFi niches.
Questions abound for this nascent industry: What will MakerDAO do to restore its spot as the king of DeFi? Will Uniswap join the liquidity mining trend? Will anyone stick all these governance tokens into a decentralized autonomous organization (DAO)? Or would that be a yield farmers co-op?
Whatever happens, crypto’s yield farmers will keep moving fast. Some fresh fields may open and some may soon bear much less luscious fruit.
But that’s the nice thing about farming in DeFi: It is very easy to switch fields.
submitted by pascalbernoulli to Yield_Farming [link] [comments]

History of Bitcoin (BTC) - YouTube Building a Bitcoin Price Tracking Python Script using the Luno API BITCOIN Price Movement 2009 to 2017 - YouTube A breif introduction to the Chain Query Bitcoin RPC API Bitcoin 80% Crash after the Halving!

Use CoinMarketCap's free crypto API to get the best, most accurate real-time, historical cryptocurrency and exchange trade data for Bitcoin, Ethereum and more Bitcoin is very volatile, the price of one bitcoin is liable to change rapidly and unpredictably. Earlier in January 2017 one bitcoin was equivalent to $985 USD. If you had invested $100 USD in ... Bitcoin’s foundation is firming for further price advances, if its history is a guide. Since initially reaching $10,000 in 2017, the benchmark crypto corrected about 70% and remains in an ... The best free 🚀 cryptocurrency and bitcoin API. Programmatically access current and historical price, markets, and exchange rate data from exchanges like Binance, Gemini, GDAX, and Poloniex. Quickly create mobile apps, charts, and pricing websites with our lightning fast RESTful JSON API. Hashes for bitcoin-price-api-0.0.4.tar.gz; Algorithm Hash digest; SHA256: bc68076f9632aaa9a8009d916d67a709c1e045dd904cfc7a3e8be33960d32029: Copy MD5

[index] [6001] [29653] [1717] [11869] [34931] [48943] [2861] [37996] [6345] [28477]

History of Bitcoin (BTC) - YouTube

This video shows the historical chart of Bitcoin/USD starting year 2010 to 2019. Source: https://info.binance.com/en/currencies/bitcoin Please subscribe for ... 🎓 In this stream I'm going to go through building a simple little python script that polls the Luno API for the current Bitcoin prices on their exchange. If the price changes we will print a ... Incredible BITCOIN Price Movement 2009 to 2017 ..what will be his next step...? More Information https://www.cryptooos.com/ Buy Bitcoin(Lambo) here https://c... This video represent history of BTC-USD exchange rate until 2017.12.07. Bitcoin price is like crazy right now. How much will rising up? and, How much will fa... Get the current price of bitcoin. Article: https://medium.com/@randerson112358/get-bitcoin-price-in-real-time-using-python-98b7393b6152?source=your_stories_...

#