One of the trickiest things has been trying to get Windows environments correctly configured, as the tools are npm based and want to be compiled natively and assumes it is on a Linux machine. Here is the simplest install script I have found
Step 2. Install the tools via npm: Open a NEW PowerShell prompt as Administrator (to ensure that it reloads )
npm install -g npm
npm install -g –production windows-build-tools
npm install -g ethereumjs-testrpc
npm install -g truffle
You may see some error messages during npm installs. Many of these are just informational / optional components failing. You can test that it is all working by trying to run the commands truffle and testrpc.
Bonus Step: combining with Visual Studio Code
This is how I use Truffle & Visual Studio code together. Make sure you install and configure Visual Studio Code with the Solidity extensions.
If you navigate into the folder where your files are, typing “code .” will open Visual Studio Code in the current folder. Running the command after a truffle init gets you up and running quickly
Below is a short video that gives an overview of the technology. It shows a quite sensitive and fairly accurate temporary tattoo that you can apply to your skin to control an interface on a device like your phone or PC. The designs of the tattoo can be as aesthetic as you like, as they are cut out like a stencil.
I think the designs and future potential as wearable tech is really cool. I’d love to see this taken further than just a research proof of concept.
Final day. I’m tired from 6 days of sessions, and many of the sessions today were more high level “we are a bank / enterprise that are looking into what the cloud can do for us”. So I skipped taking notes for a lot of them.
Factom. Blockchain Technology tools for net gen asset systems Most of old asset records are paper based, difficult to update.
Databases are too easy to modify. Blockchain is a happy medium.
They have a way to do document tracking on Blockchain.
Zcash Issue is privacy on the Blockchain. It is a giant shared database, everyone can see what you are transacting. Like trading securities.
Possible solutions: Private chain, restricted read access.
Could try to do it off chain and put hash on chain, but then the blockchain is just a timestamping service.
Encryption can hide the values, but not the people.
Ring encryption can hide the people.
Open Bazaar https://openbazaar.org/ Open distributed trade market. With no fees.
Ebay & Taobao are C2C (Consumer to Consumer) trade platforms.
Has an escrow style payment system. Buyer puts money into escrow, merchant sends, buyer releases from escrow.
Ebay is completely centralised. Every communication goes through Ebay and you pay them for the privilege.
Open Bazaar is distributed, you talk direct to each other.
Challenges of Building Decentralised markets: P2P software more complex than standard websites. Designing incentives to encourage users to act responsibly. Ensuring software is secure & reliable. Translate difficult tech into mainstream user experience.
Benefits of buying & selling on OpenBazaar: sell ANYTHING you want, anywhere (some things just aren’t available for purchase in that country). No buyer or seller fees. No data collection by 3rd parties. No restrictions on how you operate your business. Market of moderators that compete to provide quality dispute resolution.
Can purchase weird things like hot sauce, and North Korean cigarettes.
Version 2.0, you can purchase digitital goods (music, videos) and get it delivered instantly. Great for sellers as they will get to keep all the revenue, and not lose the 30% cut that iTunes takes.
Chronicaled A turnkey solution to securely connect physical goods to a Blockchain.
Blockchain benefits for IoT are incresingly recognized by developers and enterprise, and hundres of potential physical world use cases have been identitifed.
The lack of a turnkey solutoin to securely connect and engage with assets with assets on chain is a huge barrier to development.
Turnkey solution: Ethereum smart contracts. BLE & NFS microchip inventory. Custom, secure chip firmware. Registration & authentication SDK. Open registry explorer. Tamperproof form factors so people can’t functionally remove the chip.
Device sends a challenge to the chip. Private key securely stored in the chip signs the challenge.
Signed challenge is compared to public key stored on Blockchain.
Has an open registry explorer (blockchain explorer)
Use cases: Authenticity & provenance. Handbags, fine art, wine, collectible sneakers, event ticketing.
Atomic financial transactions. New sharing economies. Micro & peer to peer insurance. Collateral & security. Physical world affiliate networks.
Machine to Machine interaction. Drone with a chip flies to a garage, it is recognised as being whitelisted, the garage door opens.
Everledger Provenance means “the history of something”. It’s life story. Is very important for luxury items like artwork.
You may have the expensive thing, but may have misplaced the certificate of authenticity.
Digital global ledger to track items of value.
Currently tacking diamonds (write its unique dimensions, physical properties, faults, etc. gives it a unique ID).
Later if they are stolen and tried to be sold elsewhere, then can grab them.
Currently 98,000 diamonds tracked on their Blockchain.
Can track provenance to track origins of rough diamonds, through to polished stone. To ensure that they don’t come from conflict areas.
Can have IoT enabled diamond analysis devices, that can auto get the properties and look up its authenticity in the Blockchain.
Would be cool to ask Siri/Cortana a generic question like “who will win the US presidential candidate will win the US presidency?”.
Predication market works by creating a market on a question. You purchase a share in the prediction, then if you predicted correctly, you get your share of the pool.
“wisdom of the crowd”. The average answer that comes out of a crowd is usually consistently better than an expert.
Stellar International remittances of money transfers are expensive, with long delays. Legacy payment systems are expensive, complicated and slow.
Used to be unreliable to send email to each other, needed to manually specify routes. But SMTP made it a simple open protocol that anyone could use. Why hasn’t this been adopted for payments?
Bitcoin allowed sending money as a single network.
They want Stellar to be the protocol to send money from any 2 points, through any payment network. Like Alice pays Bob, but it goes through Bitcoin network, through Dash, then pays Bob in Doge.
Today was day 1 of the 2 day “International Blockchain summit” presentations.
On every seat was a little bag that had 3 books about the Blockchain! Unfortunately they were all in Chinese.
Whereas DEVCON2 was all about development, and leveraging the network effects of leveraging other projects in the ecosystem, the presentations today were VERY high level talks.
There was a massive stark difference between “the old guard” in the Fintech space, and the disruptors that are shaking things up.
Take a look at the BOC (Bank of China) and ChinaLedger presentations. They talk about how Distributed computing is dangerous. ChinaLedger go on to say that they need the power to be able to go in and halt transactions, modify smart contracts on the fly, liquidate accounts when they need. While also saying that they will make sure they will do everything to help privacy and use encryption… which only the Government can unlock (“Golden keys”?). It was the most centralised “Blockchain” I have ever heard of.
On the flip side I was inspired by the forward thinking of the Consensys presentation, and their long term vision for where to drive the Ethereum platform. They are helping to create open tools and platforms that will be leveragable by a multitude of projects (as demonstrated with Ujo and BHP project “Rai stones”).
After the Consensys presentation, my 2nd favourite presentation was by Wanxiang labs “10 years to build a city”, talking about how they plan on taking some land and creating from scratch a smart city powered by the blockchain and electric vehicles. While the other old guard are squabbling about how it is going to impact their “business as usual” profits, there were the new projects out there envisioning and disrupting.
The BHP presentation was also pretty cool, a great implemenation of using Blockchain to improve a business process.
New Finance: Technical & Legal rules – BoC
He is from bank of China.
Entire presentation was him being scared and trying to justify why current Blockchain tech is an unregulated wasteland, and why there needs to be regulation from banks and government.
For Fintech they think Blockchain will not be successful without proper regulations
Blockchain finance – it is distributed.
Storing all of the transactions will take a lot of storage space. What to do once the transaction rates exceed what can be processed.
Thinks that public distributed transactions will not be more than a toy like with Bitcoin. For real FinTech they need something different for a high frequency.
Thinks that decentralisation should not be the core feature of Blockchains (due to transaction limit).
Thinks it should be decentralised, not distributed.
Should be done with private consortiums.
Needs legal rules and technical rules.
They think that self rulemaking currencies (Bitcoin) can not be regulated. So need to stop them, to prevent bad things like money laundering. This is showing the loopholes brought about by Bitcoin.
So when using digital currencies, they need certifications and tracking.
“We need more regulations and rules to facilitate the healthy development of this space. Only with support of regulations can new technology take off”.
Me: I totally disagree… (if not already apparent)
Blockchain futures & realities – CSDC
China Securities Depository and clearinghouse
He was much more open minded and forward looking. Is a pep talk for “things are going to change”, how are we going to use these new things. He said that he recorded it into English that should be able to be downloaded, would be worth watching if you are into this space.
Summary: Genie is out of the bottle, we need to embrace this and think how we are going to put the requirements of securities (“real name transactions”) in a decentralised way. And the registration and tracking of assets to real names.
People have ideals because they are not happy with reality. Due to this dissatisfaction, people are passionate about trying to make that dream a reality.
Need to play by the rules, or the market will be chaos. So now we have facilities law, regulations, etc. This forms the framework of China economic. This is very different from Blockchain. This is at odds to the distributed systems.
Seems like we are dissatisfied with this, so trying to reconcile these differences.
All securities transactions need to follow “real name” transactions, but want to do this in a decentralised manner.
Market cap is 54 trillion (of something in China).
GDP is over 70 million
They are researching Blockchain, but not just in the lab. Need to find potential applications and use cases for it. If we want to implement Blockchain technologies, we need to see what the hurdles will be, so we can get closer to the ideal.
As BoC speaker said, the number of transactions per seconds is HUGE. Daily may reach 10s of millions at its peak. How are we going to handle this with a theoretical framework.
Need to start from the reality of China. And the reality is it is a giant country with a huge population, which depends on the capital market. If you just implement within a lab it is okay. But if it is going to be put into the industry, then we need to work with the government. We can’t just get rid of the government, it is impossible (REVOLUTION!!). So need to focus on key senarios to tackle, as you can’t just apply Blockchain everywhere simultaneously. Or all your efforts will fruitless.
How to complement it initially, not replace it.
Ten years efforts to build a city (Wanxiang Labs) Me: I reallly liked this presentation. I’ve been keeping notes for months around building this type of innovative city in Australia. I plan on rewatching this one again later.
Going to build a city in 10 years. An energy gathering city in HangZhou 10KM2.
Their US company is starting to build new energy vehicle.
900m RMB? 90k people.
Deploy the city into the cloud. Intelligent life, traffic & services. Everything will be connected. IoT, Internet, smart living, smart transport.
Once this is successful, they plan on launching it across the world. Will publish their learnings.
Launching incubators and accelerators. Their own cloud Blockchain as a Service.
Many scenarios in this smart city that could utilise Blockchain. Distribution for Solar power. ID & Vehicle registration. Intelligent community services.
Can promote a sharing economy throughout the community.
Partnering with Microsoft, IBM, Consensys, Ethereum foundation, WeBank, AliCloud
Vitalik Buterin keynote Talking of the progress China has made in Blockchain innovation in such a short period of time. He visited China 3 years ago and visited a number of Bitcoin companies and was impressed on the scale of what China had, much more than what was happening in USA.
But all the focus was just on cryptocurrencies, not Blockchain technologies, Just mining.
2nd time, he saw some kind of experimentation happening with interesting things (like coloured coins?)
3rd time saw more interest in Blockchains.
4th? time, he did a hackathon with Wanxiang labs (event sponsor), and there were ~30 projects. The growth since then has been rapidly growing. The scale of projects we couldn’t have imagined 3 years ago. Was just theoretical, now a lot of ideas are almost reality. e.g. Self-sovereign identity, instant settlement.
Hyperledger https://www.hyperledger.org/ Goals. Build an opensource dev focused community of communities to build a hyperledger based solution. Create a family of “etnerprise grade” open source blockchain framework, platform & libraries.
Because it is an enterprise opensource project, they need to track contributions, patent details, etc. Is part of the Linux Foundation, which has 16 years of providing governance stucture support for major open source projects.
80 project partners. IBM, Intel, Accenture, JP Morgan, Airbus, ANZ bank, Cisco, etc.
20 of the 80 project partners, are based in China. Apache license v2.
A world or many chains. There will not be only one blockchain. There will be many public chians and millions of private chains. Each may use different consensus mechanisms.
Major projects are:
Fabric: Developed by IBM. PBFT, moving to Raft and other pluggable consensus mechanisms. Written in Go.
Sawtooth Lake: Proof of Elapsed Time. Runs on secure enclaves. Written in Python.
Hyperledger explorer: GUI for navigating Fabric & swatooth lake.
Fabric-py SDK. (Java proposed later).
Smart contract engines. Portable identities.
Will never see a “HyperCoin”. It is about making Hyperledger a standard, and a governance group.
IBM keynote – IBM Blockchain & Hyperledger Today if you want to do something in your business on Blockchain it is difficult. Hard to scale, issues with privacy.
No Enterprise support.
Need tools to write tests for smart contracts. Need good solution patterns.
Difficult to scale up, especially around transaction rates.
Built Fabric to support “serious business”
Permissioned blockchains can’t scale. Every node shouldn’t execute every transaction.
The 2 peers that are interacting are the only ones that should execute.
IBM has implemented this internally to resolve invoice disputes with their suppliers.
IBM All the slides were in Chinese. Difficult to follow unfortuantely.
The (original) Silk Road was important for trade. Blockchain may be just as important for trade in the future
People are debating the need of distributed systems being an important thing of Blockchains, is it really necessiary? Blockchain should instead be focused on unblocking instead.
IBM will provide an IBM certified docker container.
IBM Blockchain. http://www-31.ibm.com/ibm/cn/blockchain/index.html Has a concept of a “shadow chain”?
Blockchain Platform @ Microsoft (Bletchley)
At Devcon1 Microsoft announced Blockchain as a Service. Rolled out DevTest Labs to allow you to spin up public, private, permissioned, and consotrium blockchians quickly. Provisoin with 1 click. Mix & match from best available blockchain tech.
Bletchley: Open infrastructure, Enterprise capabilities.
Microsoft is not building their own Blockchain.
Blockchain has some missing parts (identity, privacy, key management lifecycle, tools). Asked our partners what are the missing parts.
A database in itself isn’t an application.
(re)Announcing: Bletchley v1.
2 parts. Distributed infrastructure layer (Blockapps, R3, bitpay, parity, Eris). There isn’t going to be 1 Blockchain to rule them all, so allow you to leverage any of them.
Lots of customers were taking a long time trying to spin up private consortiums, and trying to secure them correctly. Used to take 3 weeks, now down to 8 questions and 5 minutes. Spins up a private Ethereum consortium. 4-100s of nodes.
Distributed middleware “fabric” layer. Tools that can work across many blockchain technologies.
Cryptlets are a way of doing offchain processing. Receive market data based on an event (market price daily closing, CRM event).
Need to have trusted execution of the logic, to attest that it was not tampered with.
Secure IP protected algorithms. Scale an algorithm for max performance by running it off blockchain in a secure & attested way in the cloud.
Oracles may be malicious, or they may be intercepted during transmission.
Cryptlets run on a secure host with a secure communication channel in a trust envelope.
Marketplace for publishing the cryptlets into a market for others to consume.
Azure cloud is twice the size of Amazon & Google COMBINED.
Bletchley Cryptlet Fabric. Supports Ethereum, will support more Blockchains. It is middleware that will support many.
Secure execution on demand. Standard way of publishing and accessing external resources.
DevTest labs, will continue to onboard more.
Kinakuta to help improve security.
Longer range implications of Ethereum & other decentralising technologies (Consensys) LOVED this presentation.
Simplest view: Next gen database. Blockchain based, maximal replication, Prevents rogue actors
Force for universal disintermediation, will distrupt every industry.
Previously it was mostly just Bitcoin. Future projects were “BitCoin 2.0”, instead of “Blockchain 2.0”.
So Ethereum project built the most powerful and capable Blockchain platform, both public (permisionless) and private (permissioned)
Deeply secure, non-repudiable shared source of truth.
Dapp is a set of smart contracts. And a user interface to interact with it.
Was important to get an initial version of Ethereum out into the hands of devs, to start thinking how to start building decentralised applications.
Ethereum has a vision for scalability, which includes sharding and state channels.
Privacy, state channels is one option. Zcash/zk-Snarks is another way.
Currently building out an ecosystem of decentralised applications.
Building core components: Identity/persona (uPort, metamask). Wallet (uPort wallet). Registries (Regis, ENS). Token Factory.
Do private enterprise Blockchains make sense? Yes, large entities can have a complex internal mix of business units, having a shared source of truth can help.
If enterprises have their own private consortium Blockchains, will be a harder target to infiltrate and modify databases.
Business processes emboided as state transition graphs.
If you plan on building your own tools or technology on top of Blockchain tech (public or private), build it on Ethereum so it can be reused in many different places by other entities running their private chains
Developed “Balance” for real time compliance, accounting auditing and monitoring. Real time dashboard for companies & regulators. Organisations using certified software wil not be able to break or bend any financial accounting rules.
The Blockchain will last for years or decades giving a persistent database. Gives a chance to do persistent portable identity. uPort self-sovereign identity.
Blockapps Announcement Is Ethereum for Enterprise.
Partnered with Microsoft to announce Blockchain as a Service (BaaS). Over 1k projects have used it, over 300 customers.
Being released in Azure China datacentre (mooncake), and other Chinese clouds : Alibaba cloud, tencent cloud, Wancloud.
Initial China projects: Minsheng insurance, Wanxiang smart city, Qianhai smart city, Shanghai smart city.
China is going to be the country leading the world in Blockchain projects.
The Rise of Blockchain Consortia: Uniting the Banking World One of the largest banks in Spain.
Banks are just a ledger (a very large ledger).
Each bank has its own ledger. They don’t trust each others. Which is why you need clearing houses and things like this.
What if there was a shared ledger trusted by all banks. “It’s not about the coin, its about the ledger.
New development of ChinaLedger: Forging a powerful tool for Chinese capital market in the FinTech era Was literally the most centralised blockchain I have ever heard of. Please excuse me as I rant inline.
ChinaLedger is a consortium.
11 founders established it. Chinese financial institutions and Wanxiang labs.
“we created our own Blockchain and tools”.
Will come up with their own custom software and implementation. Will create a whitepaper and create reference architecture.
Partners will use the network to do transactions.
Need facilities to be able to freeze or take over acounts, and get access to all data. A need to be able to halt or freeze a transaction or smart contract. A need to be able to halt or freeze a transaction or smart contract. and the facility to liquidate an account or smart conract or manually change the state of a smart contract
We need to be able to stop the trading of certain stocks. Let regulators control things.
Will be fully in control of the gas.
Wants to support 100k/s and 1 ms latency.
Then ironically says tries to say they are going to put privacy into this. “Everything will be encrypted and private. Except that CCP & regulators who will have ability to read everything”. I’m SURE that won’t be abused…
Re-imagining Global Payments (For business)
Banks make a LOT of money from bank wires. So they have no incentive to come up with anything better.
The person sending the money needs to give 26 pieces of information. Don’t know when you’ll get the money, what the rate will be.
About $20 to send, $20 to receive, plus lose a few percentage through the conversion.
Their solution (for business payments). Register for an account, can use online. No fees. Transparent FX rate. Can track the payment. Uses Bitcoin in the middle.
Before international calls used to call many $s per minute. Now with VoIP (Skype) you can do it for cents.
Same thing will happen to international money transfers.
Nowadays you can send an IM to anyone else in the world instantly for free. Why can’t you do the same thing with money?
Can do it locally in some domestic markets, like paytm (india, WeChat pay (China), mpesa (Africa). But not for cross border transactions.
iOS & Android. Real digital cash wallet. Send & receive globally. No FX risk. Add cash via bank or in person.
As private as paper cash. Abra tellers earn $$ (as a percentage fee).
The wallet is stored locally on the phone. So you “physically” control it. (need to back up your private key).
Use an Abra teller (someone else using the app) to exchange buy/sell cash for digital cash. Anyone can be a teller. Tellers charge a fee. Teller & user rate each other.
When 2 people send money each other via Abra, happens instantly, . No FX volatility.
Awaking the Sleeping Giant: The Natural Resource Industry and the Blockchain Note: The presentation was in English, but I thought it was extremely considerate that he had his slides translated into Chinese as well. Every slide had simultaneous English & Chinese descriptions so that the attendees using the live translation headsets could follow along easier. If I ever present in another country again, I’ll try and plan ahead like he did. Was very thoughtful.
Why is BHP interested in the Blockchain?
They are the largest mining company in the world (natural resources mining, not Bitcoin mining. Hehe)
They are a global distributed organisation. So a distributed Blockchain
Project Rai Stones. Sample tracking of geological samples. They are highly valuable resources. Some of the wells cost $100M, and you only get 1 chance to take the sample. They currently only track the samples manually through emails & spreadsheets.
They are working with Consensys & Blockapps. Runs on Ethereum & IPFS, on top of Microsoft Azure.
1 node at BHP, 1 at their collaborator, 1 at their regulator.
3 roles in the business flow, BHP out in the field, the analysis team, and BHP corp.
They create/register a smart contract on the network for each sample.
When the person collects the sample, they go to the dashboard, click the checkboxes to say they acquired, that updates the smart contract.
They ship it off, so they put in the details of which analysis office it is being sent to, updates state from collected to shipped.
Analysis team can log in, see what samples are in transit to them to be analysed. They receive it, give it a unique Id based on their internal process.
They get trusted tracking of samples, and real time updates.
What if they could automatically operate machines, they could help avoid bad combinations of machines operating at the same time. Like a crane operating on an oil rig, when a helicopter is coming in.
Disable a piece of machinery if it is past its allowed usage before routine preventative maintenance. Disabled until it is tested, and certified as okay on the Blockchain.
Stop unqualified people from using a tool or vehicle.
Ore gets mined and put onto shipping freighters. Need to track Provenance, custodians, entire supply chain.
Need to give regulatory data to the regulators in each country the operate in. All the mines in the industry need to submit this public data to gov, it all gets aggregated, and disseminated. But it costs HEAPS to do this. What if they built a consortium chain. They can all publish the public data, ready to be analysed instantly by peers. Could make the entire industry more effienct and transparent by making the consortium not just for the 1 country, but a public one. Give a global transparent view of the entire industry.
Would help drop costs of compliance.
They started on Ethereum Mainnet & Testnet. Now they are seeing the emergence of many private chains. They will see the bridging between chains.
Seen that Ethereum plans on sharding (many chains). Forsees that there will be a global mesh of these Public & Private chains all supporting each other.
Cotricity – “a prosumer to business”- virtual energy market on the Ethereum blockchain (Consensys) https://co-tricity.com Energy meets Blockchain
Joint venture between Consensys & an energy company in Germany.
Energy sector is changing rapidly. Prosumer is someone with generative capacity (eg. Solar panels & battery storage).
Normal smart meter collects usage about production & consumption. Tracked on Ethereum. Matches up Prosumers to local community things like Schools. The local environmental and economic benefits of keeping it in the local community.
Mechanism design, “reverse game theory”.
Goal is to effectiveise the energy market and reduce costs. Means creating incentives such that the optimal strategy for every participant results in the realisation of this goal.
e.g. Help to smooth out the peak in the morning, give a small reward for not using energy in the morning
I was able to get my hands on one of the coveted “Hard fork café” tshirts. Victor Lysenko from Acronis had brought a collection of them along, and was handing them out to for free to special people. Awwww❤
In the evening I was able to have dinner with Vitalik *swoon*
He ended up ordering a selection of dishes on behalf of the table. He did a brilliant job and managed to do it in Mandarin. (Made me realise I need to step up my Mandarin lessons).
There were quite a few presentations delivered in Chinese today. Live translation headsets were available. I was extremely impressed with the ladies doing the live translation, they were able to handle all the technical words and kept up very well with the demos. Apparently behind the scenes they had to train themselves up by reading blog posts and researching the topic so that they understood the technical jargon.
Demo day sessions summary
Today was demo presentations to a panel of judges, who voted on and decided the winners at the end of the day. http://www.blockchainweek2016.org/
On the negative grumpy side, there were so many similar projects (identity, stablecoins, distributed loan platform). But their were HEAPS of projects revolving around them building their own Blockchain, but never saying why their particular one is better than the existing Blockchain solutions. They always talked of the benefits of the Blockchain for business in general, but never their particular one specifically.
However on the positive side, there were many great projects that made me sit up. The most interesting ones were projects like Weifund that leverage many other existing projects on the blockchain.
Interestingly there were 17 projects that were building directly on top of the existing Ethereum Blockchain technology (both public & private) and leveraging the network effects. But strangely I didn’t see any projects building on any other existing Blockchains such as BTC or Hyperledger (beside the 2 presentations by IBM pre-demo).
Vitalik’s comment near the end of the day summed it up well for me. A lot of the demos are creating projects that aren’t really leveraging the Blockchain, and aren’t better than the traditional version. A lot of the solutions are also still centralized, and rely on a single company. Don’t try and create your project as a standalone solution. This is especially true with the many many identity services that are being created as new silos. Try and build something decentralised that can outlive a company and can grow.
Uport was 1st prize. Other winners were weifund, Cosmos and others I didn’t catch. I unfortunately missed uPort as I was late coming back in after the break😦
Keynote – IBM Hyperledger Very very high level information. Blockchain is useful. The value of a network grows exponentially with each new node
Generic slides showing “Blockchain allows people to interact via the Blockchain”.
He said that “Companies in Silicon valley are trying Ethereum and then moving to Hyperledger in droves”, sounds a bit farfetched to me (but i am biased)
Opening speech by Sinodata Blockchain is important for the future of business. Sinodata are building things for b2b & b2c
Other companies are looking into 1.0 & 2.0, but they are more advanced.
They are willing to share their vast experience in blockchain with other blockchain companies.
“We are the creator & users of blockchain.”
During the introduction of the judges, the MC introduces Vitalik and the crowd cheers loudly. Chinese MC: “Oh… the audience is very excited about this judge, he must be very important”
Ujo music “Fair drm”
Music consumption is at an all time high.
If consumption is waaay up, how is it artists are still hardly earning enough to support themselves. Artists have lost control
An artist has fragmented identities on Spotify, soundcloud, discography, beatport.
Difficult to keep fans up to dates on tour days
Fan remixes on soundcloud get pulled down due to copyright infringement.
Ujo gives fans a way to pay directly to the artist
Use Ujo as their kit / digital container, to be in charge of their identity
Reach piece of content is marked with their digital ID, so it can be tied to artist.
Can set policies on fair use and creative rights
Bestowit.global Everything changes when someone dies. Difficult time, need to find the will, usually paper based.
If no will exists, then government decides.
Difficult to know where to look for wills, no central place to look.
Succesion law hasn’t been updated in a long time, isn’t up to date in a digital world.
Created “living ledger”. Wills on the ledger.
Created a smart envelope, an iot device to put will inside and then seal and out on blockchain
Vechain Unique ID on Blockchain
Seems “to do everything”: Id, lifecycle management, management portals. (no focus, which judges also commented on)
Has a chip you can embed into anything to tag it. Can put on clothes or a bag, every article has a unique Id
My thought: For those that like to show off their money & brands, now why just buy your avatar digital clothes to show off on social media. Instead now you can buy a Chanel bag, then you can prove on social media that you own own to show off.
Decentralized capital Summary: it is a stable coin
They use DC capital to back tokens.
Use assets to purchase and back tokens.
Bubi Blockchain Summary: they built their own Blockchain
Data sets data is centralized. You don’t own your own data. Your data is being monetized by other companies.
They provide Bass Blockchain as a Service.
Applications can use their Blockchain. Get data security. Finance. Etc etc
Can do loyalty points, games, etc
It is a Blockchain…
They have 20k transactions a week
“People should use our Blockchain. Will give you more opportunities and value”
DGX A real stable coin
Digital gold. 1 DGX = 1 gram of gold
Each token is back by real gold in a vault, fully insured. The certificate of authenticity is put into IPFS
Is ERC20 token compatible
Introduction digix 2.0
Can log on and buy gold. Is implementing KYC (know your customer)
Me: I like it, I tried to join the pre-sale, but sold out instantly.
Cosmos (prize winner) Http://cosmos.network http://tendermint.com
A network of Blockchains (Cosmos hub).
Securely communicate between the chains
Uses Tendermint (which they built)
Cosmos is a public Blockchain built on Tendermint.
Could have a number of EVM based networks, then put a Cosmos hub in the middle to allow them to communicate with each other.
Ethereum & Tendermint work well together.
DeVita People waste lots of time trying to find answers on the Internet
Post bounty for answers
But bounties are posted on forums. How to enforce payment.
They created a decentralized bounty system
Can use the data of people who answer to create a CV “proof of expertise”.
EtherLoan Problems with centralized lending platforms, include hacking and high costs.
Their solution connect distributed members with borrowers.
Lenders can send funds to smart contact to participate in a loan.
Borrower repays the loan, gets distributed to the lenders
Borrower creates a new EtherLoan. Can customise the terms. If lenders like it, they fund it. Can negotiate the interest terms
Is currently a PoC. Only supports simple loans with single repayment. Integration with unorthodox. Reputation system.
Future : compound interest. Integration with credit score & risk management systems
Yet another Blockchain? They built it on incentive PoS. Can bring regulators & government.
They want compatibility with Bitcoin & Ethereum.
Pluggable consensus. Public & permissioned Blockchain.
Supports EVM. EVM 2.0
Can apparently do anything that any other chain can do because you just code it in.
Support for oracles.
Integrates with KYC/AML
Can run zcash in here.
Vitalik gave A LOT of feedback after the talk for it trying to do too much with no focus.
Benefactory Like a next gen The DAO, but the funds are for non profits?
Platform for distributed organisations.
Pooling funds is hard
Let individuals decide how to use their own funds
Commonwealths are distributed non-profit organisations.
What problems should you propose to solve to achieve a commonwealth objectives (and get funding)
Zhong Tou Bang Lots of pollution and health issues in China
Most Chinese people don’t have health insurance
Health insurance of on Blockchain
Problems of privacy, how to protect it.
Trusted key Secure trusted identify
Online id systems don’t attest to a real world identify.
Currently each online service (e.g. Airbnb) had their own verified user system which is not transferable.
Using identity documents like drivers licence. Take photo of documents, take a selfish. Submit it. Once verified the proof is attached to identify.
Can later provide proof the parts of the proof you want to share (name, age, gender
Can then later cryptographically sign documents, like bank documents with your digital signature
Coral legacy Creating a direct link from various to consumers. For wine.
For $100 you can purchase a grape vine at a vineyard. You get the wine created from that vine.
The vine is tokenism on the Blockchain. Your wine is in Blockchain, tied to your vine. Date, history, etc.
Vine is $100. Administration is $10 / year. To make and record the wine is $30 / year
B8 https://eth-b8.com Location based Blockchain service
Organiser can drop a prize anywhere (geocache ?)
People gather around a prize, one enough people have gathered, prize is distributed.
Encourage people to gather at a point for an event eg. Mall opening
Simple command line, put geo coords, number of people required to trigger, and total amount of ETH to distribute.
Can try and counter GPS spoofing by using GPS & beacons. While also tracking user to detect anomalies, like jumping from USA to China in 5 minutes
Judges (and attendees) were more interested in the anti-GPS spoofing technology, than their blockchain Dapp
BioT. Blockchain IoT Like Slock.It
IoT device with a light client that can connect to the Blockchain
Can send ether to trigger the IoT device (like a vending machine, or smart meter).
Can have a mobile SIM in it.
Weifund (prize winner) Http://weifund.io Nick Dodson
Make crowd funding an easy and simple thing to do. Decentralised kickstarter
Crowdsales are not an easy thing to code yourself in a smart contact. They have put a lot of effort into security in their solution.
They will have many types of campaigns, like presales.
Supports many types of currencies.
Is built fully decentralised, distributed via IPFS.
Uses Metamask & uPort for identity
Fluent Http://fluent.network Platform for financial operating network for global trade. Very enterprisey.
Token http://token.im Chinese Blockchain startup
Digital wallet, mobile app. “digital assets wallet”
Looks very clean and slick. Trade tokens, use Dapps.
Alipay app is popular here in China. They hope to be as popular for digital. Built a Ethfans & carbon vote integration
Token factory http://thetokenfactory.com/ Create something that would allow people to experiment. Make easy to create and distribute your own token.
Issue any token on any Ethereum network
Simple wallet interface. Follows the token ERC20 standard
Works with Metamask uPort Mist my ether wallet
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)
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 was a sponsor of Devcon1 & 2
Ethereum is a 1st class citizen
Support for community & partners – Bizspark, Meetups, Workshops
Distributed Ledger stack
V1 is a private Ethrerum consortium, that you can spin up for your own enterprise / group
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.
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
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.
Having a charted company
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.