background preloader

Euthereum

Facebook Twitter

Ethereum Project. Ethereum Homestead Documentation — Ethereum Homestead 0.1 documentation. Ethereum Development Tutorial · ethereum/wiki Wiki. OUTDATED This document can contain outdated information, specific API's might be different.

Ethereum Development Tutorial · ethereum/wiki Wiki

The purpose of this page is to serve as an introduction to the basics of Ethereum that you will need to understand from a development standpoint, in order to produce contracts and decentralized applications. For a general introduction to Ethereum, see the white paper, and for a full technical spec see the yellow papers, although those are not prerequisites for this page; that is to say, this page is meant as an alternative introduction to Ethereum specifically targeted towards application developers. Introduction Ethereum is a platform that is intended to allow people to easily write decentralized applications (Đapps) using blockchain technology. A decentralized application is an application which serves some specific purpose to its users, but which has the important property that the application itself does not depend on any specific party existing.

There are two types of accounts: State Machine Gas. Ethereum Network Status. Top miners of last 24h. Web3.js (JavaScript API for Ethereum) Web3 JavaScript Ðapp API To make your Ðapp work on Ethereum, you can use the web3 object provided by the web3.js library.

Web3.js (JavaScript API for Ethereum)

Under the hood it communicates to a local node through RPC calls. web3.js works with any Ethereum node, which exposes an RPC layer. web3 contains the eth object - web3.eth (for specifically Ethereum blockchain interactions) and the shh object - web3.shh (for Whisper interaction). Over time we'll introduce other objects for each of the other web3 protocols. Working examples can be found here. If you want to look at some more sophisticated examples using web3.js check out these useful Ðapp patterns.

Getting Started Adding web3 First you need to get web3.js into your project. Npm: $ npm install web3bower: $ bower install web3meteor: $meteor add ethereum:web3vanilla: link the dist. Then you need to create a web3 instance, setting a provider. If(typeof web3 ! After that you can use the API of the web3 object. Using callbacks web3.eth.getBlock(48, function(error, result){ if(! JSON RPC · ethereum/wiki Wiki. JSON is a lightweight data-interchange format.

JSON RPC · ethereum/wiki Wiki

It can represent numbers, strings, ordered sequences of values, and collections of name/value pairs. JSON-RPC is a stateless, light-weight remote procedure call (RPC) protocol. Primarily this specification defines several data structures and the rules around their processing. It is transport agnostic in that the concepts can be used within the same process, over sockets, over HTTP, or in many various message passing environments. It uses JSON (RFC 4627) as data format.

Geth 1.4 has experimental pub/sub support. JavaScript API To talk to an ethereum node from inside a JavaScript application use the web3.js library, which gives an convenient interface for the RPC methods. Command Line Options · ethereum/go-ethereum Wiki. Command line options NAME: geth - the go-ethereum command line interface USAGE: geth [options] command [command options] [arguments...]

Command Line Options · ethereum/go-ethereum Wiki

Note that the default for datadir is platform-specific. See backup & restore for more information.

Solidity - Similar to JavaScript

Serpent - Similar to Python. LLL - Similar to Assembly. Mutan (deprecated) - C-like language. IDEs / Frameworks used for Dapps. A 101 Noob Intro to Programming Smart Contracts on Ethereum. A 101 Noob Intro to Programming Smart Contracts on Ethereum Originally published at consensys.github.io/developers (where some of the code formatting might be easier to read).

A 101 Noob Intro to Programming Smart Contracts on Ethereum

Some people say Ethereum is too logic-heavy and hard to use, but here’s a write-up to give you a feel for building smart contracts and applications with it. Tools, wallets, applications and the ecosystem are still in development and it’ll get easier! Part I is an overview of key terms and discusses Ethereum Clients and Smart Contract Languages.Part II discusses overall workflow and some current DApp Frameworks and Tools andPart III is the Programming Part, a quick walkthrough of writing tests and building a DApp for a smart contract using Truffle.

Part I. If you’re new to all this cryptocurrency stuff, including Bitcoin and how it works, check out the first couple chapters of Andreas Antonopoulos’ Bitcoin Book to dip your toe in the water. Starter Tutorials Basic Concepts. Ethereum contract tutorials. How to build server less applications for Mist. Ethereum is not meant to be a platform to build esoteric smart contract applications that require a STEM degree to understand, but it aims to be one pillar of a different architecture for applications on the world wide web.

How to build server less applications for Mist

With this post we will try to elucidate how this can be done and give some basic examples on how to start building a decentralized app. Who is this for? This text is intended at those who have a basic understanding of web technology and how to build a simple javascript and html app, and want to convert these skills into building apps for the Ethereum ecosystem. How can apps run without servers? Currently servers in web apps do much more than what they were originally intended to. Current server models Instead, a more decentralized architecture would allow a much more modular approach, in which different machines and different protocols would handle specific tasks, some on the user’s side and some in specialized machines deployed on a peer to peer network. Safety · ethereum/wiki Wiki. Ethereum Contract Security Techniques and Tips The recent attack on The DAO highlights the importance of security and proper software engineering of blockchain-based contracts.

Safety · ethereum/wiki Wiki

This document outlines collected security tips and techniques for smart contract development. The community is encouraged to keep this wiki updated: it becomes more complete as more contributions are added. Additional Requested Content We especially welcome content in the following areas: Writing upgradable contracts in Solidity — Colony. Solarstorm: A security exploit with Ethereum’s Solidity language, not just the DAO — Blockstack Blog. Simple Contracts are Better Contracts: What We Can Learn from the Meltdown of The DAO — Blockstack Blog. Smart contracts vs dumb contracts. Update 7/12 I merged the discussion of datachains and pornchains into a separate article which is now here: When I first entered the Bitcoin space the term “smart contract” had a very specific meaning: it was any transactional protocol built on top of Bitcoin whose basic functionality did not have to depend on trusting a third-party.

Smart contracts vs dumb contracts

In other words, a smart contract had the same requirements for trust as Bitcoin did – that the results were absolute and it was beyond the power of anyone to circumvent the intended behaviors of the system. Today, the term “smart contract” is used to refer to any kind of program or transactional protocol making use of the blockchain, period. The definition has become so very broad that it can more or less be applied to anything, but before I get side-tracked talking about that - I would like to revisit the early days and describe the things that have happened in recent years.

I think what happened was: people got greedy. Condition-Orientated Programming. Condition-Orientated Programming Condition-Orientated Programming (COP) is subdomain of contract-orientated programming, and sits as a hybrid approach between functional and imperative programming.

Condition-Orientated Programming

Vitalik Buterin

Gavin Wood. Jeffrey Wilcke. Projets de DApps (Decentralized Applications) Ether.Fund : Ethereum Resources. Ethereum Playlists on YouTube. Ethereum Forum. Daily Chat Forum. Ethereum, l'ether (ETH), la blockchain, les smart-contracts... A Current List of Use Cases for Ethereum. A Current List of Use Cases for Ethereum People often ask me, “What is Ethereum used for?

A Current List of Use Cases for Ethereum

What does it do?” Even for those who understand blockchains, Ethereum, and smart contracts, pointing to specific use cases can sometimes be surprisingly difficult. So let’s explore. The purpose of this guide is to act as a reference point for new members of the community who can sometimes become overwhelmed by the current disorganized nature of news flow. The themes in the following apps are trust minimization/elimination, diversity, and disruption. In Use Today Payment System The primary use case of Bitcoin also applies to the Ethereum network. Gold Investing The team at Digix has engineered a method for anyone to buy gold in tokenized form on the Ethereum blockchain.

Crowdfunding Kickstarter, Indiegogo, and others have dominated the crowdfunding space for some years now. Corporate Finance At the start of May, the largest crowdfund in history began with the launch of TheDAO. In Development Web Hosting. Ethereum.