This text was translated from Chinese, open following link in Chrome and translate to see all images: https://bihu.com/article/1242138347
EDIT: found an English text with pictures: https://medium.com/@rogerfeng/making-smart-contracts-work-for-business-how-chainlink-zk-snarks-sharding-finally-delivered-8f268af75ca2
Author: Feng Jie translation: Liu Sha
“The highest state of technology is to integrate into the various scenes of everyday life, to fade away from high-tech outerwear and become a part of everyday life.” – Mark Weiser
People in the future will not even think that smart contracts are "innovative." By that time, smart contracts would permeate every aspect of life, and people couldn't even imagine what the era of non-digital currency would look like.
Later historians may divide human business history into two eras, the pre-smart contract era and the post-smart contract era. After all, digital money has brought unprecedented changes to the nature and patterns of business practices in the real world. An anonymous member of the Chainlink community once said: "Smart contracts can change the DNA of the business."
Of course, like all the technological revolutions of the past, smart contracts also need to reach a "tipping point" to truly achieve large-scale applications. So we need to ask ourselves two questions:
- What exactly is this so-called tipping point?
- As of August 2019, have we reached this tipping point?
To reach the tipping point means unlocking the ultimate nirvana of business.
Tipping point We can think about this issue from the perspective of mainstream companies. Imagine what a perfect smart contract platform should look like. What characteristics should this platform have? Or what features must be possessed?
To reach the tipping point, you must establish a public chain with the following four characteristics:
- Privacy protection
- In addition to the cryptocurrency, the transaction can also be settled in mainstream legal currency and comply with the regulatory requirements of financial markets such as ISO 20022.
- Achieve scalability without sacrificing decentralization or security, that is, solving the "impossible triangle problem."
- Connect the external data under the chain, that is, solve the "prophecy problem."
Now that we have Chainlink, zk-snarks and sharding technology, we have reached this tipping point.
Next, let's explore how this ultimate nirvana is actually made. Our discussion will be mainly from the perspective of Ethereum, which is still the top smart contract platform for community size and mainstream applications.
So what about the private chain?
Before delving into it, I want to take the time to solve an unavoidable problem. The mainstream view has always believed that the private chain is a more suitable solution for the enterprise. Therefore, we first dialectically analyze the two advantages and two major drawbacks of the private chain.
- Centralization leads to relatively lower security
It's not surprising that IBM and Maersk's blockchain freight alliances have a hard time finding customers who are willing to join. How can other freight companies be willing to let their biggest competitors (Maersk) verify their trading data? Only madmen dare to do this.
- The staking of the horses occupy the hills:
This problem is even more serious than centralization. John Wolpert, co-founder of the IBM blockchain, wrote an excellent article called Breaking the Barriers to Realize Security: Why Companies Should Embrace the Ethereum Public Chain, which he covered in detail in the article.
If every company builds its own private chain, it will lead to chaos in the mountains. Today's B2B ecosystem is very complex. Imagine the innumerable private chains of the world intertwined to form a huge "spider web." This is not only cost-effective, but also not scalable.
The starting point of the blockchain is to break down barriers instead of building more barriers.
"One day, one of your big buyers called you to ask if you want to join their private chain. You promised. The next day you received a call from the wholesaler to ask you the same question. Then came the supplier, freight. Business, insurance company or even bank, and each company may have several private chains! Finally you have to invest a lot of time and cost to operate dozens of blockchains every day . If there are partners to let you join them at this time The private chain, you might say "Forget it, or fax me the order!" ”—Paul Brody (Ernst & Young)
“Every time you connect two private chains through a system integrator, you have to pay a lot of money .”
- Scalability: With the Ethereum public chain implementing fragmentation technology, this advantage is rapidly shrinking.
- Privacy protection: At this stage, the classification of public chain / private chain is actually not very accurate. The Aztec , Zether, and Nightfall protocols (both based on the zk-snarks protocol) effectively provide a "private chain model" for the Ethereum public chain, allowing it to switch between the public and private chains. Therefore, a more accurate classification should be the alliance chain and the public chain.
By 2020, the label of the public chain/private chain will gradually disappear. The public and private chains will no longer be two opposing concepts. Instead, the concept of publicly traded/private transactions and confidential contracts/open contracts is changed, and the scope of these transactions and contracts varies according to specific needs, either bilaterally or multilaterally or even publicly.
All in all, the private chain has two major drawbacks compared to the public chain. Not only that, but the two major advantages of the private chain are also rapidly disappearing.
“Technology will evolve over time, so there will be a variety of solutions to solve existing problems. Ultimately, the public-chain platform will have the same performance, scalability and data privacy as the private chain, while at the same time ensuring security and Decentralized."
Feature 1: Privacy protection (predictive machine and public chain privacy)
Enigma founder Guy Zyskind once joked in his MIT graduation thesis that smart contracts can only become commercially valuable if they become "confidential contracts." He later proposed that zk-snarks and Trusted Execution Environment (TEE) are the most promising solutions. He said nothing wrong.
What is zk-snarks ? Zk-snarks is a zero-knowledge proof mechanism (ZPK). So what is the zero-knowledge proof mechanism? In short: a zero-knowledge proof mechanism allows you to prove that you own certain information without revealing the content of the information.
Vitalik Buterin explained this concept in detail from a technical point of view in an article published in 2017. Hackernoon also wrote an excellent article explaining the concept in an easy-to-understand way with the example of a five-year-old child and Halloween candy.
What is the trusted execution environment? The trusted execution environment lets the code run on closed hardware, and
1 ) The guarantee result cannot be tampered with
2 ) Protecting absolute privacy, even hardware running code can't get confidential information.
The most well-known trusted execution environment is Intel SGX. Chainlink has established a partnership with Intel SGX after acquiring Tom Crier.
Ernst & Young released the Nightfall agreement on Github on May 31, 2019. A well-known accounting firm with a history of 100 years will choose to add privacy features to the public chain instead of developing a private chain. This is a problem.
Since then, the community has been actively developing on this basis, not only to improve the code, but also to develop a plug-and-play Truffle Box for those who are not good at writing code. Blockchain communities and businesses generally rarely collaborate, so these collaborations fully demonstrate the popularity of Nightfall.
Prior to this, two zk-snark-based Ethereum public chain privacy protocols were introduced, namely AZTEC (Consensys) and Zether (Stanford, JPMorgan Chase). An obvious trend is slowly taking shape.
In the field of oracles, Chainlink uses both zero-knowledge proof and a trusted execution environment to complement each other. Trusted execution environments guarantee data privacy, even for nodes that cannot access data (this feature is critical for bank accounts and API keys).
Chainlink is still trying to implement a trusted execution environment, and nodes can access data temporarily, so authentication services are also needed. Although the credible execution environment is almost 100% foolproof, in theory, a strong shield has a spear that can penetrate it. Therefore, the team is currently trying to run zk-snarks in a trusted execution environment (Thomas Hodges mentioned this in the 2019 Trufflecon Q&A session). The combination of the two can form a very robust and complete system. The attacker must find a way to strip all the layers of an onion at the same time to make any effective attack (and it is already difficult to peel off a layer of skin).
“Chainlink combines a trusted execution environment with zero-knowledge proof to build what we call a defense-in-depth system, which means they provide all the tools needed for smart contract developers, including trusted execution environments, multiple nodes, and Data sources, fine margins, reputation systems, asymmetric encryption, zero-knowledge proofs, WASM, and OTP+RNG, these features allow smart contract developers to adjust the confidentiality and cost of contracts based on specific budget and security needs. Machine, Chainlink and its four major application scenarios》
In the future, zk-snarks may be upgraded to zk-starks (a fully transparent zero-knowledge proof mechanism) that protects the system from quantum computer attacks. And the best thing about zk-starks is that it's more scalable than zk-snarks. In other words, it can better protect privacy, and the cost of gas will not increase.
If you want to learn more about zk-starks, you can read a popular science article written by Adam Luciano.
Feature 2: Scalability (scalability of predictive machines and public chains) To understand this problem, we can make an analogy like this:
A public chain is like a large enterprise, and every employee (ie, a node) must attend each meeting (ie, confirm each transaction). Imagine how inefficient this company is! Only customers who have a lot of money (ie gas fees) can get their requests to the forefront. And this is not the most serious problem. The most serious problem is that the more employees (ie nodes) who join the company, the harder it is for the company to function properly! In the end, the company not only failed to expand linearly, but also became smaller and smaller. Although this guarantees decentralization and security to the greatest extent, the price is completely abandoning scalability.
There are various temporary fire fighting solutions, but no one solution can completely solve this "impossible triangle problem." For example, EOS uses the DPOS mechanism (share authorization certification mechanism), where only 21 super nodes (many of which are well-known nodes) are responsible for verifying all transactions.
Sidechains (such as Bitcoin's Lightning Network and Ethereum's lightning network) guarantee scalability and decentralization at the expense of security.
So how to use the fragmentation technology to solve this problem? Let's make another analogy:
In reality, there is only one company that is not too much to ask everyone to attend all meetings, that is, small start-ups (that is, private chains that limit the number of nodes).
In most cases, large companies divide employees into thousands of teams (ie, shards), and each team's principal (ie, the certifier) is responsible for reporting to the senior management (ie, the main chain). If people from different teams need to collaborate (and sometimes also), then they can collaborate by cross-shard receipts. If a new employee joins the company, the team can be re-segmented (ie re-sharding). This allows for linear expansion.
In fact, the process of developing a start-up to a large enterprise is surprisingly similar to the process of Ethereum 1.0 developing into Ethereum 2.0.
“The Ethereum 1.0 period is that several people who are alone are trying to build a world computer; and Ethereum 2.0 will really develop into a world computer.” Vitalik Buterin said in the first piece of the workshop.
Since Ethereum was not originally built on the principle of fragmentation, it takes seven steps to achieve the goal (this is a bit like the word morphing solitaire game). The first step is planned for January 3, 2020.
At the same time, developers can use many other blockchain platforms designed based on the fragmentation principle. Some platforms, including Zilliqa and Quarkchain, are already compatible with Chainlink.
If you want to see more in-depth technical analysis of shards, check out an article by Ramy Zhang.
In the field of oracles, Chainlink has the following two characteristics:
1 ) Use Schnorr threshold signatures to quickly reach consensus in a cost-effective manner. The next version of the chain only needs 16,000 gas.
2 ) We have previously discussed the need to use trusted execution environment hardware to ensure that nodes cannot access sensitive data. Since you have hardware in your hand, you can use it to do some actual computing work, so that you can properly reduce the amount of computation on the smart contract platform.
"With the SGX system (Town Crier) and zero-knowledge proof technology, the oracle can be truly reliable and confidential, so the boundaries between the oracle and the smart contract are beginning to flow... Our long-term strategy... is to let The predictor becomes the key chain of computing resources used by most smart contracts. We believe that the way to achieve this goal is to perform chain operations in the oracle to meet various computing needs, and then send the results to the smart contract."Chainlink White Paper, Section 6.3 (26 pages)
Of course, this “long-term strategy” has certain risks, unless Chainlink can implement a trusted execution environment and its service provider ecosystem can achieve a qualitative leap. However, the Chainlink team's vision is absolutely forward-looking: under-chain computing is a key factor in ensuring that blockchains are not dragged down by large amounts of IoT data.
The Internet of Things has dramatically increased the current state of big data. At present, most of the data is still generated on the software side, and it is not real-time data, and most of the data in the future will be real-time data generated on the sensor side. One of the big drawbacks of real-time data is that it increases storage pressure. For example, Coughlin Associates expects an unmanned car to generate 1G of data per second. This means that the same car will produce 3.6T data per hour!
The only viable solution is to do real-time analysis of the data, rather than storing the data first. In the Global Cloud Index: 2016-2021 Forecast and Methodology White Paper, Cisco predicts that more than 90% of data in 2021 will be analyzed in real time without storage.
That is to say, the essence of data is that it can only exist in just one instant. The nature of the blockchain is not to be modified, so the two are as incompatible as water and oil.
The solution is to analyze the raw data under the chain, extract the meaningful results and send them to the blockchain. The combination of fragmentation technology and trusted execution environment forms a new computing architecture, similar to the cloud computing-fog computing-edge computing architecture.
It should be noted here that it is good to improve computing power, but this is not the main purpose of the blockchain.
The fundamental purpose of the blockchain is not to reduce the original cost of computing and data storage. After all, technology giants such as Amazon, Microsoft, Google, Salesforce, Tencent, Alibaba, and Dropbox have built world-class cloud services. The centralized server wins high computational efficiency (but the blockchain will greatly improve the computational efficiency through fragmentation technology, and will catch up with it one day). The value of the blockchain is to reduce the cost of building trust. Nick Szabo calls it "social scalability" (this is a relative concept to the "operational" scalability we have been talking about). Vitalik Buterin also made it clear that the meaning of smart contracts is to accept small arithmetic delay penalties in exchange for a substantial reduction in "social costs."
Alex Coventry of the Chainlink team once raised the question: "We have missed many opportunities for cooperation and reciprocity because we can't confirm whether the other party will fulfill the promise?"
Is there any potential for data storage projects like Siacoin and IPFS? What about decentralized computing projects like SONM and Golem?
Siacoin 's core value proposition is not that its computing efficiency is higher than traditional cloud services. The cost of computing is required to split, repeat, and reassemble data. And companies are more capable of buying the latest and greatest hardware than individuals. Siacoin's core value proposition is to process data in an Airbnb-like mode, so management fees will be lower than traditional models. It also generates additional social value, such as flood control, privacy and security, and anti-censorship.
The same is true of Golem and SONM. Even with the most efficient protocol, it is inevitable that a small amount of delay will be imposed and fined to coordinate the hardware of different geographical locations. Therefore, under the condition that all other conditions are equal, the centralized hardware still has the advantage of faster computing speed. However, the core value proposition of the above project is to use the Airbnb-like model to reduce management costs.
We must strictly distinguish between "social scalability" and "operational scalability", and the two cannot be confused. I will explain these two concepts in detail when I discuss "Magic Bus and Lightweight Library" later.
Feature 3: Compatible with legal currency
Most mainstream companies do not regard cryptocurrencies as "real currencies." In addition, even if someone wants to use cryptocurrency for trading, it is very difficult to actually operate because of its high price volatility. I discussed the “price volatility problem” in detail in Chapters 8 and 9 of the previous article. These problems do not completely erase the existence value of cryptocurrencies, because cryptocurrencies also have many advantages that legal currency does not have. I am just emphasizing what we need to know more about the comfort zone of mainstream companies.
Chainlink acts as a universal API connector that triggers open banking payments. Chainlink is fully compliant with ISO 20022 and has established a long-term partnership with SWIFT (it is worth mentioning that SWIFT has not been updated for a long time and hopes to be updated after the SIBOS 2019 conference).
PSD2 will take effect on September 14, 2019. All banks in the EU will all comply with this new regulation by then. In other words, the bank must put all account data in the "front end" and can be called through the API. The approved third party (ie, the Chainlink node) can trigger the payment directly without the payment service provider.
Although the United States and Japan have not adopted similar laws, many banks still spontaneously promote the development of open banks. Banks open APIs to third-party developers to create new revenue streams and customer experiences that ultimately increase profitability. In addition, this will allow banks to better respond to competitors in the mobile payment and financial technology sectors in an APP-centric economic model.
As this open banking revolution continues, Chainlink will connect smart contracts with the world's major currencies (US dollar, euro, yen, etc.).
Only one external adapter is required to connect to the authenticated API. From a programming perspective, it is relatively simple to allow everyone in the community to contribute code to the code base (and thus achieve scalability). Chainlink has released adapters for PayPal and Mister Tango (European version of PayPal).
Feature 4: Data connection with the chain
Chainlink has been working on solving the "prophecy problem" and successfully succeeded on the main online line on May 30, 2019.
Chainlink has made many achievements in just a few months. Provable (formerly Oraclize) was successfully used on the Chainlink node and finally settled the debate about whether the predictor should be centralized or decentralized.
Synthetic Ether lost 37 million Ethercoins in a hack because it did not connect to Chainlink. Fortunately, the money was finally recovered and did not cause any loss. This lesson illustrates the importance of decentralized oracles.
In addition, both Oracle and Google have partnered with Chainlink to monetize their API data and create a virtuous circle to capture the market opportunities that Facebook missed.
There are new nodes coming online every week, and the network activity has been very high. The Chainlink team maintains a list of certified nodes in the documentation and Twitter releases. Twitter user CryptoSponge also set up a new development for the Tableau push update Chainlink team:
Regarding the importance of the current stage in the history of blockchain development, Brad Huston summed it up very brilliantly:
"The biggest problem with cryptocurrencies is to build bridges between cryptocurrencies, fiat currencies and big data. Chainlink is very beautifully narrowing the distance between the three. Now it can even be said: 'The bridge has been built.'"
Magic bus and lightweight library
Let's summarize what we discussed earlier. The real purpose of the blockchain is to reduce the cost of building trust and achieve "social scalability."
Therefore, according to this logic, the main application scenarios of platforms such as Ethereum 2.0 and Zilliqa should be in the B2B field. I quote a sentence I wrote in a previous article:
“My conclusion is: If the smart contract is successful, it will also succeed in the B2B field first.”
The private chain itself is self-contradictory and destined to fail. It has led to the phenomenon of occupying the hills, thus increasing the social cost, which is in opposition to B2B itself, and ultimately it is self-restraint. ”
Before the emergence of fragmentation technology, even simple games (ie, etheric cats) could not be smoothly run on the public chain, let alone dealing with complex B2B contracts and even changing commercial DNA. With the sharding technology, everything is ready.
Despite this, we can't use Ethereum 2.0 as an all-powerful platform. Just now we said that although it is a good thing to speed up the calculation, this is not the real purpose of Ethereum 2.0. And before we also said that due to the irreversible modification of the blockchain, it is not good to deal with a large number of fleeting real-time data of the Internet of Things. In other words, we must be soberly aware that Ethereum 2.0 will not replace traditional web 2.0. Instead, we should make better use of the real advantages of Ethereum 2.0:
“There is a new concept now, that is to think of the Ethereum main network as a global bus... We use the Ethereum 2.0 main network to treat various business resources as a working group on Slack: it can be easily built and integrated. And restructuring. The SAP inventory management system in your company, the dealer's JD Edwards ERP system, and the financial technology partner's tall blockchain system can seamlessly interface, eliminating the need to develop an infrastructure specifically for each partner." - John Wolper describes his ideal "magic bus"
Ethereum 2.0 should be an integration center, not a data center or computing center. It should be a library built specifically to store B2B contract terms (to be honest, even with fragmentation technology, the amount of data is large enough).
We should not expect Ethereum 2.0 to be an all-powerful platform, but rather develop it into a "lightweight library."
If we reorder the pyramid model just now, the architecture of the magic bus is obvious:
Of course, the positional relationship in the above model is not static. With the development of 5G technology, edge computing and IoT sensors, they may bypass the cloud to directly interact (or even bypass the fog end). If the collaboration between Iotex and Chainlink is successful, then the edge can interact directly with the trusted execution environment.
Time will tell if Airbnb's shared data storage and computing model can make management costs lower than the current mainstream Web 2.0 model. Time will also prove whether the market really needs anti-censorship, anti-tampering, security protection and privacy protection. Do users really care about these social values and are willing to pay for them? Do they think these are just the icing on the cake or the most fundamental value?
Whether it is the battle between web2.0 and web3.0 or the battle between cryptocurrency and legal currency, one thing is beyond doubt:
We have reached the tipping point, and the era of smart contracts with commercial value has arrived.
In fact, the only problem at the moment is the time issue, and the main roadblocks have been basically cleared.
- When will Ethereum 2.0 finish these 7 stages and be officially released?
- When will Chainlink use a trusted execution environment on a large scale? If the cooperation between Intel SGX and Town Crier fails, what alternative plans are there? Will Chainlink communicate with other blockchain teams that plan to use a trusted execution environment (such as Dawn Song's Oasis Labs)?
At present, the main technical problems in the ecosystem have been solved, and now it is only necessary to recruit a group of enthusiastic developers to do the work of “connecting the line”.
Digital currency has changed commercial DNA, and the future is full of possibilities.
The only thing that hinders us now is our own imagination. The future is infinitely imaginative, and the future will be the world of developers. Dapps is already overwhelming. There is no doubt that we have found the ultimate nirvana.
This text was translated from Chinese, open following in Chrome and translate to see all images: https://bihu.com/article/1242138347
previous days Question:
the 3 days of devcon are over. Are people interested in reports on the next 3 days of international Blockchain week (demo day + 2 days of global Blockchain summit) http://www.blockchainweek2016.org
The buzz during the day was around the "stick puzzle" that Bok Khoo was giving out to people. It is just a stick, with a loop of string. He gets you to turn away, he uses "the trick" to put it onto your bag and then you try to get it off.
The WeChat channel was just filled with everyone asking where they can get it, and the screaming that they can't figure it out. Only about 5 people reported they were able to solve it (I haven't yet) http://imgur.com/mYfJQP4 http://imgur.com/4Euka1a
I'm biased, but I thought the announcement from Microsoft with the update of cryptlets was a big deal. The morning sessions covered a few different oracle systems, the afternoon had lots of IPFS sessions. Microsoft - A Lap around Cryptlets https://azure.microsoft.com/en-us/blog/cryptletsdd/ https://azure.microsoft.com/en-us/documentation/templates/ethereum-consortium-blockchain-network/ https://azure.microsoft.com/en-us/blog/authomarleyg
Microsoft was a sponsor of Devcon1 & 2 Ethereum is a 1st class citizen Support for community & partners - Bizspark, Meetups, Workshops
Announcing: Bletchley v1 Distributed Ledger stack V1 is a private Ethrerum consortium, that you can spin up for your own enterprise / group http://imgur.com/olwwd36
Cryptlets are being developed to help with security, identity, etc. How do you get trusted external data feeds injected into the Blockchain? Doing things on a specific interval (every 15 mins) When price of something hits a threshold (oil goes above $40/barrel) Secure IP protected algorithms, but still share with blockchain network. Use libraries for common platforms (.Net, Java, etc)
Cryptlets vs Oracle Cryptlets will have a marketplace on Azure that will allow you to purchase and utilise
Use case: Trigger on an event Wake up on 4pm, if market was open that day, then give me the price of gold for that day.Get signature of attested server, attested sender.
Use case: Control Using smart contract like a traditional DB. Declare data you are keeping track of, and the functions/"stored proc" to update that data. Cryptlet runs off chain, and can be scaled up. http://imgur.com/ysgL8S2
Utility cryptlet. Use an attribute in solidity contract with cryptlet details Developer references at design time the cryptlet they want the contract to call Contract cryptlet, deploy the cryptlet at same time as contract.
Why would you want Azure to do this? SGX allows you to create "secure enclaves", can have complete isolation on the hardware chip where it is not modifable. Provides a secure enclave at the CPU level. Can give full attestation right down to the silicon. Will be provided as a enclave container on Azure. Will be released for .NET core CLR first, then other languages. Can create cryptlet libraries that you can scale and put into the Azure marketplace. An ecosystem for developers & ISVs to consume and publish.
Bletchley v1 released today will let you spin up a private consortium. Before today, it took a long time to try and deploy a private consortium (can take weeks to read doco, Now takes 5 minutes to deploy! Creates a private consortium, puts each member in its own separate subnet http://imgur.com/w4yUsqE
Mist Vision and Demo I was too busy sharing the release posts of Microsoft project bletchey v1, missed this talk. It did look interesting, I will watch this one later. Idea: Reward for bandwidth. Providing connection could replace mining as entrance point for desktop computers. Allow you to have a trickle so you can trigger smart contracts. Standardised backends, so that you can swap out the underlying node between geth, blockapps, etc. Web3.js https://github.com/ethereum/web3.js
Etehereum JS API Smart conracts are EVM opcodes, Helps translates calls to JSON RPC calls. Helps do the ABI encoding when sending data from JS to EVM It kept on growing, many different utility functions being thrown in. Is time to clean it up and be refactored.
They are now building a NEW web3.js The communication will be socket based, will enable subscriptions. Everything will be based on promises to subscribe to events, like log events. Bunch of other newer cleaner methods and ways to do things like deploying contracts. Smart contract security
Was a very good postmorteum of The DAO and things that could be done to mitigate it in the future.
An issue with The DAO was trying to do a massive jump from centralisation all the way to full decentralisation. Meant no one could step up and make a decision on how to save it. We need to make smaller steps towards full decentralisation as we learn as a community how to do this. Same security patterns as yesterday's talks: check invarients, beware 1024 call stack depth, reentry exploit (update state BEFORE executing calls), timestamps are manipulatable. Updateable contracts. Who can update it? Community multisig? We need better rools: formal verification, compiler warnings, improved IDEs, trusted libraries, excape hatches
Conclusion: It is still very early days in this space, be careful. A Provably Honest Oracle Model: Auditable Offchain Data Gathering & Computations
Oracalize is the most widely used oracle (until everyone starts using Microsoft Azure cryptlets ;-) ) Contract calls Oracalize contract with the data they want, off chain they see this get the data, Oracalise then trigger their contract externally, which does a callback to your contract with the data. Can use external notary servers. Can get proof from multiple external services to get a higher level of confidence about data (e.g. stock price from a few feeds). Off-chain (auditable_ computation) AWS sandbox 2.0. Put the execution package onto IPFS, AWS gets it and executes it, signs it. iEx.ec: Fully Distributed Cloud Thanks to the Ethereum Blockchain http://iex.ec/
Provides blockchain based execution environments Global market for computing resources. Idea is to do what we did before with "grid computing" use the idle capacity of computers. But this time do a trickle of micropayments. Allows people to harness this global power to execute their tasks in a global "distributed cloud". The Final frontier: The company smart conract http://otonomos.com/
Helping companies to incorporate on the blockchain. Smart oracles https://github.com/smartoracles
Connecting to external resources is difficult. Hard to try and use external currencies (like a bank account / fiat money) to make transactions. Could hook in paypal, HSBC, wells fargo, etc. Can provide your own payment services as an API to a smart oracle for smart contracts to consume. Do off chain data storage by calling smart oracle API Roadmap: more data sources & more payment methods IPFS & Ethereum: Updates https://Ipfs.io
IPFS is AMAZING, seriously go watch the full 1 hour talks Juan has given in previous years.
Current web has current issues. Centralisation, etc. IPFS is a new hypermedia transfer protocol Content can be retrieved not from specific servers, but instead via it's hash so that it can come from anywhere in the network (maybe from the person next to you who has cached it). It is highly modular, all of the transfer protocals, routing, naming, etc. are all swapable Is available as GO-IPFS & now JS-IPFS Means now you can run IPFS in the browser IPFS was great for static content, but not so great for dynamic content. Low latency pub/sub protocol will help with dynamic data. Created a distributed peer to peer chat app using this new dynamic content protocol. IPLD a common link-tree hash format Will be able to use IPFS to retrieve ethereum blockchain blocks DIRECTLY Can use IPFS as a package manager to retrieve them in a distributed manner.
Many projects are using Ethereum & IPFS Uport, Digix, Infura, Ujo, Eris, Blockfreight. Filecoin was created as a way to try and incentivize nodes to keep files longer time. People rent out hdd space to earn filecoin. Exchange bitcoin/filecoin. Use filecoin to store files in network. Filecoin is going to be built on top of the public Ethereum blockchain, as a virtual blockchain / token. IPFS Libp2p & Ethereum networking
Network connectivity between any 2 nodes can be difficult. Censorship, bandwidth, network issues, etc. Having to deal with different networking topologies and access. Libp2p & Devp2p is different. Devp2p is for Ethereum. LIbp2p is modular, can swap out components to change network access, encryption methods, etc. Can build up a MEGA mesh network, by utilising traditional wired internet, radio, bluetooth between some nodes. Web browser using web socket, to a node, which routes across network, to zigbee to a IoT device. Libp2p & Devp2p could merge and augment each other. Could create the libp2p components to replace the devp2p bits Any 2 nodes that speak the same protocol can communicate and be a part of the network chain. Experiment. They took the browser based version of EVM. Then used Libp2p to talk to the Ethereum network. Had a complete ethereum node running in a browser. Uport https://uport.me/
Universal identity platform Current challenges: key management. Ux for average person. Dapps via mobile. Identity and data ownership. How do you keep a consistent identity, even if you lose a key. Have some multisig contracts that you can use to keep track. Social recovery, use your friends to attest it is really you. Keep private key on mobile, do transactions on the desktop, scan a QR code to sign the transaction on your phone and send it off. A Deep Dive into the Colony Foundation Protocol
It is an open source governance protocol built on Ethereum Problem with voting is how to prevent Sybil attacks. Votes are weighted by a reputation score. Reputation is non-transferable that can only be earned. Total weighted voting helps mitigate this. Chain orchestration tooling & smart contract package management
Eris is tooling for developers. Package manager to build your own blockchain. Can compose a chain, e.g. geth + tendermint consensus. Init, install, do. Can easily install on Mac/bew, linux/apt-get, Windows/choco The Golem Project: Ethereum-based market for computing power http://www.golemproject.net/
Anyone can make an offer to sell computing power. e.g. Distributed rendering Want to create a standard framework that anyone can use to submit and process jobs. Status: Integrating Ethereum Into Our Daily Lives https://status.im
Want to get ethereum everywhere. "Mist for Mobile" Everyone is using their mobile phones for everything, but mostly using instant messaging. What would Ethereum in a IM window look? Created a IM mobile app that has a local geth node. tart up, it asks you to create a password, it generates a pub/private pair. Then can send messages via whisper, and the messages are signed with your public key. Can load Dapps up in the local webview and interact with them. Allows you to create "chat Dapps", that you interact with via text. Like chatbots Maker Ecosystem Overview www.Makerdao.com
Dai: seeking stability on blockchain. Stablecoin engine: smart contract that holds collateral reserves and controls the Dai lifecycle. MKR: open source community managing risk of the system In the last year, investing in a solid technical core. More slow and audit things. Moving into the next phase of stablecoin development. Their latest project is the "Simplecoin project" Meeting Thereum community's need for stability. An independent platform for creating centrally administered simple stablecoins. Issues create their own rule sets: Collateral types, participant whitelists, security parameters. Example: Shrutebucks. The only people who own it are Dwight, Jim & Pam. They backed it with 1/3 ETH 1/3 DGX 1/3 DUSD. Orbit. A distributed peer to peer app on IPFS https://github.com/haadcode
Created a full distributed chat room, itself distributed through IPFS. It is integrated with uPort for identification Using uPort allows you to verify that you are talking to the correct person in the chat channel. All their messages are signed with their public keys He also created a full distribited twitter clone, using uport for the identity as well. Orbit-db key value store DB that stores its data on IPFS. Eventually consistent Appends data to the DB, an event is sent to those subscribed on pub/sub so they can see the latest root hash. Based on CRDT Ethereum + Pubsub + CRDTs + IPFS = super power primatives to build dynamic distributed apps
Development considerations with distributed apps. Need to ensure that apps work offline. No centralised servers. No data silos. Provide integration path.
Future work: could you use uPort for ACL like permissions? Mobile use cases, how to make it work nicely on mobiles Building scalable React Dapp architecture https://github.com/SilentCicero/react-dapp-boilerplate
React + Ethereum He has a configured boilerplate template. Has contract scaffolding. Enforced contract Linting/testing. Wallet generation/identity. Preconfigured web3 instance. UI: Mature react arhitecture "react boilerplate". Prices listed in USD with ETH/btc via kraken api. A basic multi-contract example Dapp. Offline first, dapp runs without internet. Uses Redux. State models in UI & blockchains work well. PostCSS, CSS Modules, sanitize.cs. Redux, immutableJS, reslect, redux-saga, i18n, redux-router. Web3, ethdeploy, dapple, solium, eth-lightwallet, chaithereum, ethereumjs0-testrpc Enforced contract testing in 2 languages. Ethereum for Enterprise (BlockApps Strato)
Trying to make sure that Ethereum stays relevent to enterprise development. Why do you need a blockchain WITHIN an org, shouldn't they trust each other? Well different departments may not, they may reconcile differently, and can help automate/orchestrate between them. Blockchain is the "killer app" for cloud financial services. Legacy infrastructure, batch prossing, etc are all restricting fintech from progressing. Blockchain can happen in real time, can replace legacy. Ethereum is very flexible and programmable, works well. There are others based on Bitcoin (like Hyperledger). Ethereum + Blockapps = Extreme productivity + Proven Technology. Blockapps is extending Ethereum for Enterprise. Runs very well on Azure Enterprises don't want all their data exposed on public chain. Blockapps helps solve data privacy and scaling with multichain fabrics.
arXiv:1812.10345 Date: submitted by
2018-12-26 Author(s): Christopher Hannon
, Dong Jin
Resource-constrained devices are unable to maintain a full copy of the Bitcoin Blockchain in memory. This paper proposes a bidirectional payment channel framework for IoT devices. This framework utilizes Bitcoin Lightning-Network-like payment channels with low processing and storage requirements. This protocol enables IoT devices to open and maintain payment channels with traditional Bitcoin nodes without a view of the blockchain. Unlike existing solutions, it does not require a trusted third party to interact with the blockchain nor does it burden the peer-to-peer network in the way SPV clients do. The contribution of this paper includes a secure and crypto-economically fair protocol for bidirectional Bitcoin payment channels. In addition, we demonstrate the security and fairness of the protocol by formulating it as a game in which the equilibrium is reached when all players follow the protocol.
 K. Christidis and M. Devetsikiotis, “Blockchains and smart contracts for the internet of things,” IEEE Access, vol. 4, pp. 2292–2303, 2016.
 J. Basden and M. Cottrell, “How utilities are using blockchain to modernize the grid,” Harvard Business Review, 2017.
 S. Nakamoto, “Bitcoin: A peer-to-peer electronic cash system.” http://bitcoin.org/bitcoin.pdf
 V. Buterin, “Ethereum white paper: A next gerneration smart contract and decentralized application platform,” tech. rep., 2014.
 “Bitcoin wiki.” https://en.bitcoin.it/wiki
. Accessed: 2018-05-28.
 J. Poon and T. Dryja, “The bitcoin lightning network,: Scalable off-chain instant payments,” 2016.
 C. Decker and R. Wattenhofer, “A fast and scalable payment network with bitcoin duplex micropayment channels,” in Proceedings of the 17th International Symposium on Stabilization, Safety, and Security of Distributed Systems - Volume 9212, (Berlin, Heidelberg), pp. 3–18, Springer-Verlag, 2015.
 brainbot, “The raiden network.” https://raiden.network
, 2018. Accessed: 2018-05-28.
 H. A. Kalodner, S. Goldfeder, A. Chator, M. Moser, and A. Narayanan, ¨ “Blocksci: Design and applications of a blockchain analysis platform,” CoRR, vol. abs/1709.02489, 2017.
 P. Wuille, “Bip32: Hierarchical deterministic wallets.” https://github.com/bitcoin/bips/blob/mastebip-0032.mediawiki
. Accessed: 2018-05-28.
 M. Green and I. Miers, “Bolt: Anonymous payment channels for decentralized currencies.” Cryptology ePrint Archive, Report 2016/701, 2016. https://eprint.iacr.org/2016/701
 J. Poon and V. Buterin, “Plasma: Scalable autonomous smart contracts.” https://plasma.io/plasma.pdf
, 2017. Accessed: 2018-10-28.
 S. Popov, “The tangle.” https://www.iota.org/research/academic-papers
, 2018. Accessed: 2018-10-28.
 N. Z. Aitzhan and D. Svetinovic, “Security and privacy in decentralized energy trading through multi-signatures, blockchain and anonymous messaging streams,” IEEE Transactions on Dependable and Secure Computing, pp. 1–1, 2016.
 M. Mihaylov, S. Jurado, N. Avellana, K. Van Moffaert, I. M. de Abril, and A. Nowe, “Nrgcoin: Virtual currency for trading of renewable ´ energy in smart grids,” in European Energy Market (EEM), 2014 11th International Conference on the, pp. 1–6, IEEE, 2014.
 E. Mengelkamp, B. Notheisen, C. Beer, D. Dauer, and C. Weinhardt, “A blockchain-based smart grid: towards sustainable local energy markets,” Computer Science-Research and Development, vol. 33, no. 1-2, pp. 207–214, 2018.
 A. Dorri, S. S. Kanhere, R. Jurdak, and P. Gauravaram, “Blockchain for iot security and privacy: The case study of a smart home,” in 2017 IEEE International Conference on Pervasive Computing and Communications Workshops (PerCom Workshops), pp. 618–623, March 2017.
 G. Liang, S. R. Weller, F. Luo, J. Zhao, and Z. Y. Dong, “Distributed blockchain-based data protection framework for modern power systems against cyber attacks,” in IEEE Transactions on Smart Grid (Early Access), 2018.
Call for Proposals. The current Scaling Bitcoin Workshop will take place September 11 th -12 th in Tel Aviv University, Claire and Emanuel Rosenblatt Auditorium, (Engineering Building), Tel Aviv, Israel. We are accepting technical proposals for improving Bitcoin performance including designs, experimental results, and comparisons against other proposals. Crucial Bitcoin Scalability Topics to be Discussed at New Scientific & Academic Workshops August 16, 2015 / 0 Comments / Events “This is going to be the most important Bitcoin conference of the year,” said Warren Togami, Technical Project Manager of Blockstream and Scaling Bitcoin committee member. Judging by the scope and focus of these ambitious workshops, he might not be exaggerating ... WIP: Storm: layer 2/3 storage and messaging; WIP: Building ultra-light clients with SNARKs; WIP: Signet; WIP: Miniscripts; WIP: Vaults; Introduction to eventduction ; Deploying blockchain at scale lessons from the internet deployment in japan; Analysis of dust in utxo based cryptocurrencies; How much privacy is enough; Playing with fire adjusting bitcoin block subsidy; Self reproducing coins ... Madars Virza Zero-knowledge proofs for Bitcoin scalability and beyond SB2-03. play_circle_filled. ... Sergio Rocco Data Storage Institute SB2-21. play_circle_filled . Paul Snow Creating a general purpose data layer that sits on top of the blockchain SB2-22. play_circle_filled. Corne Plooy Lightning network SB2-23. play_circle_filled. Jonathan Toomim Orphaned blocks SB2-24. play_circle_filled ... For example, Bitcoin can only deal with 7 transactions per second averagely. Obviously, it cannot meet the requirement of current digital payment scenarios, nor can it be carried in other applications such as distributed storage and credit service. What's more, different blockchain systems carry different business and requirements, so scalability is the core issue of the current development of ...
Bitcoin Scalability Workshops - Scaling Bitcoin 2019 "Yesod" - Day 1 - Afternoon - Duration: 4:46:13. Scaling Bitcoin 1,338 views. 4:46:13. Avoiding Microservice Megadisasters - Jimmy Bogard - ... Bitcoin Scalability Workshops - Scaling Bitcoin 2019 "Yesod" - Day 1 - Afternoon - Duration: 4:46:13. Scaling Bitcoin Recommended for you. 4:46:13. Remember to hit the bell "" icon to get notifications as soon as I upload a new video or start a live stream Become a Crypt0's News Patron & Get Access To Our Exclusive Telegram Group: https://www ... Andreas Antonopoulos Interview - Bitcoin's 3rd Halving, Scalability & Adoption - BTC PoS - ETH & XRP Thinking Crypto. Loading... Unsubscribe from Thinking Crypto? Cancel Unsubscribe. Working ... OCP Storage Project Workshop @ Western Digital October 29th, 2019 - Duration: 3:50:54. Open Compute Project 429 views. 3:50:54 . How to Start a Speech - Duration: 8:47. Conor Neill Recommended for ...