Building dapps on Ethereum – part 6: deploying a private testnet

When developing dapps and smart contracts, it’s of great importance to have a good development workflow and to go through the right amount of testing and validation. In previous posts I’ve explained how to setup a local blockchain node for testing. While the ultimate goal is to deploy your dapp to one of Ethereum’s test networks, and then the main network, it’s very useful to be able to run your own full private network. This can be used for internal testing, verification and simulation, within your own team or company. In this blog post we’ll cover just that — how to deploy a private testnet and the basic components involved. Continue reading “Building dapps on Ethereum – part 6: deploying a private testnet”

Building dapps on Ethereum – part 5: Ethereum Name Service and Swarm

A common usability problem with cryptographic systems like blockchains is that accounts, smart contracts and content on the blockchain are addressed with hashes like 0x7eF963588706a8d39D481634eB46f5c54A04c584. These addresses are easy for machines to securely verify but hard for humans to type and remember. And anything that’s difficult for humans creates vulnerability vectors, like phishing attacks by using an address that looks similar but is owned by a malicious person. Continue reading “Building dapps on Ethereum – part 5: Ethereum Name Service and Swarm”

Building dapps on Ethereum – part 4: decentralised hosting using Swarm

The more I research and develop on Ethereum the more realize that Ethereum is the web we wanted to build yesterday, and the new web we are building today. There’s a lot of talk about Ether’s US dollar price and market cap, but the underlying technology is often forgotten about. That’s why I’m writing this series and in this part we’ll talk about a lesser known part of Ethereum, namely its decentralised storage platform called Swarm. We will use this to host our dapp. Continue reading “Building dapps on Ethereum – part 4: decentralised hosting using Swarm”

Building dapps on Ethereum – part 3: user interface

What’s beautiful with Ethereum is that it’s a new kind of Internet — an ecosystem of decentralised computational resources and applications. But at the same time Ethereum work with tools and protocols of the old Internet where it makes sense. In this blog post we’ll go through how to write an user interface (UI) in HTML5 and Javascript (JS) for our decentralised application that we started building in part 2 of this series. Continue reading “Building dapps on Ethereum – part 3: user interface”

Building dapps on Ethereum – part 2: smart contracts

This is the second post in my series about building decentralised apps (dapps) on Ethereum. In this post we will cover installation and configuration of the development environment for coding, compiling and testing smart contracts. You’ll also learn how to set up two different Ethereum blockchains on your local computer, firstly with testrpc for automated testing and secondly with geth which is a full-spec client for more advanced needs. Continue reading “Building dapps on Ethereum – part 2: smart contracts”