/btc was created to foster and support free and open Bitcoin discussion, Bitcoin news, and exclusive AMA (Ask Me Anything) interviews from top Bitcoin industry leaders! Bitcoin is the currency of the Internet. A distributed, worldwide, decentralized digital money. Unlike traditional currencies such as dollars, bitcoins are issued and managed without the need for any central authority whatsoever.
This subreddit exists to openly discuss [Litecoin](https://litecoin.org). Read the [comparison](http://litecoin.info/Comparison_between_Litecoin_and_Bitcoin) between Litecoin and Bitcoin.
I've been lurking here for a while and I've never actually posted but one thing I've noticed is that there are people who just straight up bash bitcoin saying this and that and that their other coin is better and blablabla. submitted by
These people don't understand (yet, but they will) that it's not important which coin is better at this stage. It's a fucking revolution against the corrupt banking system that's been going on for centuries, concentrating humanity's wealth within a couple hundred families.
Now isn't the time to be divided in the crypto space, it's time to be UNITED. We are going to be legends in 50 years. The pioneers of a new financial era.
I don't know if bitcoin will always be king but one thing I do know is that decentralized money will take over the fiat system. I've been into stocks for as long as I can remember and I'm now convinced, crypto is the way!
Brothers and sisters, we are all early adopters so let's support one another. Be kind with each other and let's surf this huge wave of positivity and change together. Stay stong and HODL through the storm.
I did it today. On my 47th birthday, I reached $3 million in cash & investments, a paid off house & 2 cars. I have reached my FI target of $100k @ 3.3% SWR. I knew it was going to be close with the markets, payday, and my company's equity coming in today. submitted by
Plan is to FIRE in 3 months. $3 million was a symbolic number, I could have FIREd 2 months ago at $2.95 million and lived pretty much the same life. However, I am getting another ~$70k in equity in 3 months and would like a bit of a buffer especially with the volatile markets. Also, the plan was to take a nice trip to Europe in August - I don't see that happening.
It is crazy, I know of many people who are laid off, working reduced hours, worried about their job or tapping into debt. And I am making plans to quit working.
Cash & short term investments: 25% (increased 10% from equities due to C19)
Employer's Equity: 10%
Equity ETFs: 45% (down 10% - sold in early march, will buy back in later)
Bond ETFs: 10%
Please bring on the flames for timing the market, but I sold early-ish, it helps me sleep at night, and right now I am trying to be more conservative vs. aggressive.
The crypto is a flyer. I bought casino level bitcoin in 2012 at $18, then sold a bunch when it went up to $150. Then bought a bunch more at $1000, and have been selling little bits for a few years. Total investment: $45k, total value sold and still held: $500k. I would like to sell more, but it has a capital gains tax liability, so FIRE with no income next year would help reduce taxes.
About my journey
Grew up middle class. Money was tight from time to time, but I never really saw that.
Part time job when I was 16 for spending cash. Never went into debt. Saved a little.
Went into a good college for STEM, received $8000 total for tuition from family and received a student loan for $1000. Did a few paid internships while in college. Paid off the loan with my first post-school paycheck.
Graduated in the tech industry in 97. Started full time at the last internship. $40k base. Stayed there for 2 more years, increased base by 20%. $48k base. Left (co-worker left and pulled me), for a ~100% increase. $90k base. Stayed there 6 months (dying ship), left for ~10% increase. $100k base. Stayed there for 2 years (all of my managers up to CEO left in 2 weeks), left for a 0% change. $100k base. Stayed there for 1.5 years, was let go, started consulting at +50% (but no benefits). $150k consulting. Consulted for 8 months, left when project was wrapping up for -40% (+10% from previous full time) $110k base. Stayed there for 11 years (company was acquired 3 after years), increased pay by ~20% in 11 years. $133k base. Left for 5% increase. $141k base. Worked there for 6 months (bad fit), left for 5% increase. $150k base. Here now. Making about 4x after 20 years. Did not include any bonus (or not), benefits (health/retirement/etc...) stock options, quality of life, etc..
Canadian ETF / funds I invest in in decreasing amounts.
XGRO VCN VXC VAB VT TDB900 TDB902 TDB909 TDB911 Tangerine Balanced (part of emergency fund) TDB661 CDZ
In this post I will share with you some of the strategies I will use to identify the next market cycle top so I can sell for maximum profits (and of course buy back in later in the subsequent bear market!) In the first part of this post I will discuss the resources I will use and in the second part I will discuss tactics in selling and risk management.
As the bull run begins to drag on and the price of ETH starts getting closer and closer to $10k I will begin to start watching many of the data science charts over at Look into Bitcoin
. This will not be the only source I will use since there are great custom tools on TradingView too as well as more subjective indicators such as friends and family talking crypto and hearing about crypto again in the mainstream media. I’d also like to note that many of the indicators I will be looking at will be Bitcoin focused despite my ETH centred portfolio. Like it or not, this market is still Bitcoin dominated and despite the many proponents of an ETH flippening (myself included), it is quite likely that we will not see it this cycle due to the macro investing environment favouring assets which are good stores of value to weather the uncertainty. Ultimately, Bitcoin has the best store of value meme in crypto and that will be very powerful in the coming years.
I think it is likely that the time for Ethereum or a network like Ethereum with a yielding asset (ETH under ETH 2.0) and a native economy of DeFi, DApps, NFTs and much more will be once all of the stock market uncertainty is over and investors are ready to take on more risk again. I am of course still expecting Ethereum and altcoins to outperform Bitcoin this cycle. However, I think that Bitcoin losing the number 1 spot will be more likely to happen between 2023 and 2030 rather than in the next 2-3 years. I hope I am wrong though.
While most of the indicators on Looking into Bitcoin are useful, I will list the ones I’ll be focusing on the most here:
And finally my favourite, the Golden Ratio Multiplier
. This indicator has been remarkably accurate at predicting tops using the golden ratio (1.6) and the fibonacci sequence (0, 1, 1, 2, 3, 5, 8, 13, 21) multiplied by the 350 day moving average. With each market cycle, the 350 day moving average is multiplied by the next number down in the fibonacci sequence. For example, the 2013 peak only just passed above the 350 day moving average multiplied by 8 and the 2017 bull market just touched the 350 day moving average multiplied by 5. So if this indicator is to work in the next cycle, we can expect the price to slightly exceed 3 times the value of the 350 day moving average. This indicator also worked for Ethereum in the 2017 bull run. While there is no graph for it, on the 13th of January, when ETH hit a peak of $1,419, the 350 day moving average was at $270. $270 multiplied by 5 is $1,350. If you sold at $1,350 you sold incredibly close to the top and I don’t think that any macro traders/long term traders would complain about that timing.
I’d like to note that while indicators like the Golden Ratio Multiplier factors in for less explosive growth each cycle, not all of the above indicators do. So be cautious of this when you think the peak is near as it may be closer than you think. In saying that, there is a lot of luck involved so I should also point out that it also might not be closer than you think. However, it would be better to sell before the peak at say $10,000/BTC as of 2017 than to be left holding all of your crypto when the bear market begins since Bitcoin didn’t spend much time above $10,000/BTC after the $20K peak. Ultimately it is up to you to decide your risk appetite and how well you want to try and time the market. For me, I will definitely be on the conservative side so that I don’t miss the boat completely and hopefully I will be able to sell most of my crypto just before we peak rather than afterwards.
Since timing the top requires a lot of luck, a good method of mitigating the risk is to spread out when you sell. I’m going to share with you my personal strategy but I recommend that you create your own strategy or use this as a basis from which you can use to adjust and tweak it to optimally suit your situation. If you have a large stack, you will probably want to sell early since you might not need such spectacular gains to lock in some life changing money. On the other hand, if you have a smaller stack or if you are younger, you can afford to take more risk and might want to try and time the absolute peak a bit better to get that much closer to making some life changing money. Personally, while my stack isn’t very big in dollar terms, it is a significant % of my net worth and so I don’t have a high risk tolerance with it (at least relative to other people in crypto!) For this reason I will be selling a little bit on the early side.
My plan has three pots of crypto. 20% of my crypto I will hold indefinitely
since I very strongly believe in the long term prospect of ETH and BTC as investments. This way if I time the markets terribly, I will always have some skin in the crypto game. The second pot of crypto is 40% which I will sell on the way up to take some profits and I don’t intend on putting this money back into crypto.
Initially I will be selling very small amounts of this 40% and as the indicators listed above get closer and closer to calling a top, I will sell larger proportions of this crypto. I haven’t set specific target numbers since things change fast in this space and I feel like the best decisions in this case are made in the moment. For example, estimating a market top is hard when it is 2-3 years away, but it is much easier when it is just months or weeks away. Once again, this is just personal preference. Many of you will find that setting targets now makes it easier for you to pull the trigger and take some profits when everyone else is calling $1M BTC while it is at $100K or calling for $100K ETH when the current price might be $10K.
Finally, the last 40% I will sell all at once when I feel like we are at the top
and I am confident that the price will be lower a year on from that point in time. With this 40% I will try and buy back during the bear market
with the help of many of the same indicators I listed above from Look into Bitcoin. I will also use some indicators which I didn’t mention above since some are better designed at identifying market bottoms. My goal is to be able to buy back the number of BTC and ETH I held before I sold anything with this 40% (plus the 20% I didn’t sell). This is a big ask but it is better in life to set hard goals that seem unattainable or unrealistic than it is to set easy goals.
To summarise my portfolio strategy, 20% of my portfolio is an indefinite hold, 40% I will sell on the way up and I do not intend on buying back into crypto with this money so I can avoid being over-exposed to crypto. The last 40% I will use to try and sell the top and buy the bottom.
As a closing note I would like to say that it will be important to be aware of the power of greed and FOMO. Do not under-estimate these emotions and try to remain a grounded and rational investor. Don’t be scared to take profits. I know from experience trading altcoins that it is better to exit a position early and miss out on another 100% price increase than it is to hold through a bear market and take >90% losses. If you go into this bullrun telling yourself you will take profits on the way up, you will have no reason to regret any early sales since you will know that you made a rational trade and not an emotional trade.
I am not aware of a way to change a deposit address (e.g. Bitcoin). submitted by
It is crucial to use a new address for each transaction to maintain some privacy.
Every proper exchange let's you change the deposit address. We need this in the crypto.com app.
It is unjustifiable that there currently is no way to change the deposit address.
CDC, please add this ASAP.
I help my friend transfer crypto every now and then, he was confident he could do this himself and was confused by bitcoin cash’s pretending to be bitcoin so he sent it to the wrong address. Fortunately though it seems to be a segwit wallet with a bitcoin address linked to it which I see on the blockchain. The money was sent to a bitcoin cash wallet and is now on the bitcoin blockchain. If I were to change the public key login to the bitcoin chain, use the same private key and login to the bitcoin information would that be a way to recover the assets? My research has only lead to hypothetical situations and not someone that’s dealt with this before. Please help us. submitted by
Nearly all Extended ITN FUD can be dispelled by understanding the synergy which results from having two horses in the 3rd generation blockchain race. submitted by
Haskell code has the benefit of being safer but is hardeslower to write, while Rust is faster to develop, at the cost of less formal verification.
With only one rigid approach these trade-offs inflict maximum damage, but with two complementary coordinated networks the safe vs fast trade-off is nerfed, allowing maximum value to be capured by the flexible sum of both methods.
FUD #1: "The EITN takes focus away from the Shelley mainnet"
Fact: The EITN increases focus on the Shelley mainnet. Hosk already took pains to make clear there are two seperate (yet coordinated) teams working on each project.
Taking some measure of R&D pressure from Team Haskell and giving it to Team Rust allows more focus on building out Shelley.
FUD #2: "Creating a Cardano Classic makes ADA look bad"
FACT: Yes it would, and the only possible way to prevent such a viable, competitive "Cardano Classic" fork is for IOG and the community to back a cooperative EITN, rather than allow a hostile implementation to emerge and gain traction.
FUD #3: "Making EITN tADA real coins listed on exchanges dilutes the value of real, mainnet ADA, making a mockery of the 45 billion coin emission cap"
FACT: First, see the point already make about how a united IOG/CF/community front supporting the EITN is our best chance of avoiding an actually dilutive Cardano Classic from becoming a real threat.
Second, the model here is that of Bitcoin and Litecoin. Litecoin as the silver to Bitcoin's gold provides tremendous value by allowing things like segwit, Lightning Network, and mimblewimble to be tested in an incentivized and sandboxed off-chain way.
tADA can already be traded OTC, so the way to look at the additional asset serendipitously discovered by the unexpectedly successful ITN experiment is as a spin-off company (EG, Expedia being spun off from Microsoft).
FUD #4: "Newcomers will be confused by two networks"
FACT: Newcomers will always be confused; confusion is in their nature. They wouldn't be newcomers if they weren't confused.
Two Cardano networks gives newcomers the additional opportunity to learn why the decision was made in the breach to preserve and build on the resounding success of the original ITN.
Having more things and nuance to learn about is ultimately to the benefit of newcomers, despite making the initial learning curve barrier to entry slighly steeper and taller.
FUD #5 "The EITN will create bitterness and division"
FACT: Welcome to crypto! Bitcoin has been running on drama, ritual combat, and tribal warfare for 10 years and is stronger than ever. If you are too delicate for intellectual and scholastic battles, please get out of the kitchen before succumbing to heat stroke.
Some arguments are educational while others produce more friction than enlightenment. Spreading FUD about the EITN is an example of the latter, but all conflict helps built anti-fragility so let's welcome it as an opportunity for teachable moments.
FUD #6 "We have to stick to The Plan or else lose credibility"
FACT: The Plan has always been to change The Plan as facts on the ground change and empirical data are derived from actual experience.
Sticking stubbornly to a particular static Plan no matter what, by disregarding the emergent phenomenon of the ITN's greatness, would destroy the flexibility, and thus credibility, of the project.
tldr; keep those Jormungandr pools running fam because we're taking tADA to a whole 'nother level
So i am interested in getting my feet wet with crypto investing, Right off the bat i can say i'm not looking for a get rich quick loophole but instead i want to learn how to invest some of my extra income so down the road in a year or so i can withdraw some type of profits. submitted by
I am going through and researching as much as i possibly can now before i go ahead and start throwing money around but i seem to be having trouble completely grasping the idea of bitcoin. As it stands here is what i have gathered, First i need to buy myself a hardware wallet to use as storage for my keys because the keys are essentially my "bills" and they are what hold the value of my money. Now to go about changing my fiat money into crypto i assume i need to use some sort of exchange such as coinbase to change my fiat money into bitcoin at which point they give me a key that contains the value of my fiat money but in bitcoin instead? and then from there i guess i just hold onto the bitcoin keys and treat it as a "stock" then theoretically years down the road hopefully the value of BTC will have gone up and i can exchange my bitcoin back for fiat money via coinbase and net profit??
This is my very basic understanding of how all of this works so far please correct me where i am wrong!!
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
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
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.
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
. 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
(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