Is there an easy to access list of Solidity / Smart Contracts / Dapps source code examples?
Related information:
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.
Sign up to join this communityIs there an easy to access list of Solidity / Smart Contracts / Dapps source code examples?
Related information:
Please Edit Me to help keep this an up-to-date easily accessible resource. This is a community wiki post.
From euri10 below.
From How to verify Mist's standard multisig wallet using Etherscan tool? and Documentation On Multisig Wallet in Mist?.
NoterEth, pronounced "Notaryth", is a prototype notary and "Proof of Existence" DAPP. By submitting hashes of documents you can proof on a later date that you were privileged to certain information at a point in history. The transfer of documents can enable other contracts to allow certain access based on who owns a hash.
Working prototype.
From decypha in the reddit/r/ethereum post.
Basic string utilities for Solidity, optimized for low gas usage.
By @pipermerriam
from How can I modify bytes32 result to uint? by @euri10
.
Schedule calls to Ethereum contracts.
Create your own crypto-currency.
Grind up your Unicorn Tokens into dogfood meat.
A work-in-progress.
A decentralised options exchange.
A decentralised exchange - alpha.
Posted by reddit user David_Moskowitz on Customizable Atomic Swap Contract (DGD for Ether).
A place where you can throw away your ethers.
Another place where you can throw away your ethers.
Working prototype.
You can't smoke this. It's a provably fair Lottery.
As posted by reddit user ethererik on GovernMental's 1100 ETH jackpot payout is stuck because it uses too much gas , the payout for this pyramid scheme may be stuck because the payout code requires the array of past creditors and amounts to be cleared, and this operation costs too much gas. The code to clear internal storage is:
creditorAddresses = new address[](0);
creditorAmounts = new uint[](0);
Apparently 1100 ethers are stuck in limbo.
WARNING - This is a situation Smart Contract developers need to be aware of!
The question How to clear large arrays without blowing the gas limit? has one answer to work around this issue. Thanks @Nick Johnson
.
A Pyramid scheme.
Become a King or Queen, get rich and immortalise your name.
Double your ether. Ponzi.
Another Ponzi game.
An image powered by the blockchain.
A decentralised and open public message board.
Working prototype.
Multi-sig, daily-limited account proxy/wallet - "The Ξthereum wallet. NOTE The wallet is not yet official released, can contain severe bugs!"
Maker is a Decentralized Autonomous Organization that creates and insures the dai stablecoin on the Ethereum blockchain.
There are several public dapps and libraries in the Maker ecosystem:
Higher level information about Maker can be found here:
Register a domain name for your Ethereum account.
A publicly verifiable Voting System - working prototype.
From aakilfernandes in the reddit/r/ethdev post - "Check out dapps.ethercast.com and look in repos, then search for .sol or .se files. Got a couple dozen here if you'd like to take a look."
From bertani in the reddit/r/ethdev post - "Here you can find some Oraclize-based ones ;)".
From inasacu in the reddit/r/ethdev post - "Try ether.camp".
https://github.com/ethereum/dapp-bin has some Solidity code such as wallet, scrypt, and library. This is where Christian Reitwiessner (Solidity author), Gavin Wood, and Vitalik Buterin, have placed some of their DApps. Overall worth exploring, though some may not have a UI, or maybe written in Serpent.
DappSys
dappsys is contract system framework. It is a collection of Solidity contracts (classes) to help manage multi-contract dapps on ethereum.
Audit
On February 24th, 2016, Piper Merriam completed and signed a code audit covering the state of Dappsys as of commit 4dceee5.
Installation
npm install dapple
dapple install https://github.com/nexusdev/dappsys
Github
I loved those baby steps when I got interested in Solidity. Some practical simple stuff.
Here you can check the full list of smart contracts people publishing today on the live network.
Most of them are really interesting study cases.