Explaining Byzantine Agreement, Fault Tolerance Blockchain ...

Bitcoin consensus mechanisms explained: Byzantine fault-tolerance

Bitcoin consensus mechanisms explained: Byzantine fault-tolerance submitted by n4bb to CoinPath [link] [comments]

A comprehensive primer on Byzantine Fault Tolerance - contrary to the mainstream belief, Bitcoin technically isn’t really Byzantine fault tolerant, but rather a probabilistic approach

A comprehensive primer on Byzantine Fault Tolerance - contrary to the mainstream belief, Bitcoin technically isn’t really Byzantine fault tolerant, but rather a probabilistic approach submitted by TillAntonio to Bitcoin [link] [comments]

Bitcoin community Byzantine fault tolerance! /r/Bitcoin

Bitcoin community Byzantine fault tolerance! /Bitcoin submitted by cryptoanalyticabot to cryptoall [link] [comments]

A comprehensive primer on Byzantine Fault Tolerance - contrary to the mainstream belief, Bitcoin technically isnt really Byzantine fault tolerant, but rather a probabilistic approach

A comprehensive primer on Byzantine Fault Tolerance - contrary to the mainstream belief, Bitcoin technically isnt really Byzantine fault tolerant, but rather a probabilistic approach submitted by ABitcoinAllBot to BitcoinAll [link] [comments]

Bitcoin community Byzantine fault tolerance! /r/Bitcoin

Bitcoin community Byzantine fault tolerance! /Bitcoin submitted by ABitcoinAllBot to BitcoinAll [link] [comments]

A comprehensive primer on Byzantine Fault Tolerance - contrary to the mainstream belief, Bitcoin technically isnt really Byzantine fault tolerant, but rather a probabilistic approach

A comprehensive primer on Byzantine Fault Tolerance - contrary to the mainstream belief, Bitcoin technically isnt really Byzantine fault tolerant, but rather a probabilistic approach submitted by cryptoanalyticabot to cryptoall [link] [comments]

Scalable Practical Byzantine Fault Tolerance with Short-Lived Signature Schemes: Significantly improve the scalability of PBFT /r/Bitcoin

Scalable Practical Byzantine Fault Tolerance with Short-Lived Signature Schemes: Significantly improve the scalability of PBFT /Bitcoin submitted by ABitcoinAllBot to BitcoinAll [link] [comments]

On Byzantine Fault Tolerance in Blockchain Systems - Crypto Insider - Bitcoin and Blockchain News

On Byzantine Fault Tolerance in Blockchain Systems - Crypto Insider - Bitcoin and Blockchain News submitted by fabwa to Antshares [link] [comments]

Biotech Intellectual Property in the context of Byzantine Fault Tolerance and how Bitcoin can be a solution. Cool read.

Biotech Intellectual Property in the context of Byzantine Fault Tolerance and how Bitcoin can be a solution. Cool read. submitted by ABitcoinAllBot to BitcoinAll [link] [comments]

Biotech Intellectual Property in the context of Byzantine Fault Tolerance and how Bitcoin can be a solution. Cool read.

Biotech Intellectual Property in the context of Byzantine Fault Tolerance and how Bitcoin can be a solution. Cool read. submitted by IamKrychek to Bitcoin [link] [comments]

12-03 21:33 - 'Byzantine Fault Tolerance in Bitcoin' (youtube.com) by /u/tomer-ben-david removed from /r/Bitcoin within 1689-1699min

Byzantine Fault Tolerance in Bitcoin
Go1dfish undelete link
unreddit undelete link
Author: tomer-ben-david
submitted by removalbot to removalbot [link] [comments]

Byzantine Fault Tolerance in Bitcoin

Byzantine Fault Tolerance in Bitcoin submitted by BitcoinAllBot to BitcoinAll [link] [comments]

Byzantine Fault Tolerance in Bitcoin

submitted by tomer-ben-david to programming [link] [comments]

Byzantine Fault Tolerance in Bitcoin

submitted by BitcoinAllBot to BitcoinAllTV [link] [comments]

Byzantine Fault Tolerance in Bitcoin

Byzantine Fault Tolerance in Bitcoin submitted by tomer-ben-david to Bitcoin [link] [comments]

Bitcoin and the Byzantine fault tolerance.

Hi guys, I know you have done videos on Bitcoin and how it works but I still don't understand how it solves the Byzantine fault tolerance problem. Can you please do a video on this?
Thanks
submitted by 2ndEntropy to Khan [link] [comments]

Bitcoin Newcomers FAQ - Please read!

Welcome to the /Bitcoin Sticky FAQ

You've probably been hearing a lot about Bitcoin recently and are wondering what's the big deal? Most of your questions should be answered by the resources below but if you have additional questions feel free to ask them in the comments.
It all started with the release of the release of Satoshi Nakamoto's whitepaper however that will probably go over the head of most readers so we recommend the following videos for a good starting point for understanding how bitcoin works and a little about its long term potential:
Some other great resources include Lopp.net, the Princeton crypto series and James D'Angelo's Bitcoin 101 Blackboard series.
Some excellent writing on Bitcoin's value proposition and future can be found at the Satoshi Nakamoto Institute.
Some Bitcoin statistics can be found here and here. Developer resources can be found here. Peer-reviewed research papers can be found here.
Potential upcoming protocol improvements and scaling resources here and here.
The number of times Bitcoin was declared dead by the media can be found here (LOL!)

Key properties of Bitcoin

Where can I buy bitcoins?

Bitcoin.org and BuyBitcoinWorldwide.com are helpful sites for beginners. You can buy or sell any amount of bitcoin (even just a few dollars worth) and there are several easy methods to purchase bitcoin with cash, credit card or bank transfer. Some of the more popular resources are below, also check out the bitcoinity exchange resources for a larger list of options for purchases.
Here is a listing of local ATMs. If you would like your paycheck automatically converted to bitcoin use Bitwage.
Note: Bitcoins are valued at whatever market price people are willing to pay for them in balancing act of supply vs demand. Unlike traditional markets, bitcoin markets operate 24 hours per day, 365 days per year. Preev is a useful site that that shows how much various denominations of bitcoin are worth in different currencies. Alternatively you can just Google "1 bitcoin in (your local currency)".

Securing your bitcoins

With bitcoin you can "Be your own bank" and personally secure your bitcoins OR you can use third party companies aka "Bitcoin banks" which will hold the bitcoins for you.
Note: For increased security, use Two Factor Authentication (2FA) everywhere it is offered, including email!
2FA requires a second confirmation code to access your account making it much harder for thieves to gain access. Google Authenticator and Authy are the two most popular 2FA services, download links are below. Make sure you create backups of your 2FA codes.
Google Auth Authy OTP Auth
Android Android N/A
iOS iOS iOS

Watch out for scams

As mentioned above, Bitcoin is decentralized, which by definition means there is no official website or Twitter handle or spokesperson or CEO. However, all money attracts thieves. This combination unfortunately results in scammers running official sounding names or pretending to be an authority on YouTube or social media. Many scammers throughout the years have claimed to be the inventor of Bitcoin. Websites like bitcoin(dot)com and the btc subreddit are active scams. Almost all altcoins (shitcoins) are marketed heavily with big promises but are really just designed to separate you from your bitcoin. So be careful: any resource, including all linked in this document, may in the future turn evil. Don't trust, verify. Also as they say in our community "Not your keys, not your coins".

Where can I spend bitcoins?

Check out spendabit or bitcoin directory for millions of merchant options. Also you can spend bitcoin anywhere visa is accepted with bitcoin debit cards such as the CashApp card. Some other useful site are listed below.
Store Product
Gyft Gift cards for hundreds of retailers including Amazon, Target, Walmart, Starbucks, Whole Foods, CVS, Lowes, Home Depot, iTunes, Best Buy, Sears, Kohls, eBay, GameStop, etc.
Spendabit, Overstock and The Bitcoin Directory Retail shopping with millions of results
ShakePay Generate one time use Visa cards in seconds
NewEgg and Dell For all your electronics needs
Bitwa.la, Coinbills, Piixpay, Bitbill.eu, Bylls, Coins.ph, Bitrefill, LivingRoomofSatoshi, Coinsfer, and more Bill payment
Menufy, Takeaway and Thuisbezorgd NL Takeout delivered to your door
Expedia, Cheapair, Destinia, Abitsky, SkyTours, the Travel category on Gyft and 9flats For when you need to get away
Cryptostorm, Mullvad, and PIA VPN services
Namecheap, Porkbun Domain name registration
Stampnik Discounted USPS Priority, Express, First-Class mail postage
Coinmap and AirBitz are helpful to find local businesses accepting bitcoins. A good resource for UK residents is at wheretospendbitcoins.co.uk.
There are also lots of charities which accept bitcoin donations.

Merchant Resources

There are several benefits to accepting bitcoin as a payment option if you are a merchant;
If you are interested in accepting bitcoin as a payment method, there are several options available;

Can I mine bitcoin?

Mining bitcoins can be a fun learning experience, but be aware that you will most likely operate at a loss. Newcomers are often advised to stay away from mining unless they are only interested in it as a hobby similar to folding at home. If you want to learn more about mining you can read more here. Still have mining questions? The crew at /BitcoinMining would be happy to help you out.
If you want to contribute to the bitcoin network by hosting the blockchain and propagating transactions you can run a full node using this setup guide. If you would prefer to keep it simple there are several good options. You can view the global node distribution here.

Earning bitcoins

Just like any other form of money, you can also earn bitcoins by being paid to do a job.
Site Description
WorkingForBitcoins, Bitwage, Cryptogrind, Coinality, Bitgigs, /Jobs4Bitcoins, BitforTip, Rein Project Freelancing
Lolli Earn bitcoin when you shop online!
OpenBazaar, Purse.io, Bitify, /Bitmarket, 21 Market Marketplaces
/GirlsGoneBitcoin NSFW Adult services
A-ads, Coinzilla.io Advertising
You can also earn bitcoins by participating as a market maker on JoinMarket by allowing users to perform CoinJoin transactions with your bitcoins for a small fee (requires you to already have some bitcoins.

Bitcoin-Related Projects

The following is a short list of ongoing projects that might be worth taking a look at if you are interested in current development in the bitcoin space.
Project Description
Lightning Network Second layer scaling
Blockstream, Rootstock and Drivechain Sidechains
Hivemind and Augur Prediction markets
Tierion and Factom Records & Titles on the blockchain
BitMarkets, DropZone, Beaver and Open Bazaar Decentralized markets
JoinMarket and Wasabi Wallet CoinJoin implementation
Coinffeine and Bisq Decentralized bitcoin exchanges
Keybase Identity & Reputation management
Abra Global P2P money transmitter network
Bitcore Open source Bitcoin javascript library

Bitcoin Units

One Bitcoin is quite large (hundreds of £/$/€) so people often deal in smaller units. The most common subunits are listed below:
Unit Symbol Value Info
bitcoin BTC 1 bitcoin one bitcoin is equal to 100 million satoshis
millibitcoin mBTC 1,000 per bitcoin used as default unit in recent Electrum wallet releases
bit bit 1,000,000 per bitcoin colloquial "slang" term for microbitcoin (μBTC)
satoshi sat 100,000,000 per bitcoin smallest unit in bitcoin, named after the inventor
For example, assuming an arbitrary exchange rate of $10000 for one Bitcoin, a $10 meal would equal:
For more information check out the Bitcoin units wiki.
Still have questions? Feel free to ask in the comments below or stick around for our weekly Mentor Monday thread. If you decide to post a question in /Bitcoin, please use the search bar to see if it has been answered before, and remember to follow the community rules outlined on the sidebar to receive a better response. The mods are busy helping manage our community so please do not message them unless you notice problems with the functionality of the subreddit.
Note: This is a community created FAQ. If you notice anything missing from the FAQ or that requires clarification you can edit it here and it will be included in the next revision pending approval.
Welcome to the Bitcoin community and the new decentralized economy!
submitted by BitcoinFan7 to Bitcoin [link] [comments]

What you need to know about Blockchain

What you need to know about Blockchain
Category and version
The Blockchain system is divided into 3 main categories:
Public: Anyone has the right to read and write data on Blockchain. The process of validating transactions on this Blockchain requires thousands or tens of thousands of nodes. Therefore, to attack this Blockchain system is impossible because the cost is quite high. For example: Bitcoin, Ethereum ...
Private: User is only allowed to read data, not write because this belongs to an absolutely trusted third party. This organization may or may not allow users to read data under certain circumstances. The third party has the sole discretion to decide any changes on the Blockchain. Since this is a Private Blockchain, the transaction confirmation time is quite fast because only a small number of devices are required to validate the transaction. For example, Ripple is a Private Blockchain, this system allows 20% of the nodes to be fraudulent and only the remaining 80% to operate stably.
Permissioned: Also known as Consortium, a form of Private but adds a certain number of features, combining "belief" when participating in Public and "absolute trust" when participating in Private. For example: Banks or joint venture financial institutions will use Blockchain for themselves. I believe this site can give you more knowledge: Bitcoin exchange.

https://preview.redd.it/ve887fn2z8t51.jpg?width=960&format=pjpg&auto=webp&s=dce795f360c03db058e78c882781663feafc6080
In the present, Blockchain is divided into 3 versions:
Blockchain 1.0 - Currency and Payment: The main application of this version is cryptocurrency: including currency conversion, remittances and the creation of digital payment systems. This is also the area most familiar to us that sometimes quite a lot of people mistake Bitcoin and Blockchain as one.
Blockchain 2.0 - Finance and Market: Application of financial and banking processing: to scale up Blockchain, bring in financial and market applications. Assets include stocks, checks, debt, title and anything related to an agreement or a contract.
Blockchain 3.0 - Designing and Monitoring Operations: Bringing Blockchain beyond financial borders, and into fields like education, government, health, and the arts. In these areas, there will be multiple types like physical, digital or human in nature.
Blockchain consensus algorithm
The consensus mechanism in Blockchain can be understood as the way that Byzantine generals can reach consensus to win together. The following are common types of consensus mechanisms:
Proof of Work: Common in Bitcoin, Ethereum, Litecoin, Dogecoin, and most cryptocurrencies. Consumes quite a lot of electrical energy.
Proof of Stake: Popular in Decred, Peercoin and in the future, Ethereum and many other cryptocurrencies. More decentralized, less energy consuming and not easily intimidated.
Delegated Proof-of-Stake: Popular in Steemit, EOS, BitShares. Cheap transaction costs; extendable; high energy efficiency. However, there is still a bit of focus because this algorithm selects a trusted person to authorize.
Proof of Authority: This is a centralized model commonly seen in POA.Network, Ethereum Kovan testnet. High performance, good scalability.
Proof-of-Weight: Popular in Algorand, Filecoin. Customizable and good scalability. However, the development process will be a big challenge.
Byzantine Fault Tolerance: Popular in Hyperledger, Stellar, Dispatch, and Ripple. High productivity; low cost; extendable. However, it is still not completely reliable. This algorithm has 2 versions:
Practical Byzantine Fault Tolerance (Anti-fraud consensus / Byzantine General surrounded Blockchain in practice)
Federated Byzantine Agreement (Byzantine Alliance by Consensus)
Directed Acyclic Graphs (Topological Algorithm): Commonly found in Iota (Tangle technology), Hashgraph, Raiblocks / Nano (Block-lattice technology), is a competitor of Blockchain.
Why is Blockchain supported?
The 3 main properties of Blockchain technology that have helped it to achieve a widespread welcome are:
Decentralized (decentralized)
transparent
Invariant
Decentralization
Before Bitcoin and Blockchain came along, we were used to centralized services. Specifically, you have a centralized entity that stores all of the data, and you must interact with this entity to retrieve the requested information.
Another example of a centralized system is banking. They store all your money, and the only way you can use it is through the bank.
The traditional client-server model is a good example of centralization:
What is Blockchain technology?
When you go to Google to search for something, you will send a query to the server and the results will return to you with the relevant information. It's also the simple client-server model.
Although centralized systems have been so familiar to us for many years, they do have some flaws:
submitted by Ill_Preparation_2814 to u/Ill_Preparation_2814 [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]

RiB Newsletter #16 – Secure Enclaves à la Crab

For the last few months we’ve been following new zero-knowledge proof projects in Rust. This month, with Secret Network upgrading their mainnet with secret contracts, it seems like a good opportunity to explore Rust blockchains that are using a completely different privacy-preserving technology: secure enclaves.
Secure enclaves are processes whose environment is protected from inspection by other processes, even the kernel, by special hardware. This protection particularly involves the encryption of a process’s memory. Software that wants to compute in secret can put those computations inside a secure enclave and, if everything works as expected, neither a local user, nor the hosting provider, can snoop on the computations being performed. The most notable implementation of secure enclaves is Intel’s SGX (Secure Guard Extensions).
Secure enclaves are an attractive way to perform private computation primarily because they don’t impose any limitations on what can be computed — code that runs inside SGX is more-or-less just regular x86 code, just running inside a special environment. But depending on SGX for privacy does have some special risks: software that runs in an SGX enclave must be signed (if transitively) by Intel’s own cryptographic keys, which means that Intel must approve of any software running in SGX, that Intel can revoke permission to use SGX, and that there is a risk of the signing keys being compromised; and it’s not obvious that secure enclaves are actually secure, there have already been a number of attacks against SGX. Regardless, as of now, hardware enclaves provide security features that aren’t feasible any other way.
There are two prominent Rust blockchains relying on SGX:
Outside of the blockchain world there are some other Rust projects using SGX, the most notable being:
Whether it’s secure enclaves or zk-SNARKs, Rust blockchains are walking the bleeding edge of privacy tech.
In unrelated RiB news, we recently received two donations,
Thanks so much to our anonymous donors. We don’t often receive donations, so this was a nice surprise! We intend to put all monetary contributions to use funding events or new contributors, and we’ll let you know what we do with the funds when we spend them.

Project Spotlight

Each month we like to shine a light on a notable Rust blockchain project. This month that project is…
Aleo.
Aleo is a zero-knowledge blockchain, with its own zero-knowledge programming language, Leo.
We don’t have a lot to say about it, but we think it looks cool. We hope they blog more.

Interesting Things

News

Blog Posts

Papers

Projects


Read more: https://rustinblockchain.org/newsletters/2020-09-30-secure-enclaves-a-la-crab/
submitted by Aimeedeer to rust [link] [comments]

How does cryptocurrency works?

How does cryptocurrency works?
When we were a much smaller society, people could trade in the community pretty easily, but as the distance in our trade grew, we ended up inventing institutions such as banks, markets, stocks etc. that help us to conduct financial transactions. The currencies we are operating with nowadays are bills or coins, controlled by a centralized authority and tracked by previously mentioned financial institutions. The thing is, having a third party in our money transactions is not always what we wish for. But fortunately, today we have a tool that allows us to make fast and save financial transactions without any middlemen, it has no central authority and it is regulated by math. Sounds cool, right? Cryptocurrency is this tool. It is quite a peculiar system, so let’s take a closer look at it.
by StealthEX

Layers of a crypto-cake

Layer 1: Blockchain

First of all – any cryptocurrency is based on the blockchain. In simple words, blockchain is a kind of a database. It stores information in batches, called blocks that are linked together in a chronological way. As the blockchain is not located in one place but rather on thousands of computers around the globe, the blockchain and the transactions thus are decentralized, they have no head center. The newest blocks of transaction are continuously added on (or changed) to all the previous blocks. That’s how you get a cryptocurrency blockchain.
The technology’s name is a compound of the words “block” and “chain”, as the “blocks” of information are linked together in a “chain”. That’s how crypto security works – the information in the recently created block depends on the previous one. It means that no block can be changed without affecting the others, this system prevents a blockchain from being hacked.
There are 2 kinds of blockchain: private and public. Public, as goes by its name, is publicly available blockchain, whereas private blockchain is permissioned, which only a limited number of people have access to.

Layer 2: Transaction

In fact, everything begins with the intention of someone to complete a transaction. A transaction itself is a file that consists of the sender’s and recipient’s public keys (wallet addresses) and the amount of coins transferred. The sender begins by logging in into his cryptocurrency wallet with the private key – a unique combination of letters and numbers, something you would call a personal password in a bank. Now the transaction is signed and the first step which is called basic public key cryptography is completed.
Then the signed (encrypted) transaction is shared with everyone in the cryptocurrency network, meaning it gets to every other peer. We should mention that the transaction is firstly queued up to be added to the public ledger. Then, when it’s broadcasted to the public ledger, all the computers add a new transaction to a shared list of recent transactions, known as blocks.
Having a ledger forces everyone to “play fair” and reduce the risk of spending extra. The numbers of transactions are publicly available, but the information about senders and receivers is encrypted. Each transaction holds on to a unique set of keys. Whoever owns a set of keys, owns the amount of cryptocurrency associated with those keys (just like whoever owns a bank account owns the money in it). This is how peer-to-peer technology works.

Layer 3: Mining

Now let’s talk about mining. Once confirmed, the transaction is forever captured into the blockchain history**.** The verification of the block is done by Cryptocurrency Miners – they verify and then add blocks to the public ledger. To verify them, miners go down on the road of solving a very difficult math puzzle using powerful software, which is that the computer needs to produce the correct sequence number – “hash” – that is specific to the given block, there is not much chance of finding it. Whoever solves the puzzle first, gets the opportunity to officially add a block of transactions to the ledger and get fresh and new coins as reward. The reward is given in whatever cryptocurrency’s blockchain miners are operating into. For example, BTC originally used to reward miners in 50 BTC, but after the first halving it decreased to 25 BTC, and at present time it is 6.25 BTC. The process of miners competing against each other in order to complete the transactions on the network and get rewarded is known as the Proof-of-Work (PoW) algorithm, which is natural for BTC and many other cryptocurrencies. Also there are another consensus mechanisms: Proof-of-Stake (PoS), Delegated Proof-of-Stake (dPoS), Proof-of-Authority (PoA), Byzantine Fault Tolerance (BFT), Practical Byzantine Fault Tolerance (pBFT), Federated Byzantine Agreement (FBA) and Delegated Byzantine Fault Tolerance (dBFT). Still, all of them are used to facilitate an agreement between network participants.
The way that system works – when many computers try to verify a block – guarantees that no computer is going to monopolize a cryptocurrency market. To ensure the competition stays fair, the puzzle becomes harder as more computers join in. Summing it up, let’s say that mining is responsible for two aspects of the crypto mechanism: producing the proof and allowing more coins to enter circulation.

Types of cryptocurrency

In the virtual currency world there are a bunch of different cryptocurrency types with their own distinctive features.
The first cryptocurrency is, of course, Bitcoin. Bitcoin is the first crypto coin ever created and used. BTC is the most liquid cryptocurrency in the market and has the highest market cap among all the cryptocurrencies.

Altcoins

The term ‘altcoins’ means ‘alternatives’ of Bitcoin. The first altcoin Namecoin was created in 2011 and later on hundreds of them appeared in crypto-world, among them are Ravencoin, Dogecoin, Litecoin, Syscoin etc. Altcoins were initially launched with a purpose to overcome Bitcoin’s weak points and become upgraded substitutes of Bitcoin. Altcoins usually stand an independent blockchain and have their own miners and wallets. Some altcoins actually have boosted features yet none of them gained popularity akin to Bitcoin. More about altcoins in our article.

Tokens

Token is a unit of account that is used to represent the digital balance of an asset. Basically tokens represent an asset or utility that usually are made on another blockchain. Tokens are registered in a database based on blockchain technology, and they are accessed through special applications using electronic signature schemes.
Tokens and cryptocurrencies are not the same thing. Let’s explain it more detailed:
• First of all, unlike cryptocurrencies, tokens can be issued and managed both centralized and decentralized.
• The verification of the token transactions can be conducted both centralized and decentralized, when cryptocurrencies’ verification is only decentralized.
• Tokens do not necessarily run their own blockchain, but for cryptocurrencies having their own blockchain is compulsory.
• Tokens’ prices can be affected by a vast range of factors such as demand and supply, tokens’ additional emission, or binding to other assets. On the other hand, the price of cryptocurrencies is completely regulated by the market.
Tokens can be:
• Utility tokens – something that accesses a user to a product or service and support dApps built on the blockchain.
• Governance tokens – fuel for voting systems executed on the blockchain.
• Transactional tokens – serve as a unit of accounts and used for trading.
• Security tokens – represent legal ownership of an asset, can be used in addition to or in place of a password.
Tokens are usually created through smart contracts and are often adapted to an ICO – initial coin offering, which is a means of crowdfunding. It is much easier to create tokens, that is why they make a majority of coins in existence. Altcoin and token blockchains work on the concept of smart contracts or decentralized applications, where the programmable, self-executing code is ruling the transactions within a blockchain. By the way, the vast majority of tokens were distributed on the Ethereum platform.

Forks

Generally a fork occurs when a protocol code, on which the blockchain is operating, is being changed, modified and updated by developers or users. Due to the changes, the blockchain splits into 2 paths: an old way of doing things and a new way. These changes may happen because: a disagreement between users and creators; a major hack, as it was with Ethereum; developers’ decision to fix errors and add new functionality. The blockchain mainly splits into hard forks and soft forks. Shortly speaking, coin hard forks cannot work with older versions while soft forks still can work with older versions.
Hard fork – after a hard fork, a new version is completely separated from the previous one, there’s no connection between them anymore, although the new version keeps the data of all the previous transactions but now on, each version will have its own transaction history. In order to use the new versions, every node has to upgrade their software. A hard fork requires majority support (or consensus) from coin holders with a connection to the coin network. If enough users don’t update then you will be unable to get a clean upgrade which could lead to a break in the blockchain.
Soft fork – a protocol change, but with backward compatibility. The rules of the network have been changed, but nodes running the old software will still be able to validate transactions, but those updated nodes won’t be able to mine new blocks. So to be used and useful, soft forks require the majority of the network’s hash power. Otherwise, they risk becoming set out and anyway ending up as a hard fork.

Stablecoins

As it comes from the name, stablecoins are price-stabilized that are becoming big in the crypto world. Still enjoying most of the “typical-cryptocurrency” benefits, it is standing out as a fixed and stable coin, not volatile at all. Stablecoins’ values are stabilized by pegging them to other assets such as the US Dollar or gold.
Stablecoins include Tether (USDT), Standard (PAX), Gemini Dollar (GUSD) which are backed by the US Dollar and approved by the New York State Department of Financial Services.

Conclusion

Now that we hacked into cryptocurrency, you probably understand that it is much less mysterious than it first seemed. Nowadays, cryptocurrencies are making the revolution of the financial institution. For example, Bitcoin is currently used in 96 countries and growing, with more than 12,000 transactions per hour. More and more investors are involved, banks and governments realize that these cutting edge technologies are prone to draw their control away. Cryptocurrencies are slowly changing the world and you can choose – either stand beside and observe or become part of history in the making.
And remember if you need to exchange your coins StealthEX is here for you. We provide a selection of more than 300 coins and constantly updating the cryptocurrency list so that our customers will find a suitable option. Our service does not require registration and allows you to remain anonymous. Why don’t you check it out? Just go to StealthEX and follow these easy steps:
✔ Choose the pair and the amount for your exchange. For example BTC to ETH.
✔ Press the “Start exchange” button.
✔ Provide the recipient address to which the coins will be transferred.
✔ Move your cryptocurrency for the exchange.
✔ Receive your coins.
Follow us on Medium, Twitter, Facebook, and Reddit to get StealthEX.io updates and the latest news about the crypto world. For all requests message us via [[email protected]](mailto:[email protected]).
The views and opinions expressed here are solely those of the author. Every investment and trading move involves risk. You should conduct your own research when making a decision.
Original article was posted on https://stealthex.io/blog/2020/09/29/how-does-cryptocurrency-works/
submitted by Stealthex_io to StealthEX [link] [comments]

Binance Dex Clone Script

Binance Dex Clone Script is mainstream crypto to crypto trade sites, for example, Bitcoin, altcoins or ICO tokens, and so on in 2017. They presented their own Binance Coin (BNB), and token based on their Ethereum blockchain.

Binance Dex Clone Script gives fundamental and progressed exchanging to basic and expert dealers

What is Binance DEX?’

Binance Dex Clone Script is a decentralized trade (DEX) running on Binance Chain that permits clients to trade cryptographic money legitimately without the association of the outsider.

Highlights In Binance DEX

The stage permits clients to make their own wallets and hold their own private keys, and the DEX likewise underpins elective programming and equipment wallets and incorporates with the Trust Wallet and the Ledger Nano S.

They utilized an alternate coordinating motor for all requests it discarded the idea of Makers and Takers’ outcomes.

In the Binance DEX, they utilized the Byzantine Fault Tolerance (BFT) and Proof of Stake (PoS) based agreement instrument that includes a progression of qualified merchants.

The binance dex stage used to freeze the tokens and unfreeze quickness.
submitted by 123shelly123verma to u/123shelly123verma [link] [comments]

[CS198.2x Week 1] Byzantine Fault Tolerance Byzantine Attacks/Fault Tolerance In a Nutshell Flexible Byzantine Fault Tolerance Bitcoin einfach erklärt Teil 1 - Der byzantinische Fehler Byzantine Fault Tolerance Authenticated Messages

How does Bitcoin force consensus among Byzantine generals? 2017 November 01, 14:02 h - tags: ruby cryptocurrency bitcoin blockchain . trending; Byzantine Fault Tolerance Bitcoin Ethereum . Byzantine Fault Tolerance Bitcoin . Apr 3, 2018 DTN Staff. twitter. pinterest . google plus ... Byzantinische Fehlertoleranz (Byzantine Fault Tolerance, BFT) meint die Zuverlässigkeit eines fehlertoleranten Computersystems, insbesondere verteilter Systeme, bei denen Komponenten ausfallen können und unvollständige Informationen darüber vorliegen, ob ein solcher Ausfall passiert.Hypothetisch gesehen können Nachrichten in einem solchen System Verlust, Beschädigung, hohe Latenz und ... Byzantine Fault Tolerance (BFT) Mit wenigen Worten, die Byzantine Fault Tolerance (BFT) ist die Eigenschaft eines Systems, das in der Lage ist, der Klasse der Fehler zu widerstehen, die aus dem Problem der byzantinischen Generäle resultieren. Das bedeutet, dass ein BFT-System auch dann weiterarbeiten kann, wenn einige der Knoten ausfallen oder böswillig handeln. Es gibt mehr als eine ... Delegated Byzantine Fault Tolerance is Quite Intriguing. Even though some cryptocurrency enthusiasts feel proof-of-work is the “fairest” distribution system for new currencies, there are quite a few drawbacks associated with this algorithm as well. First of all, it requires a lot of electricity, which is often considered to be wasteful. This is especially true when it comes to Bitcoin ... Byzantine Fault Tolerance in Proof-of-stake protocols An introduction to the basics to make sense of the latest and greatest Casper research Proof-of-stake meets decades old research literature. If you are following the Casper research from the Ethereum Foundation, you will hear a lot of terms like “accountable safety” and “fault tolerance thresholds in an asynchronous timing model.”

[index] [36191] [27526] [4703] [19863] [32742] [7757] [37836] [54] [29652] [39140]

[CS198.2x Week 1] Byzantine Fault Tolerance

Fault Tolerance using Raft explained Part1 Distributed systems Raft vs Paxos MIT Lecture Series - Duration: 1:20:01. CSE Technical Videos 64 views Byzantine Fault Tolerance in Bitcoin - Duration: 11:41. Tomer Ben David Recommended for you. 11:41 [Chillstep] Wayr - Sleeping Forest - Duration: 5:46. MixHound Recommended for you. 5:46 ... Bitcoin and Byzantine Generals Programmer explains - Duration: 23 ... 2001 EECS Colloquium on Practical Byzantine Fault Tolerance - Duration: 55:39. MIT Video Productions 476 views. 55:39 . MOOC ... In this video I tell explain the concept of a Byzantine Attack, I talk about Byzantine Fault Tolerance and possible ways to achieve it. If this video helped ... Byzantine Fault Tolerance Authenticated Messages Nihilist. Loading... Unsubscribe from Nihilist? ... Bitcoin Protocol Explained 1 - Bitcoin paper broken down step by step. - Duration: 29:34 ...

#