Algorithmic trading with bitcoin – part 1 – Wildbunny

Algorithmic trading with bitcoin - part 1

submitted by wildbunny to programming [link] [comments]

Algorithmic trading with bitcoin - part 1

Algorithmic trading with bitcoin - part 1 submitted by wildbunny to algorithmictrading [link] [comments]

How to Build a Simple Bitcoin Trading Algorithm with Kory Hoang (Part 1/2)

How to Build a Simple Bitcoin Trading Algorithm with Kory Hoang (Part 1/2) submitted by StablyLabs to u/StablyLabs [link] [comments]

Algorithmic trading with bitcoin - part 1

Algorithmic trading with bitcoin - part 1 submitted by wildbunny to Bitcoin [link] [comments]

Algorithmic trading with bitcoin – part 1

Algorithmic trading with bitcoin – part 1 submitted by BobAlison to Bitcoin [link] [comments]

Algorithmic trading with bitcoin – part 1

Algorithmic trading with bitcoin – part 1 submitted by Emanresu2009 to LondonStartUp [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]

Market maker: who is it and what function do they perform?

Market makers have become as a key link in the financial markets. There is a misconception that market makers can influence the price of assets. In fact, this statement is far from reality. The main task of a market maker (MM) is to provide liquidity of any asset. If an asset traded on an exchange is provided with sufficient liquidity, the price and spread will be at an adequate level. If there is no liquidity — it will not be profitable to trade an asset, the price will stop at one mark and the spread will expand. So, what exactly do market makers do? Let’s analyze in more detail in this article.

Definition and responsibilities of the market maker

A market maker (MM) is a firm or individual who actively quotes two-sided markets in a security, providing bids and offers (known as asks) along with the market size of each. The profits of the market maker is made up of several aspects:
  1. Payments from the exchange as stipulated in the cooperation agreement.
  2. Spread from the execution of orders.
  3. Speculations and investments.
The SEC regulator explained the functions of the market maker — willingness to buy and to sell an asset on a permanent basis, at a public quote. In other words, maintaining an adequate level of supply and demand, as well as confrontation with the market, for example, selling bitcoin in case of its rapid growth or buying in case of a fall.
In addition, the market maker may act as an intermediary seller or a buyer in case of absence of one of the parties. If you decide to buy or to sell an asset on the exchange and your transaction has passed within a second, the market maker is acting as an intermediary. In this way, the liquidity providers remove unnecessary delays and difficulties in exchanging assets.

Market maker trading process

For example, there is a buyer on the exchange who is ready to buy 100 ETH and there is a seller who is ready to sell 90 ETH. The task of the market maker is to add 10 ETHs and to provide a price to a buyer, for example $200 and for a seller, for example $199. The buyer will pay $20,000 and receive 100 ETH, and the seller will receive $17,910 and give back 90 ETH. The market maker will receive $2,000 for the 10 ETHs and $10 spread, for providing liquidity. The liquidity provider makes a lot of such a trades a day, and as a result has a good profit. However to do this, you need to have an impressive stock of assets to maintain a level between supply and demand. With such not complex machinations, the market maker ensures the efficiency of financial markets, maintaining an adequate price for the asset and the minimum price divergence between exchanges.
Based on the above example, we can think that the activity of a market maker is not complicated and a stable way of earning, in the presence of impressive capital. However, this is not quite true. During time when the market is very volatile, liquidity providers can suffer losses. For example, there is a buyer on the exchange who is willing to buy 100 ETH and a seller who is willing to sell 10,000 ETH. A buyer buys 100 ETHs at $20,000 (price for 1 ETH $200) and a seller gets $19,990 (price for 1 ETH $199), the market maker gets $10 as a spread. At the same time, there are 9,900 ETHs left, which the seller wants to sell, and the market maker, respectively, must buy them back. Having paid $1,970,100 for the entire offer (price for 1 ETH is $199), the liquidity provider will not be able to sell them for the same price. Even if the price drops to $198.5, the total sale price of 9,900 ETH will be $1,965,150, with a loss of $4,950. Considering that the crypto market is famous for its volatility, the price difference may not be 50 cents.
A market maker cannot simply sell the ETHs they receive at a reasonable price for the following reasons:
  1. No one will buy the asset at an unfavorable price, and a sale of 9,900 ETH is likely to have impacted the market.
  2. The exchange’s service agreement states that the market maker cannot simply take and sell the assets, otherwise its services may be refused.
  3. This method can be considered as market manipulation.
Therefore, in a moment of strong volatility market makers simply leave the market, otherwise — it can lead to a serious loss. During high market volatility, it is often impossible to close a position at the right price, due to the lack of liquidity on the exchange. This indicates that the market makers have withdrawn from trading.
It is also possible to track the presence of a market maker on the exchange in the following way: if the spread is narrow and the price of an asset is in a sideways trend, the liquidity provider participates in trading on the exchange. If the spread is wide and the price of an asset is subject to volatility — the market maker has withdrawn from trading. In the same way, you can find out whether there is a market maker at the exchange at all, i.e. whether they resort to its services.
The Market Maker performs vertical market analysis, not horizontal market analysis as ordinary traders do. For the liquidity provider, in addition for buying or selling an asset, the order glass displays pending orders, Take Profit and Stop Loss. This allows you to correctly interpret the mood of the market participants and perform your direct duties as a market maker — to maintain liquidity levels and narrow spreads, as well as to provide large volumes of orders.

Market makers on the crypto market

Market makers in the crypto market are much more in demand than the traditional market and that’s why. If we talk about crypto currencies from the top 10 list — their liquidity is enough to buy or sell a coin almost instantly. However, there are about 3,000 crypto currencies for 2020 and not all of them are liquid.

The process goes like this:

Startup is going to be carried out by IEO (Primary Exchange Offer), a modern analogue of ICO. The stock exchange considers the token and leaves it. After a week, a month, six months the amount of investment in a token is minimal. There are two reasons for this:
  1. A skilled trader, when investing in a new coin, will rely on the order book. As the token is new, even if it is promising, but there are no records of selling and buying, so the trader will refuse to invest.
  2. A significant player has learned about the listing of a new token and its future prospects. It was decided to open a large, long term position, but there is no liquidity, that is, if the position is opened, it will be time consuming.
To avoid such a development, the crypto market should resort to the services of market makers. Liquidity providers may buy a token and artificially “fill” the order book. In fact, this will be a twisted indicator of liquidity and is suitable only for speculative purposes. But 90% of cryptotraders came to this market because of its high volatility, i.e. to earn on price hikes.
For this reason, crypto currencies need the services of market makers for the systematic establishment of the market and attraction of new, professional traders.

Strategies used

As a rule, market makers always resort to ATS (Automated Trading Systems) and HTF-trading (High Frequency Trading). Both systems require very advanced programming skills. In addition, it will require economy knowledge, preferably not minimal, in order to make right assessment of work and potential risks.
Sell-Side strategy — automatic trading systems are used to constantly maintain optimal prices and profit from spreads. It is not rare to have a strategy of placing Buy and Sell orders simultaneously. In fact — a common risk hedging.
HFT or high-frequency trading- is a type of algorithmic trading characterized by a high speed and turnover of capital, as well as short asset holding periods. To become an HFT trader you will need specialized robots and powerful computers as the main task of high-frequency trading is to conclude a lot of transactions in the shortest possible time. With the help of HFT trading market makers must set a quote or the last price and constantly update it.

Conclusion

Market makers are a necessary part of the economy. They do not earn on price movements, but create comfortable and loyal conditions for trading. In the end I would like to tell you about some myths that exist in the network in relation to market makers.

Market makers can affect market quotes

That’s true, however in a slightly different understanding. The task of a market maker is to create the market mood and push its participants to open orders in the right direction. Market makers cannot influence the quotes price for two reasons:
  1. The exchange where the market maker trades, monitors all its operations. In case of intentional influence on the price of the asset, the reaction will be immediate.
  2. This kind of activities are trade manipulations, i.e. they are prosecuted by state regulators, up to including deprivation of license to operate such activities.

Market makers cooperate with each other

At the beginning, I would like to mention that all market makers are competitors, and to disclose their plans to competitors is not a good idea. In addition, it is also punishable by law, up to deprivation of a license to conduct activities.

Most transactions on the platform are initiated by market makers

It’s not a very clear statement. The main profits of a market maker is spreads. How in this case should the liquidity provider earn, if all transactions on the site belong to him?
These are the most popular myths in the network regarding market makers. In the end I would like to add that the work of the market maker — is a complex and time-consuming process, the result of which is a balanced financial market.
Please don’t forget to follow us on Telegram and stay updated! YOUR CRYPTO BOSS
submitted by yourcryptoboss19 to u/yourcryptoboss19 [link] [comments]

Polkadot Launch AMA Recap

Polkadot Launch AMA Recap

The Polkadot Telegram AMA below took place on June 10, 2020

https://preview.redd.it/4ti681okap951.png?width=4920&format=png&auto=webp&s=e21f6a9a276d35bb9cdec59f46744f23c37966ef
AMA featured:
Dieter Fishbein, Ecosystem Development Lead, Web3 Foundation
Logan Saether, Technical Education, Web3 Foundation
Will Pankiewicz, Master of Validators, Parity Technologies
Moderated by Dan Reecer, Community and Growth, Polkadot & Kusama at Web3 Foundation

Transcription compiled by Theresa Boettger, Polkadot Ambassador:

Dieter Fishbein, Ecosystem Development Lead, Web3 Foundation

Dan: Hey everyone, thanks for joining us for the Polkadot Launch AMA. We have Dieter Fishbein (Head of Ecosystem Development, our business development team), Logan Saether (Technical Education), and Will Pankiewicz (Master of Validators) joining us today.
We had some great questions submitted in advance, and we’ll start by answering those and learning a bit about each of our guests. After we go through the pre-submitted questions, then we’ll open up the chat to live Q&A and the hosts will answer as many questions as they can.
We’ll start off with Dieter and ask him a set of some business-related questions.

Dieter could you introduce yourself, your background, and your role within the Polkadot ecosystem?

Dieter: I got my start in the space as a cryptography researcher at the University of Waterloo. This is where I first learned about Bitcoin and started following the space. I spent the next four years or so on the investment team for a large asset manager where I primarily focused on emerging markets. In 2017 I decided to take the plunge and join the space full-time. I worked at a small blockchain-focused VC fund and then joined the Polkadot team just over a year ago. My role at Polkadot is mainly focused on ensuring there is a vibrant community of projects building on our technology.

Q: Adoption of Polkadot of the important factors that all projects need to focus on to become more attractive to the industry. So, what is Polkadot's plan to gain more Adoption? [sic]

A (Dieter): Polkadot is fundamentally a developer-focused product so much of our adoption strategy is focused around making Polkadot an attractive product for developers. This has many elements. Right now the path for most developers to build on Polkadot is by creating a blockchain using the Substrate framework which they will later connect to Polkadot when parachains are enabled. This means that much of our adoption strategy comes down to making Substrate an attractive tool and framework. However, it’s not just enough to make building on Substrate attractive, we must also provide an incentive to these developers to actually connect their Substrate-based chain to Polkadot. Part of this incentive is the security that the Polkadot relay chain provides but another key incentive is becoming interoperable with a rich ecosystem of other projects that connect to Polkadot. This means that a key part of our adoption strategy is outreach focused. We go out there and try to convince the best projects in the space that building on our technology will provide them with significant value-add. This is not a purely technical argument. We provide significant support to projects building in our ecosystem through grants, technical support, incubatoaccelerator programs and other structured support programs such as the Substrate Builders Program (https://www.substrate.io/builders-program). I do think we really stand out in the significant, continued support that we provide to builders in our ecosystem. You can also take a look at the over 100 Grants that we’ve given from the Web3 Foundation: https://medium.com/web3foundation/web3-foundation-grants-program-reaches-100-projects-milestone-8fd2a775fd6b

Q: On moving forward through your roadmap, what are your most important next priorities? Does the Polkadot team have enough fundamentals (Funds, Community, etc.) to achieve those milestones?

A (Dieter): I would say the top priority by far is to ensure a smooth roll-out of key Polkadot features such as parachains, XCMP and other key parts of the protocol. Our recent Proof of Authority network launch was only just the beginning, it’s crucial that we carefully and successfully deploy features that allow builders to build meaningful technology. Second to that, we want to promote adoption by making more teams aware of Polkadot and how they can leverage it to build their product. Part of this comes down to the outreach that I discussed before but a major part of it is much more community-driven and many members of the team focus on this.
We are also blessed to have an awesome community to make this process easier 🙂

Q: Where can a list of Polkadot's application-specific chains can be found?

A (Dieter): The best list right now is http://www.polkaproject.com/. This is a community-led effort and the team behind it has done a terrific job. We’re also working on providing our own resource for this and we’ll share that with the community when it’s ready.

Q: Could you explain the differences and similarities between Kusama and Polkadot?

A (Dieter): Kusama is fundamentally a less robust, faster-moving version of Polkadot with less economic backing by validators. It is less robust since we will be deploying new technology to Kusama before Polkadot so it may break more frequently. It has less economic backing than Polkadot, so a network takeover is easier on Kusama than on Polkadot, lending itself more to use cases without the need for bank-like security.
In exchange for lower security and robustness, we expect the cost of a parachain lease to be lower on Kusama than Polkadot. Polkadot will always be 100% focused on security and robustness and I expect that applications that deal with high-value transactions such as those in the DeFi space will always want a Polkadot deployment, I think there will be a market for applications that are willing to trade cheap, high throughput for lower security and robustness such as those in the gaming, content distribution or social networking sectors. Check out - https://polkadot.network/kusama-polkadot-comparing-the-cousins/ for more detailed info!

Q: and for what reasons would a developer choose one over the other?

A (Dieter): Firstly, I see some earlier stage teams who are still iterating on their technology choosing to deploy to Kusama exclusively because of its lower-stakes, faster moving environment where it will be easier for them to iterate on their technology and build their user base. These will likely encompass the above sectors I identified earlier. To these teams, Polkadot becomes an eventual upgrade path for them if, and when, they are able to perfect their product, build a larger community of users and start to need the increased stability and security that Polkadot will provide.
Secondly, I suspect many teams who have their main deployment on Polkadot will also have an additional deployment on Kusama to allow them to test new features, either their tech or changes to the network, before these are deployed to Polkadot mainnet.

Logan Saether, Technical Education, Web3 Foundation

Q: Sweet, let's move over to Logan. Logan - could you introduce yourself, your background, and your role within the Polkadot ecosystem?

A (Logan): My initial involvement in the industry was as a smart contract engineer. During this time I worked on a few projects, including a reboot of the Ethereum Alarm Clock project originally by Piper Merriam. However, I had some frustrations at the time with the limitations of the EVM environment and began to look at other tools which could help me build the projects that I envisioned. This led to me looking at Substrate and completing a bounty for Web3 Foundation, after which I applied and joined the Technical Education team. My responsibilities at the Technical Education team include maintaining the Polkadot Wiki as a source of truth on the Polkadot ecosystem, creating example applications, writing technical documentation, giving talks and workshops, as well as helping initiatives such as the Thousand Validator Programme.

Q: The first technical question submitted for you was: "When will an official Polkadot mobile wallet appear?"

A (Logan): There is already an “official” wallet from Parity Technologies called the Parity Signer. Parity Signer allows you to keep your private keys on an air-gapped mobile device and to interactively sign messages using web interfaces such as Polkadot JS Apps. If you’re looking for something that is more of an interface to the blockchain as well as a wallet, you might be interested in PolkaWallet which is a community team that is building a full mobile interface for Polkadot.
For more information on Parity Signer check out the website: https://www.parity.io/signe

Q: Great thanks...our next question is: If someone already developed an application to run on Ethereum, but wants the interoperability that Polkadot will offer, are there any advantages to rebuilding with Substrate to run as a parachain on the Polkadot network instead of just keeping it on Ethereum and using the Ethereum bridge for use with Polkadot?

A (Logan): Yes, the advantage you would get from building on Substrate is more control over how your application will interact with the greater Polkadot ecosystem, as well as a larger design canvas for future iterations of your application.
Using an Ethereum bridge will probably have more cross chain latency than using a Polkadot parachain directly. The reason for this is due to the nature of Ethereum’s separate consensus protocol from Polkadot. For parachains, messages can be sent to be included in the next block with guarantees that they will be delivered. On bridged chains, your application will need to go through more routes in order to execute on the desired destination. It must first route from your application on Ethereum to the Ethereum bridge parachain, and afterward dispatch the XCMP message from the Polkadot side of the parachain. In other words, an application on Ethereum would first need to cross the bridge then send a message, while an application as a parachain would only need to send the message without needing to route across an external bridge.

Q: DOT transfers won't go live until Web3 removes the Sudo module and token holders approve the proposal to unlock them. But when will staking rewards start to be distributed? Will it have to after token transfers unlock? Or will accounts be able to accumulate rewards (still locked) once the network transitions to NPoS?

A (Logan): Staking rewards will be distributed starting with the transition to NPoS. Transfers will still be locked during the beginning of this phase, but reward payments are technically different from the normal transfer mechanism. You can read more about the launch process and steps at http://polkadot.network/launch-roadmap

Q: Next question is: I'm interested in how Cumulus/parachain development is going. ETA for when we will see the first parachain registered working on Kusama or some other public testnet like Westend maybe?

A (Logan): Parachains and Cumulus is a current high priority development objective of the Parity team. There have already been PoC parachains running with Cumulus on local testnets for months. The current work now is making the availability and validity subprotocols production ready in the Polkadot client. The best way to stay up to date would be to follow the project boards on GitHub that have delineated all of the tasks that should be done. Ideally, we can start seeing parachains on Westend soon with the first real parachains being deployed on Kusama thereafter.
The projects board can be viewed here: https://github.com/paritytech/polkadot/projects
Dan: Also...check out Basti's tweet from yesterday on the Cumulus topic: https://twitter.com/bkchstatus/1270479898696695808?s=20

Q: In what ways does Polkadot support smart contracts?

A (Logan): The philosophy behind the Polkadot Relay Chain is to be as minimal as possible, but allow arbitrary logic at the edges in the parachains. For this reason, Polkadot does not support smart contracts natively on the Relay Chain. However, it will support smart contracts on parachains. There are already a couple major initiatives out there. One initiative is to allow EVM contracts to be deployed on parachains, this includes the Substrate EVM module, Parity’s Frontier, and projects such as Moonbeam. Another initiative is to create a completely new smart contract stack that is native to Substrate. This includes the Substrate Contracts pallet, and the ink! DSL for writing smart contracts.
Learn more about Substrate's compatibility layer with Ethereum smart contracts here: https://github.com/paritytech/frontier

Will Pankiewicz, Master of Validators, Parity Technologies


Q: (Dan) Thanks for all the answers. Now we’ll start going through some staking questions with Will related to validating and nominating on Polkadot. Will - could you introduce yourself, your background, and your role within the Polkadot ecosystem?

A (Will): Sure thing. Like many others, Bitcoin drew me in back in 2013, but it wasn't until Ethereum came that I took the deep dive into working in the space full time. It was the financial infrastructure aspects of cryptocurrencies I was initially interested in, and first worked on dexes, algorithmic trading, and crypto funds. I really liked the idea of "Generalized Mining" that CoinFund came up with, and started to explore the whacky ways the crypto funds and others can both support ecosystems and be self-sustaining at the same time. This drew me to a lot of interesting experiments in what later became DeFi, as well as running validators on Proof of Stake networks. My role in the Polkadot ecosystem as “Master of Validators” is ensuring the needs of our validator community get met.

Q: Cool thanks. Our first community question was "Is it still more profitable to nominate the validators with lesser stake?"

A (Will): It depends on their commission, but generally yes it is more profitable to nominate validators with lesser stake. When validators have lesser stake, when you nominate them this makes your nomination stake a higher percentage of total stake. This means when rewards get distributed, it will be split more favorably toward you, as rewards are split by total stake percentage. Our entire rewards scheme is that every era (6 hours in Kusama, 24 hours in Polkadot), a certain amount of rewards get distributed, where that amount of rewards is dependent on the total amount of tokens staked for the entire network (50% of all tokens staked is currently optimal). These rewards from the end of an era get distributed roughly equally to all validators active in the validator set. The reward given to each validator is then split between the validators and all their nominators, determined by the total stake that each entity contributes. So if you contribute to a higher percentage of the total stake, you will earn more rewards.

Q: What does priority ranking under nominator addresses mean? For example, what does it mean that nominator A has priority 1 and nominator B has priority 6?

A (Will): Priority ranking is just the index of the nomination that gets stored on chain. It has no effect on how stake gets distributed in Phragmen or how rewards get calculated. This is only the order that the nominator chose their validators. The way that stake from a nominator gets distributed from a nominator to validators is via Phragmen, which is an algorithm that will optimally put stake behind validators so that distribution is roughly equal to those that will get in the validator set. It will try to maximize the total amount at stake in the network and maximize the stake behind minimally staked validators.

Q: On Polkadot.js, what does it mean when there are nodes waiting on Polkadot?

**A (Will):**In Polkadot there is a fixed validator set size that is determined by governance. The way validators get in the active set is by having the highest amount of total stake relative to other validators. So if the validator set size is 100, the top 100 validators by total stake will be in the validator set. Those not active in the validator set will be considered “waiting”.

Q: Another question...Is it necessary to become a waiting validator node right now?

A (Will): It's not necessary, but highly encouraged if you actively want to validate on Polkadot. The longer you are in the waiting tab, the longer you get exposure to nominators that may nominate you.

Q: Will current validators for Kusama also validate for Polkadot? How strongly should I consider their history (with Kusama) when looking to nominate a good validator for DOTs?

A (Will): A lot of Kusama validators will also be validators for Polkadot, as KSM was initially distributed to DOT holders. The early Kusama Validators will also likely be the first Polkadot validators. Being a Kusama validator should be a strong indicator for who to nominate on Polkadot, as the chaos that has ensued with Kusama has allowed validators to battle test their infrastructure. Kusama validators by now are very familiar with tooling, block explorers, terminology, common errors, log formats, upgrades, backups, and other aspects of node operation. This gives them an edge against Polkadot validators that may be new to the ecosystem. You should strongly consider well known Kusama validators when making your choices as a nominator on Polkadot.

Q: Can you go into more details about the process for becoming a DOT validator? Is it similar as the KSM 1000 validators program?

A (Will): The Process for becoming a DOT validators is first to have DOTs. You cannot be a validator without DOTs, as DOTs are used to pay transaction fees, and the minimum amount of DOTs you need is enough to create a validate transaction. After obtaining enough DOTs, you will need to set up your validator infrastructure. Ideally you should have a validator node with specs that match what we call standard hardware, as well as one or more sentry nodes to help isolate the validator node from attacks. After the infrastructure is up and running, you should have your Polkadot accounts set up right with a stash bonded to a controller account, and then submit a validate transaction, which will tell the network your nodes are ready to be a part of the network. You should then try and build a community around your validator to let others know you are trustworthy so that they will nominate you. The 1000 validators programme for Kusama is a programme that gives a certain amount of nominations from the Web3 Foundation and Parity to help bootstrap a community and reputation for validators. There may eventually be a similar type of programme for Polkadot as well.
Dan: Thanks a lot for all the answers, Will. That’s the end of the pre-submitted questions and now we’ll open the chat up to live Q&A, and our three team members will get through as many of your questions as possible.
We will take questions related to business development, technology, validating, and staking. For those wondering about DOT:
DOT tokens do not exist yet. Allocations of Polkadot's native DOT token are technically and legally non-transferable. Hence any publicized sale of DOTs is unsanctioned by Web3 Foundation and possibly fraudulent. Any official public sale of DOTs will be announced on the Web3 Foundation website. Polkadot’s launch process started in May and full network decentralization later this year, holders of DOT allocations will determine issuance and transferability. For those who participated in previous DOT sales, you can learn how to claim your DOTs here (https://wiki.polkadot.network/docs/en/claims).


Telegram Community Follow-up Questions Addressed Below


Q: Polkadot looks good but it confuses me that there are so many other Blockchain projects. What should I pay attention in Polkadot to give it the importance it deserves? What are your planning to achieve with your project?

A (Will): Personally, what I think differentiates it is the governance process. Coordinating forkless upgrades and social coordination helps stand it apart.
A (Dieter): The wiki is awesome - https://wiki.polkadot.network/

Q: Over 10,000 ETH paid as a transaction fee , what if this happens on Polkadot? Is it possible we can go through governance to return it to the owner?

A: Anything is possible with governance including transaction reversals, if a network quorum is reached on a topic.
A (Logan): Polkadot transaction fees work differently than the fees on Ethereum so it's a bit more difficult to shoot yourself in the foot as the whale who sent this unfortunate transaction. See here for details on fees: https://w3f-research.readthedocs.io/en/latest/polkadot/Token%20Economics.html?highlight=transaction%20fees#relay-chain-transaction-fees-and-per-block-transaction-limits
However, there is a tip that the user can input themselves which they could accidentally set to a large amount. In this cases, yes, they could proposition governance to reduce the amount that was paid in the tip.

Q: What is the minimum ideal amount of DOT and KSM to have if you want to become a validator and how much technical knowledge do you need aside from following the docs?

A (Will): It depends on what the other validators in the ecosystem are staking as well as the validator set size. You just need to be in the top staking amount of the validator set size. So if its 100 validators, you need to be in the top 100 validators by stake.

Q: Will Web3 nominate validators? If yes, which criteria to be elected?

A (Will): Web 3 Foundation is running programs like the 1000 validators programme for Kusama. There's a possibility this will continue on for Polkadot as well after transfers are enabled. https://thousand-validators.kusama.network/#/
You will need to be an active validator to earn rewards. Only those active in the validator set earn rewards. I would recommend checking out parts of the wiki: https://wiki.polkadot.network/docs/en/maintain-guides-validator-payout

Q: Is it possible to implement hastables or dag with substrate?

A (Logan): Yes.

Q: Polkadot project looks very futuristic! But, could you tell us the main role of DOT Tokens in the Polkadot Ecosystem?

A (Dan): That's a good question. The short answer is Staking, Governance, Bonding. More here: http://polkadot.network/dot-token

Q: How did you manage to prove that the consensus protocol is safe and unbreakable mathematically?

A (Dieter): We have a research teams of over a dozen scientists with PhDs and post-docs in cryptography and distributed computing who do thorough theoretical analyses on all the protocols used in Polkadot

Q: What are the prospects for NFT?

A: Already being built 🙂

Q: What will be Polkadot next roadmap for 2020 ?

A (Dieter): Building. But seriously - we will continue to add many more features and upgrades to Polkadot as well as continue to strongly focus on adoption from other builders in the ecosystem 🙂
A (Will): https://polkadot.network/launch-roadmap/
This is the launch roadmap. Ideally adding parachains and xcmp towards the end of the year

Q: How Do you stay active in terms of marketing developments during this PANDEMIC? Because I'm sure you're very excited to promote more after this settles down.

A (Dan): The main impact of covid was the impact on in-person events. We have been very active on Crowdcast for webinars since 2019, so it was quite the smooth transition to all-online events. You can see our 40+ past event recordings and follow us on Crowdcast here: https://www.crowdcast.io/polkadot. If you're interested in following our emails for updates (including online events), subscribe here: https://info.polkadot.network/subscribe

Q: Hi, who do you think is your biggest competitor in the space?

A (Dan): Polkadot is a metaprotocol that hasn't been seen in the industry up until this point. We hope to elevate the industry by providing interoperability between all major public networks as well as private blockchains.

Q: Is Polkadot a friend or competitor of Ethereum?

A: Polkadot aims to elevate the whole blockchain space with serious advancements in interoperability, governance and beyond :)

Q: When will there be hardware wallet support?

A (Will): Parity Signer works well for now. Other hardware wallets will be added pretty soon

Q: What are the attractive feature of DOT project that can attract any new users ?

A: https://polkadot.network/what-is-polkadot-a-brief-introduction/
A (Will): Buidling parachains with cross chain messaging + bridges to other chains I think will be a very appealing feature for developers

Q: According to you how much time will it take for Polkadot to get into mainstream adoption and execute all the plans set for this project?

A: We are solving many problems that have held back the blockchain industry up until now. Here is a summary in basic terms:
https://preview.redd.it/ls7i0bpm8p951.png?width=752&format=png&auto=webp&s=a8eb7bf26eac964f6b9056aa91924685ff359536

Q: When will bitpie or imtoken support DOT?

A: We are working on integrations on all the biggest and best wallet providers. ;)

Q: What event/call can we track to catch a switch to nPOS? Is it only force_new_era call? Thanks.

A (Will): If you're on riot, useful channels to follow for updates like this are #polkabot:matrix.org and #polkadot-announcements:matrix.parity.io
A (Logan): Yes this is the trigger for initiating the switch to NPoS. You can also poll the ForceEra storage for when it changes to ForceNew.

Q: What strategy will the Polkadot Team use to make new users trust its platform and be part of it?

A (Will): Pushing bleeding edge cryptography from web 3 foundation research
A (Dan): https://t.me/PolkadotOfficial/43378

Q: What technology stands behind and What are its advantages?

A (Dieter): Check out https://polkadot.network/technology/ for more info on our tech stack!

Q: What problems do you see occurring in the blockchain industry nowadays and how does your project aims to solve these problems?

A (Will): Governance I see as a huge problem. For example upgrading Bitcoin and making decisions for changing things is a very challenging process. We have robust systems of on-chain governance to help solve these coordination problems

Q: How involved are the Polkadot partners? Are they helping with the development?

A (Dieter): There are a variety of groups building in the Polkadot ecosystem. Check out http://www.polkaproject.com/ for a great list.

Q: Can you explain the role of the treasury in Polkadot?

A (Will): The treasury is for projects or people that want to build things, but don't want to go through the formal legal process of raising funds from VCs or grants or what have you. You can get paid by the community to build projects for the community.
A: There’s a whole section on the wiki about the treasury and how it functions here https://wiki.polkadot.network/docs/en/mirror-learn-treasury#docsNav

Q: Any plan to introduce Polkadot on Asia, or rising market on Asia?

**A (Will):**We're globally focused

Q: What kind of impact do you expect from the Council? Although it would be elected by token holders, what kind of people you wish to see there?

A (Will): Community focused individuals like u/jam10o that want to see cool things get built and cool communities form

If you have further questions, please ask in the official Polkadot Telegram channel.
submitted by dzr9127 to dot [link] [comments]

Why i’m bullish on Zilliqa (long read)

Edit: TL;DR added in the comments
 
Hey all, I've been researching coins since 2017 and have gone through 100s of them in the last 3 years. I got introduced to blockchain via Bitcoin of course, analyzed Ethereum thereafter and from that moment I have a keen interest in smart contact platforms. I’m passionate about Ethereum but I find Zilliqa to have a better risk-reward ratio. Especially because Zilliqa has found an elegant balance between being secure, decentralized and scalable in my opinion.
 
Below I post my analysis of why from all the coins I went through I’m most bullish on Zilliqa (yes I went through Tezos, EOS, NEO, VeChain, Harmony, Algorand, Cardano etc.). Note that this is not investment advice and although it's a thorough analysis there is obviously some bias involved. Looking forward to what you all think!
 
Fun fact: the name Zilliqa is a play on ‘silica’ silicon dioxide which means “Silicon for the high-throughput consensus computer.”
 
This post is divided into (i) Technology, (ii) Business & Partnerships, and (iii) Marketing & Community. I’ve tried to make the technology part readable for a broad audience. If you’ve ever tried understanding the inner workings of Bitcoin and Ethereum you should be able to grasp most parts. Otherwise, just skim through and once you are zoning out head to the next part.
 
Technology and some more:
 
Introduction
 
The technology is one of the main reasons why I’m so bullish on Zilliqa. First thing you see on their website is: “Zilliqa is a high-performance, high-security blockchain platform for enterprises and next-generation applications.” These are some bold statements.
 
Before we deep dive into the technology let’s take a step back in time first as they have quite the history. The initial research paper from which Zilliqa originated dates back to August 2016: Elastico: A Secure Sharding Protocol For Open Blockchains where Loi Luu (Kyber Network) is one of the co-authors. Other ideas that led to the development of what Zilliqa has become today are: Bitcoin-NG, collective signing CoSi, ByzCoin and Omniledger.
 
The technical white paper was made public in August 2017 and since then they have achieved everything stated in the white paper and also created their own open source intermediate level smart contract language called Scilla (functional programming language similar to OCaml) too.
 
Mainnet is live since the end of January 2019 with daily transaction rates growing continuously. About a week ago mainnet reached 5 million transactions, 500.000+ addresses in total along with 2400 nodes keeping the network decentralized and secure. Circulating supply is nearing 11 billion and currently only mining rewards are left. The maximum supply is 21 billion with annual inflation being 7.13% currently and will only decrease with time.
 
Zilliqa realized early on that the usage of public cryptocurrencies and smart contracts were increasing but decentralized, secure, and scalable alternatives were lacking in the crypto space. They proposed to apply sharding onto a public smart contract blockchain where the transaction rate increases almost linear with the increase in the amount of nodes. More nodes = higher transaction throughput and increased decentralization. Sharding comes in many forms and Zilliqa uses network-, transaction- and computational sharding. Network sharding opens up the possibility of using transaction- and computational sharding on top. Zilliqa does not use state sharding for now. We’ll come back to this later.
 
Before we continue dissecting how Zilliqa achieves such from a technological standpoint it’s good to keep in mind that a blockchain being decentralised and secure and scalable is still one of the main hurdles in allowing widespread usage of decentralised networks. In my opinion this needs to be solved first before blockchains can get to the point where they can create and add large scale value. So I invite you to read the next section to grasp the underlying fundamentals. Because after all these premises need to be true otherwise there isn’t a fundamental case to be bullish on Zilliqa, right?
 
Down the rabbit hole
 
How have they achieved this? Let’s define the basics first: key players on Zilliqa are the users and the miners. A user is anybody who uses the blockchain to transfer funds or run smart contracts. Miners are the (shard) nodes in the network who run the consensus protocol and get rewarded for their service in Zillings (ZIL). The mining network is divided into several smaller networks called shards, which is also referred to as ‘network sharding’. Miners subsequently are randomly assigned to a shard by another set of miners called DS (Directory Service) nodes. The regular shards process transactions and the outputs of these shards are eventually combined by the DS shard as they reach consensus on the final state. More on how these DS shards reach consensus (via pBFT) will be explained later on.
 
The Zilliqa network produces two types of blocks: DS blocks and Tx blocks. One DS Block consists of 100 Tx Blocks. And as previously mentioned there are two types of nodes concerned with reaching consensus: shard nodes and DS nodes. Becoming a shard node or DS node is being defined by the result of a PoW cycle (Ethash) at the beginning of the DS Block. All candidate mining nodes compete with each other and run the PoW (Proof-of-Work) cycle for 60 seconds and the submissions achieving the highest difficulty will be allowed on the network. And to put it in perspective: the average difficulty for one DS node is ~ 2 Th/s equaling 2.000.000 Mh/s or 55 thousand+ GeForce GTX 1070 / 8 GB GPUs at 35.4 Mh/s. Each DS Block 10 new DS nodes are allowed. And a shard node needs to provide around 8.53 GH/s currently (around 240 GTX 1070s). Dual mining ETH/ETC and ZIL is possible and can be done via mining software such as Phoenix and Claymore. There are pools and if you have large amounts of hashing power (Ethash) available you could mine solo.
 
The PoW cycle of 60 seconds is a peak performance and acts as an entry ticket to the network. The entry ticket is called a sybil resistance mechanism and makes it incredibly hard for adversaries to spawn lots of identities and manipulate the network with these identities. And after every 100 Tx Blocks which corresponds to roughly 1,5 hour this PoW process repeats. In between these 1,5 hour, no PoW needs to be done meaning Zilliqa’s energy consumption to keep the network secure is low. For more detailed information on how mining works click here.
Okay, hats off to you. You have made it this far. Before we go any deeper down the rabbit hole we first must understand why Zilliqa goes through all of the above technicalities and understand a bit more what a blockchain on a more fundamental level is. Because the core of Zilliqa’s consensus protocol relies on the usage of pBFT (practical Byzantine Fault Tolerance) we need to know more about state machines and their function. Navigate to Viewblock, a Zilliqa block explorer, and just come back to this article. We will use this site to navigate through a few concepts.
 
We have established that Zilliqa is a public and distributed blockchain. Meaning that everyone with an internet connection can send ZILs, trigger smart contracts, etc. and there is no central authority who fully controls the network. Zilliqa and other public and distributed blockchains (like Bitcoin and Ethereum) can also be defined as state machines.
 
Taking the liberty of paraphrasing examples and definitions given by Samuel Brooks’ medium article, he describes the definition of a blockchain (like Zilliqa) as: “A peer-to-peer, append-only datastore that uses consensus to synchronize cryptographically-secure data”.
 
Next, he states that: "blockchains are fundamentally systems for managing valid state transitions”. For some more context, I recommend reading the whole medium article to get a better grasp of the definitions and understanding of state machines. Nevertheless, let’s try to simplify and compile it into a single paragraph. Take traffic lights as an example: all its states (red, amber, and green) are predefined, all possible outcomes are known and it doesn’t matter if you encounter the traffic light today or tomorrow. It will still behave the same. Managing the states of a traffic light can be done by triggering a sensor on the road or pushing a button resulting in one traffic lights’ state going from green to red (via amber) and another light from red to green.
 
With public blockchains like Zilliqa, this isn’t so straightforward and simple. It started with block #1 almost 1,5 years ago and every 45 seconds or so a new block linked to the previous block is being added. Resulting in a chain of blocks with transactions in it that everyone can verify from block #1 to the current #647.000+ block. The state is ever changing and the states it can find itself in are infinite. And while the traffic light might work together in tandem with various other traffic lights, it’s rather insignificant comparing it to a public blockchain. Because Zilliqa consists of 2400 nodes who need to work together to achieve consensus on what the latest valid state is while some of these nodes may have latency or broadcast issues, drop offline or are deliberately trying to attack the network, etc.
 
Now go back to the Viewblock page take a look at the amount of transaction, addresses, block and DS height and then hit refresh. Obviously as expected you see new incremented values on one or all parameters. And how did the Zilliqa blockchain manage to transition from a previous valid state to the latest valid state? By using pBFT to reach consensus on the latest valid state.
 
After having obtained the entry ticket, miners execute pBFT to reach consensus on the ever-changing state of the blockchain. pBFT requires a series of network communication between nodes, and as such there is no GPU involved (but CPU). Resulting in the total energy consumed to keep the blockchain secure, decentralized and scalable being low.
 
pBFT stands for practical Byzantine Fault Tolerance and is an optimization on the Byzantine Fault Tolerant algorithm. To quote Blockonomi: “In the context of distributed systems, Byzantine Fault Tolerance is the ability of a distributed computer network to function as desired and correctly reach a sufficient consensus despite malicious components (nodes) of the system failing or propagating incorrect information to other peers.” Zilliqa is such a distributed computer network and depends on the honesty of the nodes (shard and DS) to reach consensus and to continuously update the state with the latest block. If pBFT is a new term for you I can highly recommend the Blockonomi article.
 
The idea of pBFT was introduced in 1999 - one of the authors even won a Turing award for it - and it is well researched and applied in various blockchains and distributed systems nowadays. If you want more advanced information than the Blockonomi link provides click here. And if you’re in between Blockonomi and the University of Singapore read the Zilliqa Design Story Part 2 dating from October 2017.
Quoting from the Zilliqa tech whitepaper: “pBFT relies upon a correct leader (which is randomly selected) to begin each phase and proceed when the sufficient majority exists. In case the leader is byzantine it can stall the entire consensus protocol. To address this challenge, pBFT offers a view change protocol to replace the byzantine leader with another one.”
 
pBFT can tolerate ⅓ of the nodes being dishonest (offline counts as Byzantine = dishonest) and the consensus protocol will function without stalling or hiccups. Once there are more than ⅓ of dishonest nodes but no more than ⅔ the network will be stalled and a view change will be triggered to elect a new DS leader. Only when more than ⅔ of the nodes are dishonest (66%) double-spend attacks become possible.
 
If the network stalls no transactions can be processed and one has to wait until a new honest leader has been elected. When the mainnet was just launched and in its early phases, view changes happened regularly. As of today the last stalling of the network - and view change being triggered - was at the end of October 2019.
 
Another benefit of using pBFT for consensus besides low energy is the immediate finality it provides. Once your transaction is included in a block and the block is added to the chain it’s done. Lastly, take a look at this article where three types of finality are being defined: probabilistic, absolute and economic finality. Zilliqa falls under the absolute finality (just like Tendermint for example). Although lengthy already we skipped through some of the inner workings from Zilliqa’s consensus: read the Zilliqa Design Story Part 3 and you will be close to having a complete picture on it. Enough about PoW, sybil resistance mechanism, pBFT, etc. Another thing we haven’t looked at yet is the amount of decentralization.
 
Decentralisation
 
Currently, there are four shards, each one of them consisting of 600 nodes. 1 shard with 600 so-called DS nodes (Directory Service - they need to achieve a higher difficulty than shard nodes) and 1800 shard nodes of which 250 are shard guards (centralized nodes controlled by the team). The amount of shard guards has been steadily declining from 1200 in January 2019 to 250 as of May 2020. On the Viewblock statistics, you can see that many of the nodes are being located in the US but those are only the (CPU parts of the) shard nodes who perform pBFT. There is no data from where the PoW sources are coming. And when the Zilliqa blockchain starts reaching its transaction capacity limit, a network upgrade needs to be executed to lift the current cap of maximum 2400 nodes to allow more nodes and formation of more shards which will allow to network to keep on scaling according to demand.
Besides shard nodes there are also seed nodes. The main role of seed nodes is to serve as direct access points (for end-users and clients) to the core Zilliqa network that validates transactions. Seed nodes consolidate transaction requests and forward these to the lookup nodes (another type of nodes) for distribution to the shards in the network. Seed nodes also maintain the entire transaction history and the global state of the blockchain which is needed to provide services such as block explorers. Seed nodes in the Zilliqa network are comparable to Infura on Ethereum.
 
The seed nodes were first only operated by Zilliqa themselves, exchanges and Viewblock. Operators of seed nodes like exchanges had no incentive to open them for the greater public. They were centralised at first. Decentralisation at the seed nodes level has been steadily rolled out since March 2020 ( Zilliqa Improvement Proposal 3 ). Currently the amount of seed nodes is being increased, they are public-facing and at the same time PoS is applied to incentivize seed node operators and make it possible for ZIL holders to stake and earn passive yields. Important distinction: seed nodes are not involved with consensus! That is still PoW as entry ticket and pBFT for the actual consensus.
 
5% of the block rewards are being assigned to seed nodes (from the beginning in 2019) and those are being used to pay out ZIL stakers. The 5% block rewards with an annual yield of 10.03% translate to roughly 610 MM ZILs in total that can be staked. Exchanges use the custodial variant of staking and wallets like Moonlet will use the non-custodial version (starting in Q3 2020). Staking is being done by sending ZILs to a smart contract created by Zilliqa and audited by Quantstamp.
 
With a high amount of DS; shard nodes and seed nodes becoming more decentralized too, Zilliqa qualifies for the label of decentralized in my opinion.
 
Smart contracts
 
Let me start by saying I’m not a developer and my programming skills are quite limited. So I‘m taking the ELI5 route (maybe 12) but if you are familiar with Javascript, Solidity or specifically OCaml please head straight to Scilla - read the docs to get a good initial grasp of how Zilliqa’s smart contract language Scilla works and if you ask yourself “why another programming language?” check this article. And if you want to play around with some sample contracts in an IDE click here. The faucet can be found here. And more information on architecture, dapp development and API can be found on the Developer Portal.
If you are more into listening and watching: check this recent webinar explaining Zilliqa and Scilla. Link is time-stamped so you’ll start right away with a platform introduction, roadmap 2020 and afterwards a proper Scilla introduction.
 
Generalized: programming languages can be divided into being ‘object-oriented’ or ‘functional’. Here is an ELI5 given by software development academy: * “all programs have two basic components, data – what the program knows – and behavior – what the program can do with that data. So object-oriented programming states that combining data and related behaviors in one place, is called “object”, which makes it easier to understand how a particular program works. On the other hand, functional programming argues that data and behavior are different things and should be separated to ensure their clarity.” *
 
Scilla is on the functional side and shares similarities with OCaml: OCaml is a general-purpose programming language with an emphasis on expressiveness and safety. It has an advanced type system that helps catch your mistakes without getting in your way. It's used in environments where a single mistake can cost millions and speed matters, is supported by an active community, and has a rich set of libraries and development tools. For all its power, OCaml is also pretty simple, which is one reason it's often used as a teaching language.
 
Scilla is blockchain agnostic, can be implemented onto other blockchains as well, is recognized by academics and won a so-called Distinguished Artifact Award award at the end of last year.
 
One of the reasons why the Zilliqa team decided to create their own programming language focused on preventing smart contract vulnerabilities is that adding logic on a blockchain, programming, means that you cannot afford to make mistakes. Otherwise, it could cost you. It’s all great and fun blockchains being immutable but updating your code because you found a bug isn’t the same as with a regular web application for example. And with smart contracts, it inherently involves cryptocurrencies in some form thus value.
 
Another difference with programming languages on a blockchain is gas. Every transaction you do on a smart contract platform like Zilliqa or Ethereum costs gas. With gas you basically pay for computational costs. Sending a ZIL from address A to address B costs 0.001 ZIL currently. Smart contracts are more complex, often involve various functions and require more gas (if gas is a new concept click here ).
 
So with Scilla, similar to Solidity, you need to make sure that “every function in your smart contract will run as expected without hitting gas limits. An improper resource analysis may lead to situations where funds may get stuck simply because a part of the smart contract code cannot be executed due to gas limits. Such constraints are not present in traditional software systems”. Scilla design story part 1
 
Some examples of smart contract issues you’d want to avoid are: leaking funds, ‘unexpected changes to critical state variables’ (example: someone other than you setting his or her address as the owner of the smart contract after creation) or simply killing a contract.
 
Scilla also allows for formal verification. Wikipedia to the rescue: In the context of hardware and software systems, formal verification is the act of proving or disproving the correctness of intended algorithms underlying a system with respect to a certain formal specification or property, using formal methods of mathematics.
 
Formal verification can be helpful in proving the correctness of systems such as: cryptographic protocols, combinational circuits, digital circuits with internal memory, and software expressed as source code.
 
Scilla is being developed hand-in-hand with formalization of its semantics and its embedding into the Coq proof assistant — a state-of-the art tool for mechanized proofs about properties of programs.”
 
Simply put, with Scilla and accompanying tooling developers can be mathematically sure and proof that the smart contract they’ve written does what he or she intends it to do.
 
Smart contract on a sharded environment and state sharding
 
There is one more topic I’d like to touch on: smart contract execution in a sharded environment (and what is the effect of state sharding). This is a complex topic. I’m not able to explain it any easier than what is posted here. But I will try to compress the post into something easy to digest.
 
Earlier on we have established that Zilliqa can process transactions in parallel due to network sharding. This is where the linear scalability comes from. We can define simple transactions: a transaction from address A to B (Category 1), a transaction where a user interacts with one smart contract (Category 2) and the most complex ones where triggering a transaction results in multiple smart contracts being involved (Category 3). The shards are able to process transactions on their own without interference of the other shards. With Category 1 transactions that is doable, with Category 2 transactions sometimes if that address is in the same shard as the smart contract but with Category 3 you definitely need communication between the shards. Solving that requires to make a set of communication rules the protocol needs to follow in order to process all transactions in a generalised fashion.
 
And this is where the downsides of state sharding comes in currently. All shards in Zilliqa have access to the complete state. Yes the state size (0.1 GB at the moment) grows and all of the nodes need to store it but it also means that they don’t need to shop around for information available on other shards. Requiring more communication and adding more complexity. Computer science knowledge and/or developer knowledge required links if you want to dig further: Scilla - language grammar Scilla - Foundations for Verifiable Decentralised Computations on a Blockchain Gas Accounting NUS x Zilliqa: Smart contract language workshop
 
Easier to follow links on programming Scilla https://learnscilla.com/home Ivan on Tech
 
Roadmap / Zilliqa 2.0
 
There is no strict defined roadmap but here are topics being worked on. And via the Zilliqa website there is also more information on the projects they are working on.
 
Business & Partnerships
 
It’s not only technology in which Zilliqa seems to be excelling as their ecosystem has been expanding and starting to grow rapidly. The project is on a mission to provide OpenFinance (OpFi) to the world and Singapore is the right place to be due to its progressive regulations and futuristic thinking. Singapore has taken a proactive approach towards cryptocurrencies by introducing the Payment Services Act 2019 (PS Act). Among other things, the PS Act will regulate intermediaries dealing with certain cryptocurrencies, with a particular focus on consumer protection and anti-money laundering. It will also provide a stable regulatory licensing and operating framework for cryptocurrency entities, effectively covering all crypto businesses and exchanges based in Singapore. According to PWC 82% of the surveyed executives in Singapore reported blockchain initiatives underway and 13% of them have already brought the initiatives live to the market. There is also an increasing list of organizations that are starting to provide digital payment services. Moreover, Singaporean blockchain developers Building Cities Beyond has recently created an innovation $15 million grant to encourage development on its ecosystem. This all suggests that Singapore tries to position itself as (one of) the leading blockchain hubs in the world.
 
Zilliqa seems to already take advantage of this and recently helped launch Hg Exchange on their platform, together with financial institutions PhillipCapital, PrimePartners and Fundnel. Hg Exchange, which is now approved by the Monetary Authority of Singapore (MAS), uses smart contracts to represent digital assets. Through Hg Exchange financial institutions worldwide can use Zilliqa's safe-by-design smart contracts to enable the trading of private equities. For example, think of companies such as Grab, Airbnb, SpaceX that are not available for public trading right now. Hg Exchange will allow investors to buy shares of private companies & unicorns and capture their value before an IPO. Anquan, the main company behind Zilliqa, has also recently announced that they became a partner and shareholder in TEN31 Bank, which is a fully regulated bank allowing for tokenization of assets and is aiming to bridge the gap between conventional banking and the blockchain world. If STOs, the tokenization of assets, and equity trading will continue to increase, then Zilliqa’s public blockchain would be the ideal candidate due to its strategic positioning, partnerships, regulatory compliance and the technology that is being built on top of it.
 
What is also very encouraging is their focus on banking the un(der)banked. They are launching a stablecoin basket starting with XSGD. As many of you know, stablecoins are currently mostly used for trading. However, Zilliqa is actively trying to broaden the use case of stablecoins. I recommend everybody to read this text that Amrit Kumar wrote (one of the co-founders). These stablecoins will be integrated in the traditional markets and bridge the gap between the crypto world and the traditional world. This could potentially revolutionize and legitimise the crypto space if retailers and companies will for example start to use stablecoins for payments or remittances, instead of it solely being used for trading.
 
Zilliqa also released their DeFi strategic roadmap (dating November 2019) which seems to be aligning well with their OpFi strategy. A non-custodial DEX is coming to Zilliqa made by Switcheo which allows cross-chain trading (atomic swaps) between ETH, EOS and ZIL based tokens. They also signed a Memorandum of Understanding for a (soon to be announced) USD stablecoin. And as Zilliqa is all about regulations and being compliant, I’m speculating on it to be a regulated USD stablecoin. Furthermore, XSGD is already created and visible on block explorer and XIDR (Indonesian Stablecoin) is also coming soon via StraitsX. Here also an overview of the Tech Stack for Financial Applications from September 2019. Further quoting Amrit Kumar on this:
 
There are two basic building blocks in DeFi/OpFi though: 1) stablecoins as you need a non-volatile currency to get access to this market and 2) a dex to be able to trade all these financial assets. The rest are built on top of these blocks.
 
So far, together with our partners and community, we have worked on developing these building blocks with XSGD as a stablecoin. We are working on bringing a USD-backed stablecoin as well. We will soon have a decentralised exchange developed by Switcheo. And with HGX going live, we are also venturing into the tokenization space. More to come in the future.”
 
Additionally, they also have this ZILHive initiative that injects capital into projects. There have been already 6 waves of various teams working on infrastructure, innovation and research, and they are not from ASEAN or Singapore only but global: see Grantees breakdown by country. Over 60 project teams from over 20 countries have contributed to Zilliqa's ecosystem. This includes individuals and teams developing wallets, explorers, developer toolkits, smart contract testing frameworks, dapps, etc. As some of you may know, Unstoppable Domains (UD) blew up when they launched on Zilliqa. UD aims to replace cryptocurrency addresses with a human-readable name and allows for uncensorable websites. Zilliqa will probably be the only one able to handle all these transactions onchain due to ability to scale and its resulting low fees which is why the UD team launched this on Zilliqa in the first place. Furthermore, Zilliqa also has a strong emphasis on security, compliance, and privacy, which is why they partnered with companies like Elliptic, ChainSecurity (part of PwC Switzerland), and Incognito. Their sister company Aqilliz (Zilliqa spelled backwards) focuses on revolutionizing the digital advertising space and is doing interesting things like using Zilliqa to track outdoor digital ads with companies like Foodpanda.
 
Zilliqa is listed on nearly all major exchanges, having several different fiat-gateways and recently have been added to Binance’s margin trading and futures trading with really good volume. They also have a very impressive team with good credentials and experience. They don't just have “tech people”. They have a mix of tech people, business people, marketeers, scientists, and more. Naturally, it's good to have a mix of people with different skill sets if you work in the crypto space.
 
Marketing & Community
 
Zilliqa has a very strong community. If you just follow their Twitter their engagement is much higher for a coin that has approximately 80k followers. They also have been ‘coin of the day’ by LunarCrush many times. LunarCrush tracks real-time cryptocurrency value and social data. According to their data, it seems Zilliqa has a more fundamental and deeper understanding of marketing and community engagement than almost all other coins. While almost all coins have been a bit frozen in the last months, Zilliqa seems to be on its own bull run. It was somewhere in the 100s a few months ago and is currently ranked #46 on CoinGecko. Their official Telegram also has over 20k people and is very active, and their community channel which is over 7k now is more active and larger than many other official channels. Their local communities also seem to be growing.
 
Moreover, their community started ‘Zillacracy’ together with the Zilliqa core team ( see www.zillacracy.com ). It’s a community-run initiative where people from all over the world are now helping with marketing and development on Zilliqa. Since its launch in February 2020 they have been doing a lot and will also run their own non-custodial seed node for staking. This seed node will also allow them to start generating revenue for them to become a self sustaining entity that could potentially scale up to become a decentralized company working in parallel with the Zilliqa core team. Comparing it to all the other smart contract platforms (e.g. Cardano, EOS, Tezos etc.) they don't seem to have started a similar initiative (correct me if I’m wrong though). This suggests in my opinion that these other smart contract platforms do not fully understand how to utilize the ‘power of the community’. This is something you cannot ‘buy with money’ and gives many projects in the space a disadvantage.
 
Zilliqa also released two social products called SocialPay and Zeeves. SocialPay allows users to earn ZILs while tweeting with a specific hashtag. They have recently used it in partnership with the Singapore Red Cross for a marketing campaign after their initial pilot program. It seems like a very valuable social product with a good use case. I can see a lot of traditional companies entering the space through this product, which they seem to suggest will happen. Tokenizing hashtags with smart contracts to get network effect is a very smart and innovative idea.
 
Regarding Zeeves, this is a tipping bot for Telegram. They already have 1000s of signups and they plan to keep upgrading it for more and more people to use it (e.g. they recently have added a quiz features). They also use it during AMAs to reward people in real-time. It’s a very smart approach to grow their communities and get familiar with ZIL. I can see this becoming very big on Telegram. This tool suggests, again, that the Zilliqa team has a deeper understanding of what the crypto space and community needs and is good at finding the right innovative tools to grow and scale.
 
To be honest, I haven’t covered everything (i’m also reaching the character limited haha). So many updates happening lately that it's hard to keep up, such as the International Monetary Fund mentioning Zilliqa in their report, custodial and non-custodial Staking, Binance Margin, Futures, Widget, entering the Indian market, and more. The Head of Marketing Colin Miles has also released this as an overview of what is coming next. And last but not least, Vitalik Buterin has been mentioning Zilliqa lately acknowledging Zilliqa and mentioning that both projects have a lot of room to grow. There is much more info of course and a good part of it has been served to you on a silver platter. I invite you to continue researching by yourself :-) And if you have any comments or questions please post here!
submitted by haveyouheardaboutit to CryptoCurrency [link] [comments]

A new whitepaper analysing the performance and scalability of the Streamr pub/sub messaging Network is now available. Take a look at some of the fascinating key results in this introductory blog

A new whitepaper analysing the performance and scalability of the Streamr pub/sub messaging Network is now available. Take a look at some of the fascinating key results in this introductory blog

Streamr Network: Performance and Scalability Whitepaper


https://preview.redd.it/bstqyn43x4j51.png?width=2600&format=png&auto=webp&s=81683ca6303ab84ab898c096345464111d674ee5
The Corea milestone of the Streamr Network went live in late 2019. Since then a few people in the team have been working on an academic whitepaper to describe its design principles, position it with respect to prior art, and prove certain properties it has. The paper is now ready, and it has been submitted to the IEEE Access journal for peer review. It is also now published on the new Papers section on the project website. In this blog, I’ll introduce the paper and explain its key results. All the figures presented in this post are from the paper.
The reasons for doing this research and writing this paper were simple: many prospective users of the Network, especially more serious ones such as enterprises, ask questions like ‘how does it scale?’, ‘why does it scale?’, ‘what is the latency in the network?’, and ‘how much bandwidth is consumed?’. While some answers could be provided before, the Network in its currently deployed form is still small-scale and can’t really show a track record of scalability for example, so there was clearly a need to produce some in-depth material about the structure of the Network and its performance at large, global scale. The paper answers these questions.
Another reason is that decentralized peer-to-peer networks have experienced a new renaissance due to the rise in blockchain networks. Peer-to-peer pub/sub networks were a hot research topic in the early 2000s, but not many real-world implementations were ever created. Today, most blockchain networks use methods from that era under the hood to disseminate block headers, transactions, and other events important for them to function. Other megatrends like IoT and social media are also creating demand for new kinds of scalable message transport layers.

The latency vs. bandwidth tradeoff

The current Streamr Network uses regular random graphs as stream topologies. ‘Regular’ here means that nodes connect to a fixed number of other nodes that publish or subscribe to the same stream, and ‘random’ means that those nodes are selected randomly.
Random connections can of course mean that absurd routes get formed occasionally, for example a data point might travel from Germany to France via the US. But random graphs have been studied extensively in the academic literature, and their properties are not nearly as bad as the above example sounds — such graphs are actually quite good! Data always takes multiple routes in the network, and only the fastest route counts. The less-than-optimal routes are there for redundancy, and redundancy is good, because it improves security and churn tolerance.
There is an important parameter called node degree, which is the fixed number of nodes to which each node in a topology connects. A higher node degree means more duplication and thus more bandwidth consumption for each node, but it also means that fast routes are more likely to form. It’s a tradeoff; better latency can be traded for worse bandwidth consumption. In the following section, we’ll go deeper into analyzing this relationship.

Network diameter scales logarithmically

One useful metric to estimate the behavior of latency is the network diameter, which is the number of hops on the shortest path between the most distant pair of nodes in the network (i.e. the “longest shortest path”. The below plot shows how the network diameter behaves depending on node degree and number of nodes.

Network diameter
We can see that the network diameter increases logarithmically (very slowly), and a higher node degree ‘flattens the curve’. This is a property of random regular graphs, and this is very good — growing from 10,000 nodes to 100,000 nodes only increases the diameter by a few hops! To analyse the effect of the node degree further, we can plot the maximum network diameter using various node degrees:
Network diameter in network of 100 000 nodes
We can see that there are diminishing returns for increasing the node degree. On the other hand, the penalty (number of duplicates, i.e. bandwidth consumption), increases linearly with node degree:

Number of duplicates received by the non-publisher nodes
In the Streamr Network, each stream forms its own separate overlay network and can even have a custom node degree. This allows the owner of the stream to configure their preferred latency/bandwidth balance (imagine such a slider control in the Streamr Core UI). However, finding a good default value is important. From this analysis, we can conclude that:
  • The logarithmic behavior of network diameter leads us to hope that latency might behave logarithmically too, but since the number of hops is not the same as latency (in milliseconds), the scalability needs to be confirmed in the real world (see next section).
  • A node degree of 4 yields good latency/bandwidth balance, and we have selected this as the default value in the Streamr Network. This value is also used in all the real-world experiments described in the next section.
It’s worth noting that in such a network, the bandwidth requirement for publishers is determined by the node degree and not the number of subscribers. With a node degree 4 and a million subscribers, the publisher only uploads 4 copies of a data point, and the million subscribing nodes share the work of distributing the message among themselves. In contrast, a centralized data broker would need to push out a million copies.

Latency scales logarithmically

To see if actual latency scales logarithmically in real-world conditions, we ran large numbers of nodes in 16 different Amazon AWS data centers around the world. We ran experiments with network sizes between 32 to 2048 nodes. Each node published messages to the network, and we measured how long it took for the other nodes to get the message. The experiment was repeated 10 times for each network size.
The below image displays one of the key results of the paper. It shows a CDF (cumulative distribution function) of the measured latencies across all experiments. The y-axis runs from 0 to 1, i.e. 0% to 100%.
CDF of message propagation delay
From this graph we can easily read things like: in a 32 nodes network (blue line), 50% of message deliveries happened within 150 ms globally, and all messages were delivered in around 250 ms. In the largest network of 2048 nodes (pink line), 99% of deliveries happened within 362 ms globally.
To put these results in context, PubNub, a centralized message brokering service, promises to deliver messages within 250 ms — and that’s a centralized service! Decentralization comes with unquestionable benefits (no vendor lock-in, no trust required, network effects, etc.), but if such protocols are inferior in terms of performance or cost, they won’t get adopted. It’s pretty safe to say that the Streamr Network is on par with centralized services even when it comes to latency, which is usually the Achilles’ heel of P2P networks (think of how slow blockchains are!). And the Network will only get better with time.
Then we tackled the big question: does the latency behave logarithmically?
Mean message propagation delay in Amazon experiments
Above, the thick line is the average latency for each network size. From the graph, we can see that the latency grows logarithmically as the network size increases, which means excellent scalability.
The shaded area shows the difference between the best and worst average latencies in each repeat. Here we can see the element of chance at play; due to the randomness in which nodes become neighbours, some topologies are faster than others. Given enough repeats, some near-optimal topologies can be found. The difference between average topologies and the best topologies gives us a glimpse of how much room for optimisation there is, i.e. with a smarter-than-random topology construction, how much improvement is possible (while still staying in the realm of regular graphs)? Out of the observed topologies, the difference between the average and the best observed topology is between 5–13%, so not that much. Other subclasses of graphs, such as irregular graphs, trees, and so on, can of course unlock more room for improvement, but they are different beasts and come with their own disadvantages too.
It’s also worth asking: how much worse is the measured latency compared to the fastest possible latency, i.e. that of a direct connection? While having direct connections between a publisher and subscribers is definitely not scalable, secure, or often even feasible due to firewalls, NATs and such, it’s still worth asking what the latency penalty of peer-to-peer is.

Relative delay penalty in Amazon experiments
As you can see, this plot has the same shape as the previous one, but the y-axis is different. Here, we are showing the relative delay penalty (RDP). It’s the latency in the peer-to-peer network (shown in the previous plot), divided by the latency of a direct connection measured with the ping tool. So a direct connection equals an RDP value of 1, and the measured RDP in the peer-to-peer network is roughly between 2 and 3 in the observed topologies. It increases logarithmically with network size, just like absolute latency.
Again, given that latency is the Achilles’ heel of decentralized systems, that’s not bad at all. It shows that such a network delivers acceptable performance for the vast majority of use cases, only excluding the most latency-sensitive ones, such as online gaming or arbitrage trading. For most other use cases, it doesn’t matter whether it takes 25 or 75 milliseconds to deliver a data point.

Latency is predictable

It’s useful for a messaging system to have consistent and predictable latency. Imagine for example a smart traffic system, where cars can alert each other about dangers on the road. It would be pretty bad if, even minutes after publishing it, some cars still haven’t received the warning. However, such delays easily occur in peer-to-peer networks. Everyone in the crypto space has seen first-hand how plenty of Bitcoin or Ethereum nodes lag even minutes behind the latest chain state.
So we wanted to see whether it would be possible to estimate the latencies in the peer-to-peer network if the topology and the latencies between connected pairs of nodes are known. We applied Dijkstra’s algorithm to compute estimates for average latencies from the input topology data, and compared the estimates to the actual measured average latencies:
Mean message propagation delay in Amazon experiments
We can see that, at least in these experiments, the estimates seemed to provide a lower bound for the actual values, and the average estimation error was 3.5%. The measured value is higher than the estimated one because the estimation only considers network delays, while in reality there is also a little bit of a processing delay at each node.

Conclusion

The research has shown that the Streamr Network can be expected to deliver messages in roughly 150–350 milliseconds worldwide, even at a large scale with thousands of nodes subscribing to a stream. This is on par with centralized message brokers today, showing that the decentralized and peer-to-peer approach is a viable alternative for all but the most latency-sensitive applications.
It’s thrilling to think that by accepting a latency only 2–3 times longer than the latency of an unscalable and insecure direct connecion, applications can interconnect over an open fabric with global scalability, no single point of failure, no vendor lock-in, and no need to trust anyone — all that becomes available out of the box.
In the real-time data space, there are plenty of other aspects to explore, which we didn’t cover in this paper. For example, we did not measure throughput characteristics of network topologies. Different streams are independent, so clearly there’s scalability in the number of streams, and heavy streams can be partitioned, allowing each stream to scale too. Throughput is mainly limited, therefore, by the hardware and network connection used by the network nodes involved in a topology. Measuring the maximum throughput would basically be measuring the hardware as well as the performance of our implemented code. While interesting, this is not a high priority research target at this point in time. And thanks to the redundancy in the network, individual slow nodes do not slow down the whole topology; the data will arrive via faster nodes instead.
Also out of scope for this paper is analysing the costs of running such a network, including the OPEX for publishers and node operators. This is a topic of ongoing research, which we’re currently doing as part of designing the token incentive mechanisms of the Streamr Network, due to be implemented in a later milestone.
I hope that this blog has provided some insight into the fascinating results the team uncovered during this research. For a more in-depth look at the context of this work, and more detail about the research, we invite you to read the full paper.
If you have an interest in network performance and scalability from a developer or enterprise perspective, we will be hosting a talk about this research in the coming weeks, so keep an eye out for more details on the Streamr social media channels. In the meantime, feedback and comments are welcome. Please add a comment to this Reddit thread or email [[email protected]](mailto:[email protected]).
Originally published by. Henri at blog.streamr.network on August 24, 2020.
submitted by thamilton5 to streamr [link] [comments]

I'm looking for educational material on programming a bitcoin trading bot.

The main issue I'm having is trying to figure out how to programmatically buy and sell between various exchanges and maybe between various crypto coins.
I would also like some more information on the art and science of bitcoin bots in general.
So information in this direction would really help me out.
submitted by hacktrick to BitcoinBeginners [link] [comments]

Chainlink is the most overvalued "cryptocurrency" the world has ever seen

There are 1,000,000,000 LINK tokens, which gives it a market cap of $3.2 billion.
If you remove Tether, that would place it #6 as the most valuable "cryptocurrency". If you remove XRP, which is also not a cryptocurrency, it would place it #5. If you merge bitcoin forks, it would be #3, right under Ethereum.
Its current position is #11 according to CoinMarketcap, but that's because 650,000,000 tokens are owned by the team. Those tokens are not locked, nor legally bound by any agreement to not be sold. In fact the team has already started dumping them. They are literally circulating by any technical or legal definition, but for some reason CoinMarketcap decides to mislead investors and say they are not circulating. (https://beincrypto.com/chainlink-team-accused-of-dumping-530-million-in-link-tokens-over-six-weeks/)
The team promises in its whitepaper that half those tokens will be "rewards for nodes", but why would you trust the team? They've lied countless times. For example when they plaster in their marketing everywhere that their oracles are decentralized (they are not), Vitalik himself says so. The only "consensus algorithm" they use is to KYC each node manually. (https://web.archive.org/web/20200416103509/https://www.reddit.com/LINKTradecomments/fyxc23/whats_up_with_vitalik_constantly_bashing/fn35ae0/)
They've also lied about many partnerships. For example, they've said several times that they work with Swift, which is not true. They won some Swift competition in 2016, and radio silence since then. They still claim to be working with Swift today, but they conveniently removed it from their website not long ago. (https://web.archive.org/web/20190820085402/https://chain.link/)
They also claim to be working with Google, which is also a lie. They did 1 blog post 1 year ago, which was basically a thinly veiled ad for Google Cloud services. It was provably neither a partnership nor integration. The Google employee never even ran a node on mainnet. Yet the team constantly boasts about "working with Google". (https://web.archive.org/web/20190820085402/https://chain.link/)
They did the same with Oracle Cloud. Fernando (the Oracle employee that organized the "partnership") bragged about holding LINK after it pumped, got demoted, and all the Oracle startups that were supposed to be part of the "partnership" turned out to be dead or fake companies. It was at best a PR stunt for Oracle Cloud, at worst insider trading by Oracle employees. (https://web.archive.org/web/20200114062507/https://twitter.com/fribeiro1/status/1213946909464973316)
Chainlink has dozens of other "partnerships". I don't have time to investigate all of them, but all the ones I looked into were basically fake. (And by fake I mean they are grossly exaggerated, the tweets and blogposts are real)
As of today, even though they are the highest valued non-bitcoin, non-ethereum cryptoccurency in the world, the only project using their centralized KYC oracles are Synthetix (according to someone from their team). (https://web.archive.org/web/20200416104122/https://www.reddit.com/Chainlink/comments/fdwaad/request_examples_of_apps_built_with_chainlink/fjkhsjv/)
They apparently have countless big name companies "that will use Chainlink soon", but considering their testnet has been usable for close to 2 years, they have 1-2+ years old "partnerships" that are still not using it, and that their MO is to lie as much as humanly possible, I doubt it's true.
submitted by donteatyourvegs to CryptoCurrency [link] [comments]

Recap on CoinEx & Avalanche AMA Aug 5, 2020

Recap on CoinEx & Avalanche AMA Aug 5, 2020
Written by SatoshisAngels
Published by read.cash
On August 5th 2020, Satoshi’s Angels hosted an AMA for CoinEx on “How BCH and Avalanche Are Bringing Financial Freedom to 6 Billion People” on a Chinese platform Bihu. During the 100-minute event, Haipo Yang of ViaBTC and CoinEx, and Emin Gun Sirer of AVA Labs shared their in-depth views on such topics as different consensus mechanisms, community governance, IPFS, Defi. And Haipo explained why he wants to fork BCH. This is the full text.
You can check out the full AMA here (mostly in Chinese with some English translation).

https://preview.redd.it/x790bw58axf51.png?width=1920&format=png&auto=webp&s=03c8af942f8f14d98d5dd693adf9e2a50448d61d
Cindy Wang (Satoshi’s Angels): There are news saying that you are to fork BCH. Is it a marketing makeover? Are you serious about it?
Haipo Yang: It’s definitely not a marketing makeover. But the details are not decided yet.
Over the past three years, the BCH community has gone through multiple discussions from reducing block time, changing mining algorithms, adding smart contracts, etc. But none of these disputes have been well settled.
BCH is a big failure in terms of governance. A lack of good governance has made it fall in disorder. It is too decentralized to make progress.
You may know that the first BCH block was mined by ViaBTC. And we gave a lot of support to it indeed. But we didn’t dominate the fork. The Chinese community in particular thought I had a lot of influence, but it was not true.
I think the whole community is very dissatisfied with Bitcoin ABC, but it is difficult to replace them or change the status quo. So I am thinking of creating a new branch of BCH. The idea is still in early stage. I welcome anyone interested to participate and discuss it with me.
Wang: Professor Emin, what’s your attitude to fork? Do you think it’s a good timing to fork BCH?
Emin Gun Sirer: I am a big fan of BCH. It adheres to the original vision of Satoshi Nakamoto. I like the technical roadmap of BCH. But just like what Haipo mentioned, BCH lacks a good governance mechanism. There are always something that can cause BCH community to divide itself.
But I think it’s not enough to just have a good governance mechanism. There are many good proposals in the community but failed to be adopted in the end. I think BCH needs social leadership to encourage discussion when there are new proposals.
Wang: We are all curious to know How Avalanche got its name?
I know that Avalanche doesn’t mean well in Chinese. But in English, it’s a very powerful word. Avalanche represents a series of algorithms piling together like a mountain. When decisions slowly form, the ball (nodes in the network) on top of the mountain starts going down the hill on one side, and it gets bigger and bigger, and like an avalanche and it becomes unstoppable, making the transaction final.
Wang: Prof. Emin, I know that you are a big blocker. Have you ever considered implementing Avalanche based on BCH? Why create another chain?
Sirer: Of course I considered that. Satoshi Nakamoto consensus is wonderful, but the proof-of-work mechanism and Nakamoto consensus base protocols have some shortcomings, such as network latency, and it is hard to scale. Avalanche, instead, is totally different, and is the new biggest breakthrough in the past 45 years. It is flexible, fast, and scalable. I’d love to implement BCH on top of avalanche in the future, to make BCH even better by making 0-conf transactions much more secure.
Wang: As an old miner, why did CoinEx Chain choose to “abandon” POW, and turn to POS mechanism?
Haipo: Both POW and POS consensus algorithms have their own advantages. POW is not just a consensus algorithm, but also a more transparent and open distribution method of digital currency. Anyone can participate in it through mining.
POW is fairer. For a POS-based network, participants must have coins. For example, you need to invest ICO projects to obtain coins. But developers can get a lot of coins almost for free. In addition, POW is more open. Anyone can participate without holding tokens. For example, as long as you have a computer and mining rigs, you can participate in mining. Openness and fairness are two great features of POW. POS is more advanced, safe and efficient.
POS is jointly maintained by the token holders, and there is no problem of 51% attacks. Those who hold tokens are more inclined to protect the network than to destroy the network for their own interests. To disrupt the network, you need to buy at least two-thirds of the token, which is very difficult to achieve. And when you actually hold so many coins, it’s barely possible for you to destroy the network.
POW has the problem of 51% attack. For example, ETC just suffered the 51% attack on August 3. And the cost to do that is very low. It can be reorganized with only tens of thousands of dollars. This is also a defect of POW.
In addition, in terms of TPS and block speed, POS can achieve second-level speed and higher TPS. Therefore, CoinEx Chain chose POS because it can bring a faster transaction experience. This is very important for decentralized exchanges. Both POW and POS have their own advantages. It’s a matter of personal choice. When choosing a consensus mechanism, the choice must be made according to the characteristics of the specific project.
https://preview.redd.it/upbayijaaxf51.jpg?width=1055&format=pjpg&auto=webp&s=703e3b6a493a76f86bc9045e784d174bde9d3c42
Wang: Ethereum is switching to ETH 2.0. If they succeed, do you think it will lead the next bull market?
Sirer: If Ethereum 2.0 can be realized, it must be a huge success.
But I doubt it can be launched anytime soon considering that it has been constantly delayed. And even if it comes out, I am not so sure if it will address the core scaling problem. And the main technology in Ethereum 2.0 is sharding. Sharding technology divides the Ethereum networks into small parallel groups, but I think what will happen is everyone wants to be in the same “shard” so the sharding advantages might not be realizable in Ethereum 2.0.
Avalanche supports Ethereum’s virtual machine, and Avalanche can realize 1 second level confirmation, while with sharding finalizing confirmation takes 5–6 seconds at best. Avalanche approach to make Ethereum scale is superior to Ethereum 2.0. There are many big players behind Ethereum 2.0, and I wish them success. But I believe that Avalanche will be the fastest and best Smart Contract platform in the crypto space, and it is compatible with Ethereum.
Wang: Why is Avalanche a real breakthrough?
Sirer: Avalanche is fundamentally different from previous consensus mechanisms. It’s very fast with TPS surpasses 6500, which is three times that of VISA. Six confirmations can be achieved in one second. Compared with the POW mechanism of Bitcoin and Bitcoin Cash, Avalanche’s participation threshold is very low. It allows multiple virtual machines to be built on the Avalanche protocol.
Avalanche is not created to compete with Bitcoin or fiat currencies such as the US dollar and RMB. It’s not made to compete with Ethereum, which is defined as the “world’s computer”. Avalanche is positioned to be an asset issuance platform to tokenize assets in the real world.
Wang: How do you rank the importance of community, development, governance, and technology to a public chain?
Sirer: These four are like the legs of a table. Every foot is very important. The table cannot stand without strong support.
A good community needs to be open to welcome developers and people. Good governance is especially important, to figure out what users need and respect their voices. Development needs to be decentralized. Avalanche has developers all over the world. And it has big companies building on top of Avalanche.
Yang: From a long-term perspective, I think governance is the most important thing, which is the same as running a company.
In the long run, technology is not important. Blockchain technology is developed based on an open source softwares that are free to the community. Community is also not the most important factor.
I think the most important thing is governance. Decentralization is more about technical. For example, Bitcoin, through a decentralized network method, ensures the openness and transparency of data assets, and the data on the chain cannot be tampered with, ensuring that the total amount of coins has a fixed upper limit.
But at the governance level, all coins are centralized at some degree. For example, BCH developers can decide to modify the protocol. In a sense, it is the same as managing a company.
Historically, the reasons for the success and failure of companies all stem from bad governance. For example, Apple succeeded based on Steve Jobs’s charisma, leadership and the pursuit of user experience. When Jobs was kicked out, Apple suffered great losses. After Jobs returned, he made Apple great again.
Issues behind Bitmain is also about governance. Simply put, governance requires leaders who have a longer-term vision and are more capable of coordinating and balancing the resources and interests of all parties to lead the community.
In the blockchain world, many people focus on technology. In fact, technology is not enough to make great products. User experience is most important. Users don’t care about the blockchain technology itself, but more concerned about whether it is easy to use and whether it can solve my problem.
We need to figure out how to deliver a product like Apple. The pursuit of user experience is also governance in nature. And governance itself lies in the soul of key leaders in the community.
Realize tokenization of assets in.
https://preview.redd.it/14jf1bvcaxf51.jpg?width=1082&format=pjpg&auto=webp&s=c312912142c38de986f42912086e205354162190
Wang: Speaking of asset tokenization, I would like to ask Haipo, do you think the market for assets on the chain is big?
Yang: It must be very big. We need to see which assets can be tokenized.
Assets that can be tokenized are standardized assets, sush as currencies and securities.
  1. In terms of currency, Tether has issued over 10 billion U.S. dollars. Many people think that’s too much. But I think this market is underestimated. The market for stablecoins in the future must be hundreds of billions or even trillions, especially after the release of Facebook’s Libra. Even US dollar might be issued based on the blockchain in the future.
At present, the settlement of USD currency is through the SWIFT system. But the SWIFT system itself is only a clearing network, a messaging system, not a settlement network. It takes a long time for clearing and settlement, and it is not reliable. But both USDT and USDC can quickly realize cross-border transfers in seconds and realize asset delivery. Even sovereign currencies are likely to be issued on the blockchain. I believe RMB also has such a plan.
  1. Equity and securities markets are the largest market. But they have strict requirements for market access.
Whether a stock is listed on A-shares or in the American markets, it’s hard to obtain them. I believe that the blockchain can completely release the demand through decentralization. It can allow any tiny company or even a project to issue, circulate and finance a token.
There may be only tens of thousands of stocks currently traded globally. There are also tens of thousands of tokens in the crypto space. I believe that millions or more of assets will be traded and circulated in the future. This can only be realized through decentralized technology and organization.
The market for assets tokenization will be huge. And at present, the entire blockchain technology is still very primitive. Bitcoin and Ethereum only have a few or a dozen TPS, which is far from meeting market demand. This is why CoinEx is committed to building a decentralized Dex public chain.
Wang: Avalanche’s paper was first published on IPFS. What do you think of IPFS?
Sirer: I personally like IPFS very much. It is a decentralized storage solution.
Yang: There is no doubt that IPFS solves the problem of decentralized storage, and can be robust in the blockchain world, and can replace HPPT services. But there are still three problems:
  1. IPFS is not for ordinary users. Everybody needs BCH and BTC, but only developers need IPFS, which is a relatively niche market;
  2. IPFS is more expensive than traditional storage solutions, which further reduces its practicality. In order to achieve decentralization, more copies must be stored, and more hardware devices must be consumed. In the end, these costs will be on to users.
  3. There may be compliance issues. If you use IPFS to store sensitive information, such as info from WikiLeaks, it may end up threatening national security. I doubt that decentralized storage and decentralized public chains can survive under the joint pressure of global governments.
The IPFS project solves certain problems. But from the perspective of application prospects, I am pessimistic.
Wang: What do you think of Defi?
Yang: I want to talk about the concept first.
Broadly speaking, the entire blockchain industry is DeFi in nature. Blockchain is to realize the circulation of currency, equity, and asset value through decentralization.
So in a broad sense, blockchain itself is DeFi. In a narrow sense, DeFi is a financial agreement based on smart contracts. DeFi, through smart contracts, can build applications more flexibly. For example, before we could only use Bitcoin to transfer and pay. Now with smart contracts, flexible functions such as lending, exchange, mortgage , etc. are available. The entire blockchain industry is gradually evolving under the conditions of DeFi. DeFi will definitely get greater development in the future.
Sirer: I think Defi will definitely have a huge impact. DeFi is not only an innovation in the cryptocurrency field, but also an innovation in the financial field. Wall Street companies have stagnated for years with no innovation. Avalanche fits different DeFi needs, including performance and compliance. In the future, not only will Wall Street simply adopt DeFi, but DeFi will grow into a huge market that will eventually replace the traditional financial system.
Questions from the community:
1. How does Avalanche integrate with DeFi?
Sirer: At present, all DeFi applications on Avalanche have surpassed Ethereum. What can be achieved on Ethereum can be achieved on Avalanche with better user experience. We are currently connecting with popular DeFi projects such as Compound and MakerDao to add part of or all of their functions.
At present, Avalanche is working on decentralized exchange (DEX). The current DEXs are limited by speed and performance but when they are built on top of Avalanche it will be real-time and very fast.
2. How many developers does BCH have?
Yang: I think it does not matter how many developers there are. What matters is what should be developed. I watched Jobs’ video the other day, and it inspired me a lot. We are not piecing together technology to see what technology can do. It’s we figure out what we want first and then we use the technology we need.
The entire blockchain community worship developers. Such as they call Vitalik “V God”. It’s not necessary to treat developers as wizards. Developers are programmers, and I myself is also a programmer.
ViaBTC has a development team of over 100 people, including core members from Copernicus (a dev team formerly belonged to Bitmain). Technically we are very confident to build faster, stabler, and better user experience products.
submitted by CoinExcom to btc [link] [comments]

Zhuoer Jiang: Talk about the difference between BTC, BCH and BSV

Zhuoer Jiang: Talk about the difference between BTC, BCH and BSV

https://preview.redd.it/kcdq7qrjnyd51.jpg?width=570&format=pjpg&auto=webp&s=af67bd46683fbe3ffa6c081d490d69598dd83bbb
1. When do you contact Bitcoin? What do you think of the blockchain industry?
I came into contact with Bitcoin in October 2013. At that time, I was making game aids, which involved the issue of collecting money from Taiwan and Southeast Asia.
The reason for cultivating the blockchain industry is that blockchain is the only industry that can provide economic freedom. The blockchain is decentralized and has no control center, so no one can eliminate it, so it provides economic freedom. The counter-example is Qvod player. Although Qvod player also has tens of thousands of nodes, it is centralized. As long as the control center is killed, the Qvod player network will die. (QvodPlayer is a Chinese-based video-on-demand playback software, using P2P technology, users can watch online film and television programs through buffering. In mainland China, QvodPlayer has a huge number of users. Due to the use of a dedicated transmission protocol, QvodPlayer is used by some users to download banned videos, such as violent or pornographic videos, and politically sensitive videos. In addition, pirated movies are rampant in QvodPlayer)
I am not a Bitcoinist. As long as other tokens provide economic freedom, I will buy them with real money. My position portfolio is BCH 40% + BTC 30% + ETH 20% + economically free innovative currency 10%, and I think that ETH is likely to exceed BTC in total market value in this bull market.
2. What is the difference between BTC, BCH and BSV?
The easiest thing to see is the difference in block size. BTC blocks have been locked at about 1MB, while BSV advocates infinite blocks. BCH advocates a moderate block size, which cannot exceed the carrying capacity of an ordinary computer. The current value is about 32MB.
Both BTC and BSV have gone to extremes. The BTC development team, Core, pursues extreme decentralization, resulting in too small blocks and high transaction fees. In the last bull market, a transaction fee was as high as hundreds of thousands of yuan, which caused a large number of BTC users to flow out to BCH, ETH and other tokens.
Some people think that BTC can rely entirely on stored-value users instead of using users to survive. This is impossible. If there are no users, there are no stored value users. For example, gold is obviously more suitable for storing value, but almost everyone has bank deposits, except for the elderly, almost no one uses gold to store value. To
People usually use paper money to store value, and naturally they also use paper money to store value. It is impossible to use paper money to store value with gold, and it is impossible to use paper money for small transactions and gold for large transactions. Currency has a scale effect, and it must be a winner takes all.
BSV has gone to the other extreme. The blockchain is enough to store transaction data, but if the blockchain is used as cloud storage, no amount of space is enough. Think about how many resources the world has to store. The result is that the performance requirements are too high, the number of nodes is drastically reduced, and the foundation of the blockchain, which is decentralization, is lost. In the end, it falls into the same fate as the Qvod player. To
Behind the different block sizes are the differences in the spirit of the three. Just like during the Opium War, the difference between Britain and China's Qing Dynasty was not a superficial weapon, but a complete political, economic, and technological gap behind it.
Both BTC and BSV are irrational and religious to a certain extent. BTC advocates a deadlock block size, and BSV advocates a deadlock protocol. The two are very similar.
In terms of rational development and serving users, BCH has won. For example, the issuance of tokens is an important function and rigid demand of the blockchain. Tokens can already be issued on BCH through several protocols such as Wormhole and SLP, while BTC and BSV cannot yet. This is a huge difference in development.
3. Under what circumstances can BCH exceed BTC?
BCH has to wait for users to slowly develop until the number of users and transactions exceed BTC. Although under normal circumstances, the currency has a scale effect, this situation is unlikely to happen, but BTC made a fatal mistake, and locked the block and locked the user.
What if BTC expands like BCH?
First of all, BTC cannot be expanded because the expansion requires a hard fork, regardless of whether it is within the community or the Core, it must adhere to 1MB, insist on extreme decentralization, and BTC must be able to run on the Raspberry Pi. The result is that the expansion advocates in BTC and Core re-hard fork.
Isn't this the plot of the hard fork of BCH from BTC in 2017? So what are these "advocates" doing hard forking again? Just go straight to BCH.
Therefore, BTC must undergo a hard fork to expand, so it cannot be expanded.
So BCH only needs to catch up, which is a fixed goal. I estimate that in this bull market, BCH can exceed the number of users. At that time, BCH had a solid foundation of users and communities. The price increase only increases the price of BCH, the value of BCH is determined by the number of users, and the price fluctuates around the value.
4. Will BCH hard fork happen? What impact will it have on us later?
The BCH community has recently had a lot of discussions on the issue of miner donations, which reflects the decentralization of BCH.
If BCH is controlled by bitmain, why it took a long time for bitmain to implement this problem? Conversely, if CSW wants to modify something on BSV, it can be passed immediately.
5. Do you think BCH is worth long-term ownership?
I often say: "Ask God in the short term, and the number of users in the long term."
The longer the time, the more worth holding BCH. BCH is developing rapidly due to the correct route. I just gave an example. There are already several schemes for issuing tokens on BCH, but neither BTC nor BSV have one. Part of it is because BSV locks the protocol and is not convenient for development. The other part It is because the BSV community has inherited the characteristics of CSW and only speaks big words and does not do practical things.
Therefore, it is definitely worth holding for 1 to 2 years, and the rate of increase is likely to be higher than that of BTC. I predict that the highest point of this round of bull market for BCH will rise from about 3.6% of BTC to 10% to 20% of BTC.
8. Free Q&A
"Will Bitcoin die due to quantum computers or other reasons?"
Certainly not, at best, replace a quantum-resistant algorithm. Looking at it now, quantum computers will not be practical for a long time. And I think quantum computers may not be able to solve the NP problem, that is, the current asymmetric encryption problem, which may not be possible mathematically.
"The impact of the proliferation of contract transactions on currency prices?"
The currency price is ultimately determined by the number of users, not by speculative users. The proliferation of futures trading has happened long ago. From 2016 to 2017, in the presence of a large number of futures trading, BTC rose 100 times.
"Will you be notified when you escape?"
I will definitely not inform. I have already made predictions. I think the bull market may end in the second half of 2021. Or conversely, this bull market may last for two to three years, and two years are more likely.
Why not notify? Most of my clients are miners, and the currency price directly affects the income of the miners. If the currency price drops due to my notification, the interests of my clients will be damaged.
"Recommended regular investment in 2019, what strategy is recommended in 2020?"
This year's bull market has begun, and it must be a full position investment. The cost of regular investment to buy coins later is very high.
"Is it better to speculate or to mine now?"
Most people can't insist on holding the token from start to finish. Most people are in the middle of the bull market, or even sell it at the beginning, and then miss the entire bull market.
Only miners, no matter what level of miners, will hold the token from beginning to end. During the entire bull market, miners are very profitable. Miners will certainly not sell the goose that lays golden eggs like mining machines in the bull market, so miners tend to make more. The earliest miners are basically still active in the market, and their wealth is free, while the earliest holders of coins are almost gone.
submitted by paulcheung1990 to Bitcoincash [link] [comments]

The Truth about Bitcoin?

Part 1/4 - NSA Connection:
First off, the SHA-256 algorithm, which stands for Secure Hash Algorithm 256, is a member of the SHA-2 cryptographic hash functions designed by the NSA and first published in 2001.
SHA-256, like other hash functions, takes any input and produces an output (often called a hash) of fixed length. The output of a hashing algorithm such as SHA-256 will always be the same length - regardless of the input size. Specifically, the output is, as the name suggests, 256 bits.
Moreover, all outputs appear completely random and offer no information about the input that created it.
The Bitcoin Network utilises the SHA-256 algorithm for mining and the creation of new addresses.
Who is Satoshi Nakamoto? What does Satoshi Nakamoto mean?
Out of respect for their anonymity, it would be rude to speculate in a video about who Satoshi Nakamoto is likely to be. The reality is, it's not important. Let me explain: Any human being can be attacked. Jesus could come back from the dead, and there would be haters. Therefore, the Satoshi Nakamoto approach neutralises the natural human herd behaviour, exacerbated by the media, to attack and discredit. This is a very important part of Bitcoin's success thus far. Also, from a security perspective, those who wish to dox Satoshi Nakamoto in a video are essentially putting his, or her, or their, life at risk...for the sake of views.
As a genius who has produced an innovation not just from a technical perspective but also a monetary perspective, they should be treated with more respect than that.
As for the name Satoshi Nakamoto, I would speculate that it is a homage to Tatsuaki Okamoto and Satoshi Obana - two cryptographers from Japan. There is another reason for the name, but that...is confidential.
In 1996, the NSA's Cryptology Division of their Office of Information Security Research and Technology published a paper titled: "How to make a mint: The cryptography of anonymous electronic cash", first publishing it in an MIT mailing list and later, in 1997, in the American University Law Review. One of the researchers they referenced was Tatsuaki Okamoto.

Part 2/4 - 'Crypto Market':
Most of the crypto market is a scam.
By the way, this was predicted very early on in the Bitcoin Talk forums - check out this interaction from November 8th, 2010:
"if bitcoin really takes off I can see lots of get-rich-quick imitators coming on the scene: gitcoin, nitcoin, witcoin, titcoin, shitcoin...
Of course the cheap imitators will disappear as quickly as those 1990s "internet currencies", but lots of people will get burned along the way."
To which Bitcoin OG Gavin Andresen replies:
"I agree - we're in the Wild West days of open-source currency. I expect people will get burned by scams, imitators, ponzi schemes and price bubbles."
"I don't think there's a whole lot that can be done about scammers, imitators and ponzi schemes besides warning people to be careful with their money (whether dollars, euros or bitcoins)."
Now, on the one hand, lack of regulation is more meritocratic (as you don't have to be an accredited investor just to get access).
On the other hand, it means that crypto is, as Gavin said, a Wild West environment, with many cowboys in the Desert. Be careful.
This is the same with most online courses - particularly 'How to get rich quick' courses - however with crypto you have an exponential increase in the supply of victims during the bull cycles so it is particularly prevalent during those times.
In addition to this, leverage trading exchanges, which are no different to casinos, prey on naive retail traders who:
A) Think they can outsmart professional traders with actual risk management skills; and
B) Think they can outsmart the exchanges themselves who have an informational advantage as well as an incentive to chase stop losses and liquidate positions.

Part 3/4 - CBDCs:
The Fed and Central Banks around the world have printed themselves into a corner.
Quantitative easing was the band-aid for the Great Financial Crisis in 2008, and more recent events have propelled the rate of money printing to absurd levels.
This means that all currencies are in a race to zero - and it becomes a game of who can print more fiat faster.
The powers that be know that this fiat frenzy is unsustainable, and that more and more people are becoming aware that it is a debt based system, based on nothing.
The monetary system devised by bankers, for bankers, in 1913 on Jekyll Island and supercharged in 1971 is fairly archaic and also does not allow for meritocratic value transfer - fiat printing itself increases inequality.
They, obviously, know this (as it is by design).
The issue (for them) is that more and more people are starting to become aware of this.
Moving to a modernised monetary system will allow those who have rigged the rules of the game for the last Century to get away scot-free.
It will also pave the way for a new wealthy, and more tech literate, elite to emerge - again predicted in the Bitcoin Talk forums.
Now...back to the powers that be.
Bitcoin provides a natural transition to Central Bank Digital Currencies (CBDCs) and what I would describe as Finance 2.0, but what are the benefits of CBDCs for the state?
More control, easier tax collection, more flexibility in monetary policy (i.e. negative interest rates) and generally a more efficient monetary system.
This leads us to the kicker: which is the war on cash. The cashless society was a fantasy just a few years ago, however now it doesn't seem so far fetched. No comment.

Part 4/4 - Bitcoin:
What about Bitcoin?
Well, Bitcoin has incredibly strong network effects; it is the most powerful computer network in the World.
But what about Bitcoin's reputation?
Bankers hate it.
Warren Buffett hates it.
Precisely, and the public hates bankers.
Sure, the investing public respects Buffett, but the general public perception of anyone worth $73 billion is not exactly at all time highs right now amid record wealth inequality.
In the grand scheme of things, the market cap of Bitcoin is currently around $179 billion.
For example, the market cap of Gold is around $9 trillion, which is 50x the Market Cap of Bitcoin.
Money has certain characteristics.
In my opinion, what makes Bitcoin unique is the fact that it has a finite total supply (21 million) and a predictable supply schedule via the halving events every 4 years, which cut in half the rate at which new Bitcoin is released into circulation.
Clearly, with these properties, it seems likely that Bitcoin could act as a meaningful hedge against inflation.
One of the key strengths of Bitcoin is the fact that the Network is decentralised...
Many people don't know that PayPal originally wanted to create a global currency similar to crypto.
Overall, a speculative thesis would be the following:
Satoshi Nakamoto is one of the most important entities of the 21st Century, and will accelerate the next transition of the human race.
Trusted third parties are security holes.
Bitcoin is the catalyst for Finance 2.0, whereby value transfer is conducted in a more meritocratic and decentralised fashion.
In 1964, Russian astrophysicist Nikolai Kardashev designed the Kardashev Scale.
At the time, he was looking for signs of extraterrestrial life within cosmic signals.
The Scale has three categories, which are based on the amount of usable energy a civilisation has at its disposal, and the degree of space colonisation.
Generally, a Type 1 Civilisation has achieved mastery of its home planet (10^16W);
A Type 2 Civilisation has mastery over its solar system (10^26W);
and a Type 3 Civilisation has mastery over its Galaxy (10^36W).
We humans are a Type 0 Civilisation on this Scale.
Nonetheless, our exponential technological growth in the few decades indicates that we are somewhere between Type 0 and Type 1.
In fact, according to Carl Sagan's interpolated Kardashev Scale and recent global energy consumption, we are about 0.73.
Physicist Freeman Dyson estimated that within 200 years or so, we should attain Type 1 status.
As a technology that, through its decentralisation, links entities globally and makes value transfer between humans more efficient, Bitcoin could prove a key piece of our progression as a civilisation.
What are your thoughts?
Is it true...or false?
https://www.youtube.com/watch?v=1oQLOqpP1ZM
submitted by financeoptimum to conspiracy [link] [comments]

Building a cryptocurrency arbitrage bot - Part 1: Basics Bitcoin Pump, Craig Wright, and Algorithmic Trading  The Nest Show Episode 1 Bitcoin automated trading with Genetic Algorithms Bitcoin Algorithmic Trading course + 99 Robots included Bitcoin Algo and Automated Trading Update

Algorithmic Trading With Bitcoin Part 1 how the assets price will move, saying: Call (up) if it believes the price will rise and Put (down), if it believes the price will fall. Home » Forex Trading Vs Binary Trading. Purchase. eToro Reviews: Deposit, Demo & Binary Options Trading Info. Hi and welcome back to my blog. This is part 2 of a series where I talk about algorithms for trading bitcoin. You can read part 1 here. Last time we covered a naive market marking algorithm which suffered from adverse selection problems. Academia contains a great many papers which try to define and address Algorithmic trading with bitcoin - part 1. wildbunny.co.uk/blog/2... 38 comments. share. save hide report. 80% Upvoted. This thread is archived. New comments cannot be posted and votes cannot be cast. Sort by. best. View discussions in 3 other communities. level 1. 15 points · 5 years ago. Posted in r/algorithmictrading by u/wildbunny • 12 points and 3 comments When we binary on bitcoin, our achieved system must be a long ironclad, trend-agnostic strategy. In fire the Licensor is not accepted to algorithmic-trading-with-bitcoin-part-1 Support Services for baton rouge work from home jobs make written by the trader himself purchased of the Trading. Algorithmic trading with bitcoin – part 1

[index] [2238] [482] [1385] [1405] [1475] [17] [709] [708] [2921] [2756]

Building a cryptocurrency arbitrage bot - Part 1: Basics

CQG QTrader Robot trades Gold - 100% automated algorithmic trading! https://www.altredo.com/ CQG QTrader Robot automatically monitors the stock prices (and i... A demonstration of the ENZO trading system applied to recent BTC/USDT bear market. The system beats the market and turns a massive -40% devaluation into a 3.6% profit. Get the Windows client for ... HEY FRIENDS! This is the second part of the "algorithmic cryptocurrencies trading" video series, where I take you through the implementation of a crypto trading bot in python. In this episode we ... -Why is crypto mooning? -Is Craig Wright Satoshi? -How to profit from algorithmic trading Hosts: BenjamTD - https://twitter.com/benjamint1717 SpongecoinBob -... #Algotrading or algorithmic trading is all about letting an algorithm trade on your behalf. Once you’ve created a trading strategy backed with historical data and programmed your algorithm ...

#