How to Mine Bitcoin Gold - Definitive Guide

How to purchase and exchange your litecoin! (longer read)

This post will show you the best ways to buy litecoins using many different payment methods and exchanges for each method.
Before you start, make sure you have a good litecoin wallet to store your LTC. NEVER store your litecoins on a crypto exchange.

Popular Exchanges

eToro
Coinbase
Coinmama

Buy Litecoin with Credit Card or Debit Card

Let’s dive into some of the exchanges supporting Litecoin credit card purchases.
These exchanges are our favorite ways to buy.

Coinbase

Coinbase is the easiest way to buy litecoins with a credit card.
Coinbase is available in the United States, Canada, Europe, UK, Singapore, and Australia.
The fees will come out to 3.99% per purchase.
Here is a good video that can help walk you through the process of buying on Coinbase, although it’s fairly easy.

Coinmama

Coinmama recently added the ability to buy litecoin directly on the platform. Users from nearly any country in the world can use Coinmama to buy litecoins.
Coinmama has some of the highest limits among credit card exchanges.

BitPanda

BitPanda is based in Austria and is a crypto brokerage service. You can buy using a credit card from most European countries.

CEX.io

CEX.io is based in the UK and is one of the oldest crypto exchanges online.
CEX.io supports litecoin and its users from nearly anywhere in the world can buy litecoin with credit card on the platform.

Buy Litecoin with Bank Account or Bank Transfer

Coinbase

Coinbase is the easiest way to buy litecoins with a bank account or transfer.
Coinbase, like is is for credit cards, is available in the United States, Canada, Europe, UK, Singapore, and Australia.
Coinbase is one of primary exchanges used to buy Litecoins.
Americans can use ACH transfer (5–7 days wait), and Europeans can use SEPA transfer (1–3 days wait).
The fees will come out to 1.49% per purchase.

BitPanda

BitPanda is based in Austria and is a crypto brokerage service. You can buy using SEPA transfer from most European countries. You can also use SOFORT, NETELLER, or GiroPay.

CEX.io

CEX.io also supports litecoin buys via bank account. This is via wire transfer for US citizens, SEPA for Europe, and SWIFT for the rest of the globe.

Binance

Binance is now one of the largest if not the largest cryptocurrency exchange in the world. It supports bank and card purchases of Litecoin as well as Litecoin trading pairs with Bitcoin and Etehreum.

Get a Litecoin Wallet

Before we move onto other options:
Never store your litecoins on an exchange!
Always withdrawal your litecoin to an offline cryptocurrency wallet like the Ledger Nano S or any other wallet that you control.
The Ledger Nano S and TREZOR are the best options for secure storage.

Other Methods to Buy Litecoin

If you don’t have a card or want to avoid the high fees, you can use the following methods to buy Litecoin as well.
Find out which one works best for you.

Buy Litecoin with PayPal

Unfortunately, there is no easy way to buy Litecoin with PayPal. Other sites will tell you that cex allows for this, but that is no longer the case.
You can, however, now use eToro to buy Litecoin, unless you live in the United States.
If you live in the US, the only way to buy Litecoin with Paypal is to buy Bitcoin using paypal, and then use the Bitcoins to buy Litecoin. You can easily buy Bitcoin using Paypal on Local Bitcoins. Once you have Bitcoin, you can use an exchange like Coinbase Pro to swap the Bitcoin for Litecoin.

Buy Litecoin with Cash

There is no good way to buy litecoins with cash. LocalBitcoins is the most popular way to buy bitcoins with cash, and it does not have Litecoin support. Other popular cash to Bitcoin exchanges like BitQuick and Wall of Coins also do not support LTC. So you will have to first buy bitcoins with cash then exchange them for LTC using the method described below.
The same goes for Bitcoin ATMs. Most do not support Litecoin. So if you want to buy litecoins at a Bitcoin ATM you first have to buy bitcoins and then trade the BTC for litecoins.

Buy Litecoin with Bitcoin

If you already have Bitcoins then it is VERY simple to convert some of your BTC to litecoins.
You just need to find an exchange with the LTC/BTC pair, which is most exchanges since LTC/BTC is a very popular pair to trade.

Buy Litecoin with Skrill

BitPanda, mentioned above, also accepts Skrill payments for LTC. The fees will vary and are simply included in your buy price.

Cryptmixer

Cryptmixer is probably the fastest way to convert BTC to Litecoin. You just enter the amount of LTC you want to buy, and give them a LTC address. Then they will tell you how much BTC to send to their address. Once your BTC is sent, you will have LTC delivered to your wallet very shortly after.

Buy Litecoin with Ethereum

Ethereum has experienced a massive price rise. Nearly a year ago it was $10, and now at over $500, many want to move some of their ETH gains into other coins like Litecoin.
Litecoin has very good liquidity, and is very popular among traders especially in China.
So this guide is going to show you how to buy litecoins with Ethereum. We will show some of the best exchanges you can use, and the pros and cons of using different types of exchanges over the other.

Cryptmixer

Cryptmixer is one of the most unique exchanges, and also one of the fastest ways to convert your ETH to LTC.
With Cryptmixer you do not even need to store your money with the exchange, meaning you are at very little risk of getting your funds stolen.
With Cryptmixer you simply specify the amount of LTC you want to buy, and specific the address to where your litecoins should be sent and within 30 minutes you will have LTC delivered to your wallet.

Poloniex

Poloniex is the world’s largest altcoin exchange. However, there is a huge downside to using Poloniex to convert your ETH to LTC:
Poloniex does not have a LTC/ETH market, meaning you have to first trade your ETH to BTC, and then trade your BTC for LTC.
While this method works, you will have to make multiple trades and also pay fees twice.

ShapeShift

Shapeshift is basically the same as Cryptmixer, and was actually the first company to come up with the concept of an exchange that does not hold your own funds.

Frequently Asked Questions About Buying Litecoin

Many of you may still have lots of questions about how to buy Litecoin.
Odds are we have answered almost any question you could think of below.
We will aim to answer many of the most common questions relating to buying Litecoin.

Why are there limited options to buying Litecoin using other altcoins?

The issue in all crypto markets is liquidity. As the space gets bigger, the liquidity also gets better. But as of now, the only VERY liquid cryptocurrency is Bitcoin. So exchanging two altcoins between each other is often harder than if BTC was involved on one side of the trade.

How much is a Litecoin worth?

Like all currencies, the value of Litecoin changes every second. The value of Litecoin also depends on the country you are in and the exchange you are trading on. You can find the most up to date price on Coinbase.

How do I buy Ripple (XRP) with Litecoin?

The best way to buy Ripple using Litecoin is to either use a non KYC exchange like Cryptmixer or start an account on Binance or Coinbase Pro and sell your Litecoin for Ripple. Look for LTC/XRP trading pairs, and make your trade.

How long does Litecoin take to confirm?

Litecoin blocks are added ever 2 and a half minutes. That means you should get one confirmation every two and a half minutes. This can vary if it takes miners longer to discover a block, but the difficulty of the finding a block should change proportionate to the hashing power on the network so that a block gets added approximately every 2.5 minutes.
If you are trying to send money to a merchant, they may require more than one confirmation before they send you products. If you are depositing on an exchange, they may also require three or more confirmations before they credit your account.

How many Litoshis make one Litecoin?

one hundred million (100,000,000) Litoshis make one (1) Litecoin.

Where do I store Litecoin?

The best place to store litecoin is on a hardware wallet. You can find the best one for you on our page dedicated to hardware wallets.

When is the Litecoin halving?

The expected date of the next Litecoin block reward halving is August 7th, 2023.

Why can litecoin take so long to buy?

Litecoin can take long to buy because the legacy banking system is very slow. If you are buying with another cryptocurrency, you will see how fast it is to buy!
Bank transfer in the USA, for example, take about 5 days to complete. So any purchase of Litecoin made with a US bank transfer will take a minimum of 5 days.

How do I buy Litecoin with Paypal?

Unfortunately, there is no easy way to buy Litcoin with PayPal. Other sites will tell you that cex allows for this, but that is no longer the case.
You can, however, now use eToro to buy Litcoineum, unless you live in the United States.
If you live in the US, the only way to buy Litcoin with Paypal is to buy Bitcoin using paypal, and then use the Bitcoins to buy Litcoin. You can easily buy Bitcoin using Paypal on Local Bitcoins. Once you have Bitcoin, you can use an exchange like Cryptmixer to swap the Bitcoin for Litcoin.

Can you buy partial litecoins?

Yes, litecoin, like Bitcoin, is divisible to many decimal places so you can buy 0.1 LTC, 0.001 LTC, etc.

Can you sell litecoin?

Yes, you can sell LTC on most of the exchanges mentioned above. The fees, speed, and privacy is the same in most cases.

Can anyone buy litecoins?

Anyone is free to buy litecoins, as long as you find an exchange that supports your country. Most cryptocurrency wallets do not require ID to sign up so you can always make a wallet and get paid in litecoin, too.

Which payment method is best to use?

For speed, credit card will likely be fastest. For larger amounts, bank transfer is best. For privacy, it’s best to buy bitcoins with cash and then trade for litecoins using Cryptmixer or Shapeshift.

Is it better to mine or buy litecoins?

If you have cheap electricity, it might be worth it to mine litecoins. If you have solar power or just want to mine for fun then it could be worth it. Otherwise, it’s probably better just to buy.
Mining is constantly changing and small changes in Litecoin price or electricity can greatly affect your profitability.

What should I do with my litecoins once I buy?

You should immediately move your litecoins into a secure wallet. You should never leave your litecoins on an exchange. There have been countless hacks in cryptocurrency since Bitcoin was created in 2009. Hundreds of thousands of people have lost money. So buy your litecoins, and then instantly send them into a wallet you control so you are not at risk of losing money to a hack or scam.
submitted by MonishaNuij to MonMonCrypto [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]

CZ from Binance actually considered rolling back BTC chain to recover funds. What?!?

CZ from Binance actually considered rolling back BTC chain to recover funds. What?!? submitted by ev1501 to ethtrader [link] [comments]

Why i’m bullish on Zilliqa (long read)

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, analysed 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, decentralised and scalable in my opinion.
 
Below I post my analysis 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 end of January 2019 with daily transaction rate growing continuously. About a week ago mainnet reached 5 million transactions, 500.000+ addresses in total along with 2400 nodes keeping the network decentralised and secure. Circulating supply is nearing 11 billion and currently only mining rewards are left. Maximum supply is 21 billion with annual inflation being 7.13% currently and will only decrease with time.
 
Zilliqa realised early on that the usage of public cryptocurrencies and smart contracts were increasing but decentralised, 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 amount of nodes. More nodes = higher transaction throughput and increased decentralisation. 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 disecting 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 synchronise 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, decentralised and scalable being low.
 
pBFT stands for practical Byzantine Fault Tolerance and is an optimisation 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 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 decentralisation.
 
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 (centralised 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 their 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% translates 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 decentralised too, Zilliqa qualifies for the label of decentralised 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. 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, R&D roadmap 2020 and afterwards a proper Scilla introduction.
 
Generalised: programming languages can be divided into being ‘object oriented’ or ‘functional’. Here is an ELI5 given by software development academy: > “all programmes have two basic components, data – what the programme knows – and behaviour – what the programme can do with that data. So object-oriented programming states that combining data and related behaviours 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 behaviour 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 recognised 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 safety 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 for 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 organisations 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 suggest that Singapore tries to position itself as (one of) the leading blockchain hubs in the world.
 
Zilliqa seems to already taking 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 build 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 dont 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 initiatives (correct me if I’m wrong though). This suggest 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 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]

AMA Recap of CEO and Co-founder of Chromia, Henrik Hjelte in the @binancenigeria Telegram group on 03/05/2020.

Moh (Binance Angel)🇳🇬,
Please join me to welcome, “CHROMIA CEO & Co-founder, Henrik Hjelte” and “ CMO, Serge lubkin”
Oh, before we proceed, kindly introduce yourselves and tell us a bit about your roles at Chromia u/sergelubkin & u/henrik_hjelte.
Henrik Hjelte,
Ok, I’m Henrik, I’m CEO of ChromaWay that crated the Chromia project. My background is a bit mixed: developer for 30+ years (since 80: s), but I studied other things at university (economics, politics, social sciences philosophy). Life is more than computer you know… I worked with FInance/IT then started a web startup and got to know Alex Mizrahi who worked as a developer….
Web startup didn’t fly, but Alex showed me bitcoin. When I finally read the whitepaper I was blown away, and joined Alex colored-coins project, the first open source protocol to issue tokens. in 2013.
So, we started with open-source tokens (that kickstarted the blockchain industry. Then started company together 2014.
That is a long intro, I’ll shut up now… Thanks….
Serge,
I’m Serge, I’m assisting Henrik today and I work with Chromia marketing team as well as on some business development projects
Moh (Binance Angel)🇳🇬, , Question No 1 :
Kindly describe the CHROMIA project and what it aims to achieve?
Henrik Hjelte,
Chromia is a new public blockchain based on the idea of integrating traditional databases, Relational databases with blockchain security. Chromia is a general purpose blockchain with full smart contract capabilities, just that it is a lot easier to code, even complex applications. You code with an easy to learn new programming language that combines the power of SQL and normal languages but makes it secure in a blockchain context. Up to 1/10 the code-lines vs other blockchains. There is a blog post about it, I’ll share later. On lines of code.
The aim of Chromia is to combine relational databases, which exist in every kind of organization, together using blockchains. We want to provide a platform for our users to develop totally decentralized apps securely. Our goal is for Chromia to be seen as the number one infrastructure for decentralized applications.
https://blog.chromia.com/reasons-for-rell-compactness/
Moh (Binance Angel)🇳🇬,Question No 2:
What inspired the CHROMIA Core team to pick interest in CHROMIA project? what breakthrough have you achieved so far? what are the present challenges you’re facing and how are you planning to overcome them?
Henrik Hjelte,
We started with public blockchains, tokens in 2012, the world’s first stable coin with a bank 2015 (LHV). When coding that solution, peer to peer payments of Euro-tokens, we discovered we need performance reasons to store all data in a database. We needed to quickly know the “balance” of a user, and can’t loop through a blockchain. And slowly the idea grew that we can make the database INTO a blockchain, integrate completely with the transaction mechanism of a database. So, we did it as a private blockchain first (Postchain), used it for some projects, then came up with the idea to make a Public Blockchain based on it.
The motivation is that we felt we needed a better programming model for blockchains. Our CTO Alex has always been thinking of optimal solutions for blockchain technology and has lots of experiences thinking about it. Also: make real-world useful things. For example, we support free-to-play models since users do not need to own “our” token to USE apps, the application itself (often the developer) pays for hosting. And of course, great performance. Also: more knowledge of who runs nodes and risk level. So, it is more suitable for enterprises.
In Chromia the application (at the start the developer) decides Who should be allowed to run its own blockchain (every dapp has its own blockchain). You can also say on a higher level that we want to provide technology to create “Public applications”, a tool
that enables us to create a fairer world.
https://blog.chromia.com/towards-publicly-hosted-applications/
Moh (Binance Angel)🇳🇬, Question No 3 :
Why did you create your own blockchain instead of leveraging on existing and proven base layer protocol?
Henrik Hjelte,
None of the existing protocols are suitable to support large-scale, mainstream applications. We designed Chromia to give our users exactly what they want; fast support, useful features, with an affordable service cost. Other platforms do not have the ability to host data applications in a decentralized and secure way, as Chromia can. Chromia also has its own bespoke programming language that sets it apart from SQL-based platforms. It’s so easy to use, even non-developers can understand it!
The other big difference with Chromia concerns payments. Chromia gives its users freedom from having to pay for each transaction. With Chromia, you have the flexibility to decide how to set fees for your dapp
And when it comes to “proven base layer protocols”: they are just a few years at max. Chromia is built on top of Postgresql, that has been used in enterprises for decades, a really proven technology. And the Java virtual machine on top of that. This is proven tech, at core.
Moh (Binance Angel)🇳🇬, Question No 4 :
What is Postchain?
Henrik Hjelte,
Postchain is an open-source product of ChromaWay for enterprise clients and it’s the core technology on which Chromia is built.
Postchain is a replicated blockchain and database that offers highly resilient distributed database management with distributed control.
Postchain is the only product on the market that combines the immutable consensus of a blockchain and the properties of a real database management system (You know, the tech that built SAP, Facebook, Banks…) …
Postchain allows you to share information between companies and/or individuals in a secure and transparent way.
That is the low-level base of Chromia you can say
Moh (Binance Angel)🇳🇬,
Can you please name some of your clients that are using this service already?
Serge,
You mean products built on Postchain? Also, Stockholm Green Digital Finance, Green Assets Wallet that’s now functioning on Chromia Bootstrap Mainnet.
Big financial institutions
It’s only a beginning of course, but very promising one. https://greenassetswallet.org/news/2019/12/12/launch-of-the-green-assets-wallet
Henrik Hjelte,
We got a lot of attention with the Swedish Land registry; we did a joint project between them and banks and a telco etc on postchain as base.
Then, right now we do a large project with the Inter-American Development bank also about land-registration (processes) in South America.
We had a client, Stockholm Green Digital Finance, that did a system for green bonds (tracking environmental impact. Yes, as Sege says, it was later moved to Chromia…
Which is cool. Also, another external development company did that phase of the project, proving that other can build on our tech,4irelabs from Ukraine is their name. Some companies using the GAW: Blackrock. SEB Bank etc…
Also, we have done more projects, in Australia, asia etc. Oh Daimler too (the Mercedes company) …
Moh (Binance Angel)🇳🇬,
Lots of enterprise clients you’ve got. No wonder I do see the meme “CHR=ETH KILLER”
Serge,
It’s a meme from our supporters. But we believe we can coexist:)
For some niche things eth is good :)
So, no killing :D
Henrik Hjelte,
We want to work with partners too for this, we can’t do all projects ourselves. Also, for Chromia projects, ChromaWay company can help do support maintenance etc. So, it is not competing, it adds value to the ecosystem.
Yeah ETH is good too, for some applications. We are friends with them from colored-coin times.
And colored-coins inspired ETH, and ETH inspires us.
Moh (Binance Angel)🇳🇬, Question No 5 :
Lastly, CHROMIA is already doing very well in terms of business. You just got listed on BINANCE JEX, you are on-boarding new clients and dishing out new features. But what’s next? Is there anything to be excited about?
Henrik Hjelte,
Plans for 2020 are to both release a series of dapps to showcase how fantastic Chromia is, as well as continue to develop the platform. And when it is secure and good enough, we will release the mainnet.
Dapps are now being made by us as well as others. We do a decentralized social network framework called Chromunity, now released to TestNet. It is really cool, users can vote over moderators, and in the future users might even govern the complete application, how it can be updated. This is a great showcase for Chromia and why we use the slogan Power to the Public.
https://testnet.chromunity.com/
Games coming are:
Mines of Dalarnia (by Workinman Interactive). An action game in a mine with blockchain rental of plots and stuff. Already on TestNet and you can take a peek on it at https://www.minesofdalarnia.com
more coming…
Krystopia 2, novas journey. A puzzle game done by Antler Interactive. Could only find trailer though: https://www.youtube.com/watch?v=-G95-Dw3kI4
However, we have even larger ambitions with blockchain gaming…
We are doing A secret demo-project that we do together with Antler to showcase the technical potential of Chromia platform.
Another exciting relase is an indie game Chain of Alliance, done by two external developers. It is a strategy game with full-logic on blockchain. Public release on TestNet on May 22!
More coming in 2020: Other dapps from other companies, one in impact-tech.
That is a serious app, Chromia also works outside gaming and social media for enterprises and startups
And I hope some of you will do something, we want to support dapps on the platform so reach out to us…
Moh (Binance Angel)🇳🇬,
When can we be expecting the mainnet? Any approximate time? I’m sure the community will really excited to have that info
Serge,
It’s now in Bootstap phase, so it’s technically already functioning. MVP will be very soon
Stay tuned;)
Twitter questions Vs answers
Ellkayy,
What’s the unique thing in Chromia that no other blockchain has, that makes you the better option?
Henrik Hjelte,
Unique: Chromia is the only blockchain that also has a real, proper database built-in. And blockchain is about managing data in a shared context. How to best managed data was solved in computer science already. So far, it is the relational algebra model that is used in 100% of all enterprises, and has an 85% market share. Chromia is the only blockchain that use that model and that power.
Ellkayy,
Why Chromia use RELL and not SQL or JavaScript? Can developers with other language knowledge use Chromia?
Serge,
Rell is the only language on the blockchain side. You can combine with anything on client-side, although now client only exists for JS/TS, C# and Java/Kotlin. Rell is a language for relational blockchain programming. It combines the following features:
1 Relational data modeling and queries similar to SQL. People familiar with SQL should feel at home once they learn the new syntax.
2 Normal programming constructs: variables, loops, functions, collections, etc.
3 Constructs which specifically target application backends and, in particular, blockchain-style programming including request routing, authorization, etc.
Rell aims to make programming as convenient and simple as possible. It minimizes boilerplate and repetition. At the same time, as a static type system it can detect and prevent many kinds of defects prior to run-time.
Roshan DV,
I have been monitoring your project for a while but some concerns about it: Your project will build your own core network, so you have more visibility than Ethereum and NEO. These are projects that were born before and which also have a very large community. And what can assure you that your project will guarantee the functionalities that you have defined?
Henrik Hjelte,
What came first? I want to remind that Vitalik was in the colored-coins project, led by our CTO and we had blockchain in production before ETH and NEO etc existed. We are the old dogs…
Large community: We are part of the same community. When developers are fustrated and want to try new tech, they go to us from other blockchains.
Also, we have a large potential: SQL (close to Rell and our tech) is the world top 3 language. Bigger than Java. Bigger than PHP. Only beaten bny HTML and javascript. Soliditiy is not on top 20 list. THere are millions of developers that know SQL. That is potential for community… (source is Stackoverflow annual programming survey).
Paul (Via Manage),
What are the utilities of Chromia and what purpose does the Chromia coin serve?
Serge,
Chromia meta-token called Chroma (CHR). It is used in Chromia to compensate block-producing nodes by fees. In Chromia, fees are paid by dapps, which can in their turn collect fees from users. Chromia provides mechanisms which balance the interests of developers and users. Dapp tokens can be automatically backed with Chroma, providing liquidity and value which is independent of investment into the dapp. Dapp investors can be compensated in Chroma through a profit-sharing contract. For developers, Chromia offers the opportunity to derive income from dapps. This incentivises the creation and maintenance of high quality dapps because better dapps generate more income and create more demand for tokens owned by the developer. The Chromia model is designed to support sustainable circular economies and foster a mutually beneficial relationship between developers, users, and investors.
Idemudia Isaac,
Thank you very much u/henrik_hjelte u/sergelubkin
You stated your plans for 2020 is to release series of dApps. What kind of large scale, mainstream decentralized application and $Chromia products do you think is suitable for the Nigerian environment?
Henrik Hjelte,
Actually, this is why we want to work with partners. We cannot know everything, For African market we have seen of course payments/remittances (but it has fallen out of trend). We would love to do real-estate /land-registration but we understand we need a strong local partner (more than a single person, a real company or organization driving).
●CC● | Elrond 🇵🇭,
What plans do you have to building a vibrant global community around Rell? And how would you go about encouraging/incentivising such ‘Rellists’ around the world to build dApps on Chromia? u/henrik_hjelte u/sergelubkin
Henrik Hjelte,
For developers (I am one too, or used to be) you normally need to prove a few things:
\ That the tech is productive (can I do apps faster?)*
\ That it is better (less bugs, more maintainable?)*
Then the community will come. We see that all the time. Look at web development. React.js came, and developers flooded to it. Not because of marketing on Superbowl, but because it was BETTER. Fewer bugs and easier to do complex webapps.
So, at core: people will come when we showcase the productivity gains, and that is what we need to focus on.
●CC● | Elrond 🇵🇭,
Why do you choose to build Chromia token on ERC20 instead of other blockchain such as BEP2, TRC20…or your own chain while ERC20 platform is very slow and have a case of fee? u/henrik_hjelte u/sergelubkin
Serge,
So far Ethereum has the best infrastructure, it’s the oldest and most reliable network for tokens. It also became the industry standard which exchanges utilize. We will transfer 80% of all erc20 tokens to our Chromia blockchain when it’s ready for that.
Koh,
In your whitepaper it says in the upcoming version of ChromiaWallet that it will be able to function as a Dapp browser for public use. Q) Will it be similar to the Dapp browser on Trust Wallet?
Serge,
It’s live already try it http://vault-testnet.chromia.com/
It’s the wallet and a dapp browser
CHROMIA is SOLID,
Your metamorphosis is a laudable one,surviving different FUD, how have you been able to survive this longest bear market and continue building and developing cos many projects have died out in this time period!
Henrik Hjelte,
You need to know we started a company before ETH existed. There was 0 money in blockchain when we started. I did it becuase it was fun, exciting tech and MAYBE someone would be interested in the thing we made “Tokens”…
We were never in the crazy bull-market, manly observed the crazies from the side. We fundraised for CHR in a dip (they called it bear market). ChromaWay the company also make money from enterprises.
Алекс,
What is SSO?
What makes it important for chromias ecosystem?
Why should we users be attracted to it?’
Serge,
Chromia SSO is perhaps the most important UX improvement that Chromia offers the decentralized world. It revolutionizes the way users interact with dapps. Any dapp requires users to sign transactions, that means they need a private key. Control of the private key is control of any and all dapps or assets associated with it. This means that private keys have an especially stringent set of security requirements in a blockchain context — they control real value, and there is no recourse if they are compromised or lost. https://blog.chromia.com/chromia-sso-the-whys-and-the-whats/
Olufemi Joel,
How do you see the Chromia project developing in 3 to 5 years, both on the commercial level and on the evolution of the company? What are the plans for expansion in different regions? Are you going to outsource the team/skills or keep it centralized and set up offices?
Henrik Hjelte,
I take part of the question. On outsource: we were a distributed team from day one, with co-founders from 3 countries (still living there). We are distributed now, Ukraine, Sweden, Vietnam, Croatia, China are “hubs” then we have individuals too. No big plan, just where we found great developers…
Park Lee, u/henrik_hjelte
You claim CHOROMIA have fast support, useful features with an affordable service cost. That fast and the fees are cheap but can you guarantee stability?
What’s the Algorithms which are used by CHROMIA for that fast? And Can you explain it?
Serge,
We use PBFT protocol with some features of DPOS, this plus sidechains parallelism offers almost unlimited speed and scalability. We also use the feature called anchoring to secure all transactions in batches on Bitcoin blockchain.
Mario Boy,
What are you guys trying to achieve as an end goal? The next Ethereum? Or the next enterprise version of Ethereum? Or something different?
Henrik Hjelte,
The end goal… good question. When we started in 2014 there were no other blockchain companies, so we wanted to do the best blockchain technology in order to enable a decentralized world with more fair applications. And that is what we still do. Technology/software that can enable people to make a fairer world
Erven James Sato,
“STAKING” is one of the STRATEGIES to ATTRACT USERS and ACHIEVE MASS ADOPTION
Does your GREAT PROJECT have plan about Staking?
Serge,
Yes, we announced our staking plans couple of months ago https://blog.chromia.com/on-providers-and-stakes/
We are working with our current partners to make it accessible for general public.
Chizoba,
I often see Chromia and ChromaWay being used interchangeably, what is the relationship between the two?
Henrik Hjelte,
ChromaWay the company started Chromia from code done as postchain. This is normal in open-source development, a company that leads development. But Chromia will be a decentalized network, so ChromaWay will not make direct money out of it more than if we have a role as a Provider (and get payed for hosting). ChromaWay can indirectly make money from optional support and maintenance etc. Also, this, perfectly normal in open-source world.
And it also benefits Chromia that there is a market for support.
A market open for competition.
No special treatment for “ChromaWay”
Enajite,
How to start coding on Chromia?
Henrik Hjelte,
Go to https://rell.chromia.com and follow the tutorial. Enjoy the free time you get compared to other blockchain languages…
●CC● | Elrond 🇵🇭,
Chromia process 500 TPS, these is slow compare to other Blockchains, where we can see now 60K TPS if more capacity require, how can that be? u/henrik_hjelte u/sergelubkin
Serge,
Yes, if you need faster speed you can use parallelism by having multiple blockchains for your dapp. Also, by optimization and better architecture sky is the limit.
Delphino.eth ⟠,
Can we consider Chromia an hybrid? For its mixing of Blockchain and a Database?
Henrik Hjelte,
Yes and no. I want to stress that Chromia is a FULL blockchain. It is not only “inspired”. It is a blockchain AND a database.
I tend to think about Hybrid more in the usecases that you might have as a customer. For example, a bank might want to have some data/transactions private (as a private blockchain) and have another half of the application with public data (on Chromia). So that is a hybrid solution, and Chromia ROCKS in that segment since it is the only blockchain that is complete relational database (what the normal world uses anyway for 85% of all applications)
Example area: “open banking”
Steve bush,
How will Chromia I have any empower Investors, Companies, Developers, Platform Users to
deliver impactful solutions and bring value to people all over the world?
Henrik Hjelte,
In order to make blockchain go big, we need to have users. Users need to be able to use apps with ease. Chromia have features like single-sign on (ease of use), but importantly do not require owning tokens to USE apps.
Also, it needs to be easy to make applications. For example, if you are a student in US and came up with an idea, you want to make an application for your school. Let’s call it “thefacebook”. You code something in PHP and MySQL. DID YOU SEE THAT. SQL. SQL.SQL. It is the same tech that Chromia has but no one else in the blockchain business. SQL rules the world if you look outside the crypto bubble. Google the Oracle head-office… 100% of all enterprises use it… Because it is easy and powerful.
And we even improve on SQL with Rell….
So, compare that with a hacky virtual machine that have a few years…. 😊
August,
“Mines of Dalarnia” is a game that has caught my attention a lot, due to its simplicity and quality. But in the time that I have used it I have not been able to differentiate between the Chromia blockchain of this game and that of the competition? What other games do you have next to develop? I would like to give ideas in those games like a Gamers!
Henrik Hjelte,
We thought about in corona time sports club might want to engage more with their fans digitally. And of course, E-Sports is getting a real momentum as the young generation grows up. Now a bit sad that all games are centralized. My daughter will be sad when (at some day?) they will close down roblox… it happens to all centralized apps eventually… that is what we fix. Power to the Public to control apps and their future. I’ll repost again Alex post. Sorry I like it a lot… https://blog.chromia.com/towards-publicly-hosted-applications/
Bisolar,
Good day Chromia team from a Chromia fan
Can you tell us Chromia’s geographical focus at the moment and the proces it follows for it BUSINESS DEVELOPMENT?
What factors do you consider before identifying NEW MARKETS to enter?
Serge,
Chromia will initially focus on community building in China, Korea, US and Europe. The focus of community growth will gradually expand to other markets as the project gains popularity.
Current community growth strategies of Chromia include:
Chromia blockchain incubator creation to welcome more projects to the Chromia blockchain
Host blockchain gaming conferences, workshops, and meetups to engage with potential users.
Provide online and face-to-face tutorials to engage with dapps developers.
Attract blockchain developers through direct and indirect approach via specialized platforms and communities.
Develop our relations with existing and previous corporate clients, and their partnership networks to participate in their blockchain ventures
Launch Node program to encourage system providers to run nodes on the Chromia blockchain.
Staking program for Chroma (CHR) tokens
Active community engagement via social channels.
Future community growth strategies of Chromia after Mainnet launch include:
Partner with more gaming studios, startups and enterprises
Build local communities with Ambassador Programs.
Partner with external incubator and accelerators to provide blockchain expertise and introduce projects to Chromia ecosystem
Continue organizing hackathons around the world to attract more developers.
Emmanuel,
I want to know the current structure of your roadmap? What is the future roadmap of CHROMIA? Is there any key milestone coming???
Henrik Hjelte,
It is easy to do a roadmap; anyone can make a pape plan. But I think they are used in the wrong way. Software is hard, blockchain is even harder because it NEEDS TO BE SECURE. No MVP releases. We cannot even have roadmap deadlines and skimp on quality. Where we are now though is: Rell language finished so much that developers can write apps and see its magic. We have external devs doing dapps. We have the first phase of mainnet. We have a series of releases coming up. We will release mainnet when it is secure enough, and gradual roll out. I think quite soon, development is going great at the moment, a bit quicker than we though.
Ellkayy,
Why doesn’t Chromia transactions use gas? How do you power transactions then?
Serge,
Main feature of gas in Ethereum is to pay for transactions for miners get rewards. In our scenario Providers get rewards from dapp owners. So dapp owner pays for storing their dapp. It’s like Amazon Web Service model. Then dapp owner can monetize it in its own way.
Ellkayy,
Many developers don’t know RELL, just Solidity and SQL. Is this a barrier or threat to Chromia? Why RELL is better?
Henrik Hjelte,
Very few developers know Solidity. Do a search on github. I referred previously to stackoverflow programming language survey results. https://insights.stackoverflow.com/survey/2019#technology
If you know SQL, you learn Rell in a day.
SQL is the top 3 language here. I’d say there are millions that can easily jump to Rell.
Soldity or other blockchains, not on top 20 list even.
Rell is a hipper, nicer version of SQL that is also a “normal” programming language.
Developers like to learn new things, new languages. Otherwise we would be stuck with PHP, the DOMINANT language. Well, is it still? Seems javascript and react.js and node etc is taking over…
Moh (Binance Angel)🇳🇬,
This brings us to the end of the AMA. It’s been a pleasure being with all of you, THANK YOU. Special shout out to u/sergelubkin and u/henrik_hjelte for honouring us with their presence today❤️
Kindly follow CHROMIA on twitter and join the conversation with their community on Telegram
Twitter: https://twitter.com/Chromia
Telegram: https://t.me/hellochromia
Official Chromia Nigeria Community Channel 🇳🇬 : https://t.me/ChromiaNigeria
Website: www.chromia.com
submitted by dam30 to Teamchromia [link] [comments]

30+ Reasons Why Cryptocurrencies Are Worthless

1)It is possible to change the code through a miner vote or a fork and change the total supply or anything. DASH did it : they reduced the total supply from 84M to 18.9M a few years ago. They could also increase it to 999 Trillions if they wanted to so that millions of DASH are mined every week.

2)You can also fork bitcoin anytime , start over from 0 and claim it's the real bitcoin. (BCH , BSV , BTG , LTC , BCD etc)

3)Why would you pay $10,000 for a digital collectible unit called BTC when you can use BCH or TRX or LTC .. you name it. They work just as fine and cost less. There is no rarity like in gold.

4)Think of any amount you hold in ethereum as a gift card to use smart contracts on the ETH blockchain. Ridiculous. You’d rather hold a wal mart gift card or even simply cash.

5)Private keys may be bruteforced as we speak. Quintillions entries a second. When they’ll have enough bitcoins under control , they could move them all at once instantly.(At least 45,000 ETH have been stolen this way for now through ethereum bandit)SHA 256 is too old , bitcoin is 10 years old , it is not secure enough , quantum computing could potentially break it.

6)And that’s if people don’t find a way to create an infinite amount of coins to sell on exchanges.. it happened with monero , stellar , bitcoin , zcash , zcoin , eos , etc..

proofs :

“Bitcoin , Coindesk : “The Latest Bitcoin Bug Was So Bad, Developers Kept Its Full Details a Secret”an attacker could have actually used it to create new Bitcoin — above the 21 million hard-cap of coin creation — thereby inflating the supply and devaluing current bitcoins.”

Stellar : “Stellar Inflation: Glitch Leads to 2.25 Billion Extra XLM Printed”

Monero : “A bug in the Monero (XMR) wallet software that could enable fake deposits to exchanges has been recently brought to public attention through a Medium post”

Zcoin : Forged coins were created, but not exceeding 1% of the circulating supply. We will release further details on exact numbers when Sigma is released.

EOS : “Hackers Forge Billion EOS Coins to Steal Real Crypto From DEX “

Zcash : “Zcash Team Reveals It Fixed a Catastrophic Coin Counterfeiting Bug” etc..

7)Segwit , and especially Lightning network is a very complex technology and it will inevitably have flaws , bugs , it will be exploited and people will lose money. That alone can cause bitcoin to drop very low levels.

8)Then miners may be losing millions so they will stop mining , blocks may be so slow , almost no transaction will come though , and bitcoin may not have enough time to reach the next difficulty adjustement. This is reffered to as a death spiral. Then every crypto even those with no mining involved may crash hard.

9)Many crypto wallets are unsafe and have already caused people to lose all their investment , including the infamous “parity wallet”.

10)It is NOT trustless. you have to trust the wallet you’re using is not just generating an address controlled by the developper , you have to trust the node the wallet connects to is an honest node , you have to trust a Rogue state or organization with enough computing power will not 51% attack the network. etc..

11)Bitcoin is NOT deflationary. Bitcoins are created every blocks (roughly every 10 minutes) and you wil be dead by the time we reach the 21 million current hard cap.

12)Bitcoin price may artificially be inflated by Tether.

13)It’s an energy waste , an environmental catastrophy.

14)The only usecases are money laundering , tax evasion , gambling , buying on the dark net , evading sanctions and speculation.

15)Governments will ban it if it gets too big , and they have a big incentive to do so , not only for the obscure usecases but also because it threatens the stability of sovereign currencies. Trump could kill bitcoin with one tweet , force fiat exchanges to cease activity.

16)Most cryptos are scams , the rest are just crazy speculative casino investments.

17)It is pyramidal : early adopters intend to profit massively while last comers get crushed. That's not how money works. The overwhelming majority of crypto holders are buying it because they think they will be able to sell it to a higher price later. Money is supposed to be rather stable. That's why the best cryptocurrencies are USDT USDC etc..

18)The very few stores accepting bitcoin always have the real price in the local currency , not in bitcoin. And prices like 0.00456329 BTC are ridiculous !

19)About famous brokers listing bitcoin : they have to meet the demand in order to make money , it doesn't mean they approve it , some even short it (see interactive broker's CEO opinion on bitcoin)

20)People say cash is backed by nothing and losing value slowly , and yes it is very flawed , but there is a whole nation behind it , it's accepted everywhere , you can buy more things with it.

21)Everybody in crypto thinks that there will be a new bullrun and that then , they will sell. But because everybody thinks it will happen , it might not happen. The truth is past performance doesn’t indicate future performance and it is absolutely not guaranteed that there will ever be another bullrun. The markets are unpredictable.

22)Also BTC went from about $0.003 to the price it is today , so don’t think it’s cheap now.

23)There is no recourse if you’re scammed/hacked/made a mistake in the address etc. No chargebacks. But it might be possible to do a rollback (blockchain reorganization) to reverse some transactions. BSV did it.

24)In case of a financial crisis , the speculative assets would crash the most and bitcoin is far from being a non speculative safe heaven ; and governments might ban it to prevent fiat inflation to worsen.

25) Having to write down the private key somewhere or memorize it is a security flaw ! It’s insane to think a system like this will gain mass adoption.

26) The argument saying governments can not ban it because it is decentralized (like they banned drugs) doesn’t work for cryptos. First , drugs are much harder to find and much more expensive and unsafe because of the ban , and people are willing to take the risk because they like it. But if crypto is banned , value will drop too much , and if you can’t sell it for fiat without risking jail , goodluck to find a buyer. Fiat exchanges could close. Banks could terminate every crypto related bank account. And maybe then the mining death spiral would happen and kill all cryptos.

27) Crypto doesn’t exist. It’s like buying air. It’s just virtual collectibles generated by a code. Faguzzi, fugazzi, it’s a whazzie, it’s a whoozie.. it’s a.. fairy dust. It doesn’t exist. It’s never landed. It’s no matter, it’s not on the elemental chart. It… it’s not fucking real!

28) Most brilliant guys have come out and said Bitcoin was a scam or worthless. Including Bill Gates , Warren Buffet , The Wolf Of Wall Street…

29) Inflation is necessary for POW , BTC code will have to be changed to bypass the 21M cap or mining will die ! If BTC code is not changed to allow for miners to be paid reasonably , they will cease mining when the bitcoin block reward gets too low.Even monero understood it ,the code will have to be changed to allow for an infinite bitcoin supply (devaluating all current bitcoins) or the hash will decrease and the security of bitcoin will decrease dramatically and be 51% attacked

30) Don’t mix up blockchain and cryptos. Even blockchain is overrated. But when you hear this or that company is going blockchain , it doesn’t mean they support cryptocurrencies.

31) Craig Wright had a bitcoin mining company with Dave Kleinman (he died) and on january 1 2020 he claims he will be able to access the 1.1M BTC/BCH/BTG from the mining trust. He may or may not dump them on the market , he also said BTC had a fatal flaw and that by 2019 there will be no more BTC.

32) Hacks in cryptos are very common and usually massive. Billions of dollars in crypto have been stolen in the last 6 years. In may 2019 Binance was hacked and lost 7,000 BTC (and it’s far from being the biggest crypto hack).

33) Bitcoin was first. It's an ancient technology. Newer blockchains have privacy, smart contracts, distributed apps and more.Bitcoin is our future? Was the Model T the future of the automobile? (John Mc Afee)

34) IOTA investiguating stolen funds on mainnet. IOTA shuts down the whole network to deal with trinity wallet attack.

35) Compared to bitcoin other cryptos work just as fine and don't waste so much energy.

36 ) Everytime miners disagree on the updates it will create another version of bitcoin : problem of governance and legitimacy.

37) Cryptos are only legitimate if they act as a credit for a redeemable asset like USDT or gold backed coins.


While the native language of the writter is not english , I think you get the point and it doesn't make it any less relevant.
submitted by OverTheRedHills to u/OverTheRedHills [link] [comments]

THE ABILITY TO VENTURE DOWN A WHOLE BUNCH OF RABBIT HOLES IN PARALLEL IS THE ETHEREUM COMMUNITY'S STRENGTH!!!1!

"Where else do you see as many parallel tracks like sharding, PoS, Plasma, generalized state channels, optimistic rollup, ZK rollup, stablecoins, DAOs all happening at the same time?"
Had to share this as the original post was downvoted and many will miss it. Here is Vitalik's response to 12 pages of criticism by "Checkmatey " As posted here Why ETH Won't Sustain a Monetary Premium
vbuterin:
I hear quite often this opinion that having a present 21M limit is really really important, and that Ethereum should adopt it if it wants to stand a chance at getting any SoV status. And yet, when I've asked people in the ethereum community how important it is (I asked this most publicly at the "Controversial Questions" panel at EDCON 2019 in Sydney), the response is typically "eh, not that big a deal". Ethereum people seem to by and large value pragmatism and assign less importance to trying to have commitments that we publicly pretend are infinitely strong (but in reality are quite malleable, as we discovered in the Binance rollback crisis when I was surprised to learn that maximalist ideology now does NOT consider even multi-day reversions of the chain to be violations of "immutability").
And there's a good reason for not publicly committing to no possibility of retreat from a fixed issuance formula, and that reason is this. There is an unavoidable tradeoff between stability of issuance level and stability of security level. This is simple to see. You need to pay miners (or in PoS validators) to secure the chain, and the security level is roughly proportional to how many of those you attract, which is roughly proportional to how well you pay them. Payment to miners/validators equals issuance + transaction fees. Hence, if issuance is zero, the security level depends on the level of transaction fees, which is quite volatile. So if you want a guarantee of security, then you have to admit the possibility that if transaction fees are low during some period of time then you will have issuance. Ethereum does not have less stability than bitcoin; rather, it chooses stability of level of security over stability of issuance, and given how tiny an impact a 0.5% change in issuance will actually have on anyone's fortunes it should be clear that this is the correct choice.
Ultimately, this burning mechanism is of greatest benefit to current ETH holders and is to the detriment of holders and users in the future.
Huh? What is the evidence for this? This was just asserted without any argument backing up the idea that there is a detriment to anyone.
One can only conclude that the monetary policy of Ethereum is relatively fluid and influenced by people rather than code. This uncertainty reflects an un-sound monetary policy (subject to human tampering) and instils a defendable perception of centralised governance.
Given how central fees are to bitcoin's long-term security narrative, and how central (i) block size changes like segwit, and in the future sig compression via schnorr and (ii) layer 2 protocols like LN, are to fee levels, can't you argue that the security policy of Bitcoin is relatively fluid and influenced by people rather than code?
Narratives have shifted from world computer, to unstoppable dAPPS, to token issuance and now to open finance applications.
Shifted? As far as I can tell, narratives were rarely subtracted, mostly new ones added. And that's what you should expect for a general purpose technology.
Furthermore, the ETH 2.0 beacon chain very much resembles Bitcoin by design, handling consensus and global state only with applications and bloat pushed to shards (sidechains or L2+ in Bitcoin’s case).
This author needs to understand the concept of tight coupling to see why shards are not like sidechains. That claim is as incorrect as claiming that the bitcoin block is a sidechain to bitcoin headers.
Whilst the Open finance ecosystem presents impressive technological and engineering successes, there remains a lingering risk of over reliance on third party protocols for value accrual to the ETH token.
Yes, general purpose technology requires at least one application to succeed. We know that. BTW ETH itself being used for payments is also a totally reasonable application, and has not been denounced.
A relatively centralised governance and an unsound monetary policy with signs this will only deteriorate in time.
Once again bare assertion with no evidence. How do we know that the monetary policy and governance will only deteriorate over time when all evidence suggests (i) issuance only going down, not up, and (ii) DAO-like forks becoming more difficult, not less?
Ethereum has historically required more specialised, high performance hardware for the operation of nodes. This is generally a result of a larger scope of transactions and heavier demand on block-space from Turing Completeness.
Actually it's largely because of IO issues, which will be solved by stateless clients.
The author challenges readers to consider how far advanced Bitcoin is in achieving the goals of digital, sound, immutable money whilst Ethereum has ventured down numerous dead end rabbit holes.
THE ABILITY TO VENTURE DOWN A WHOLE BUNCH OF RABBIT HOLES IN PARALLEL IS THE ETHEREUM COMMUNITY'S STRENGTH!!!1! Where else do you see as many parallel tracks like sharding, PoS, Plasma, generalized state channels, optimistic rollup, ZK rollup, stablecoins, DAOs all happening at the same time?
I would even argue that the frame that there must be a single dominant application narrative is one that we should reject; instead, the Ethereum community should be proud of its own great internal diversity.
submitted by c-i-s-c-o to ethereum [link] [comments]

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

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

Generation 0: Satoshi's Broken nSequence Channels

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

Spilman Channels

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

CLTV-protected Spilman Channels

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

Todd Micropayment Networks

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

Poon-Dryja Lightning Network

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

Future

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

Bitcoin Trading Philippines for Beginners Tutorial 2020 ... Bitcoin Halving Bull Run? Binance Launches Bitcoin Mining Pool - BitPay BUSD - Kim Jong Un BTC Stash Bitcoin Might Soon Bitcoin mining of the binance pool #Binancepool #binance ... How To Send Bitcoin From GDAX To Binance For FREE! I Spent $100,000 Building a CRYPTOCURRENCY & BITCOIN ... #614 Binance Hack 7000 Bitcoin BTC gestohlen, Crypto durch Gold gedeckt & Bitmains Mining Power Abs Binance Altcoin Exchange (Lowest Fees + Highest Volume) Bitcoin, Litecoin, Ethereum, Dash How to Deposit Bitcoin To Binance Sinhala Binance Tutorial deutsch - Anleitung zum Kaufen und ...

Here we will take Bitmain Antminer S9 as an example to introduce how to set up the miner and start to mine Bitcoin. What You Need to Know before Using Miners: 1. PSU output power is recommended to be 20% higher than the power consumption of miner; 2. The router or network switch you are using to get connected with miners shall be ones without POE; 3. Miners can only be connected to router or ... So, yes, that’s the purpose of Bitcoin mining — to verify transactions and create new Bitcoin. But if that’s what it does, how does it work? Let’s get into more about Bitcoin mining and answer the question that’s still on all our minds: Another option was ASIC miner. The most affordable models are Innosilicon A9 ZMaster and Antminer Z9 mini by Bitmain. BTG has updated the mining algorithm to Equihash 144,5 at block 536200 at the 3rd of July to prevent the ASIC-mining. Equihash 144.5 is the ASIC resistant algorithm so Bitcoin Gold is mined only with GPU’s at the moment. The best bitcoin miner what i use was able to mine 0.00003 BTC per day with my GPU,when this miner can mine at least 0.5 BTC per day with your CPU,not with GPU. Yes,this is how much power have Bitcoin Mining Software. So yes,you can mine so much bitcoins with this very free bitcoin miner what can be used on your desktop PC or laptop with windows. Binance Coin [BNB] $55.78. Tether [USDT] $1.001. Bitcoin Cash [BCH] $245.46. XRP [XRP] $0.240. Stellar [XLM] $0.095. EOS [EOS] $10.59. TRON [TRK] $2.392. Blog Blog. What do you need to know about Bitcoin mining? What is bitcoin mining, a worldwide phenomenon and has many users, and how is it produced? In our daily life, we make almost all our purchases with credit cards and online. As the ... Daily Free Bitcoin GPU Mining, Cloud Bitcoin Mining Earn, Online Litecoin Mining Win, Best Gpu Mining, Cpu Ethereum Mining, monero mining, Ethereum mining, xrp mining, doge coin mining, eos mining, btc mining, bitcoin miner, crypto miner Le PDG de Binance, Changpeng Zhao (CZ), a confirmé que l'exchange travaillait sur le déploiement prochain de son propre mining pool Bitcoin (BTC). Cette nouvelle arrive 40 jours avant le 3e halving de Bitcoin qui aura lieu à la mi-mai.. Binance se lance dans le mining. Le 1er avril, le média russe Coinlife a révélé le premier les plans de Binance. . Selon ses sources, Binance s'est ... Should You Purchase A Bitmain Antminer S9 Bitcoin Miner In 2019 Or 2020? December 15, 2019 Bitcoin Stock Dividends, France + Bitcoin, Countries Holding Bitcoin & IMF + Stablecoins; November 18, 2019 Bitcoin Ethereum Litecoin Ripple Binance Technical Analysis Chart 6/28/2019 By ChartGuys.com The Blockchain DMiner is a software of Mining and and Trading Bitcoins through Blockchain.com automatically and wisely for the users.BlockchainDMiner is easy to mine and trading. It does not required any extra skills or knowledge The Bot needs some important things which is Netframework 4.0 or above, Windows 7,8,10, Microsoft Edge or (Internet Explorer Should be updated, After having these ... You may want to be a solo Bitcoin Gold miner, taking on all the trouble and getting the full reward. This might not be a very good idea. This might not be a very good idea. You see, you only get something if your machine is the first in the world to solve the hash function, as we have noted before.

[index] [23015] [11667] [23177] [1102] [4923] [10228] [22932] [12064] [15052] [11619]

Bitcoin Trading Philippines for Beginners Tutorial 2020 ...

This is an educational video on bitcoin mining of binance pool and not a financial advice. #Binance #BinancePool #Binance pool If you want to sign up to Bina... A $2000 investment turned into me spending $100,000 dollars building a custom shed for cryptocurrency and Bitcoin mining. Here's the story of Drew Vosk and t... Cardano Shelley Genesis Block arrives! Binance starts Mining Pool. 68k Bitcoin on the move - Duration: 8:07. Crypto Daily Update 663 views. 8:07. BITCOIN ON BILLIONS - Ripple XRP New Job Role ... Binance is an altcoin exchange that has become increasingly popular recently. With their sleek design, low fees, and now high volume; this exchange is one of, if not, the best altcoin trading ... Binance Tutorial deutsch In diesem Video erfährst du wie man auf der Plattform Binance Kryptowährungen handeln kann und gegen Bitcoins kaufen und verkaufen k... CryptoRobert's quick and easy tutorial on how easy it is to send Bitcoin or Ethereum to Binance using GDAX. You read that correctly. ANYONE can use GDAX to quickly fund not just your Binance ... Heute geht's um folgende Themen: Binance gehackt – 7.000 Bitcoin (BTC) gestohlen, Sprott CEO Bullish bzgl. Blockchain gedecktem Gold & Bitmains Mining Power stark gesunken. Blockchain gedecktem ... Learn the basics of Bitcoin Trading in Philippines for beginners. In this video I will show how to Buy and Sell or Trade btc to other altcoins. I will also s... පහසුවෙන් BitCoin සහ වෙනත් Coin ඕනෑම CPU/GPU එකකින් mining කරන හැටි - ًWinMiner Sinhala Guide - Duration: 15:24. Thakshanavediya ... Bitcoin AIR-DROP and Halving - Bitcoin 比特币 Latest News Binance English 16,284 watching Live now How The Economic Machine Works by Ray Dalio - Duration: 31:00.

#