Skip to content

Build Ethereum DApp UI's in a functional style, along with the incredible pleasantries of Elm's static typing, using this Web3.js wrapper.

License

Notifications You must be signed in to change notification settings

secure-vote/elm-web3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elm-web3

Installation

If needed, install the Elm things

npm install -g elm elm-live elm-github-install

then add to your elm-package.json

 "dependency-sources": { "cmditch/elm-web3": "https://github.com/cmditch/elm-web3" }

and run elm-install.

See here for an example.

Example App

First Install Geth
https://geth.ethereum.org/downloads/

git clone https://github.com/cmditch/elm-web3.git
cd elm-web3/test
npm run test

Run the local Geth testnet in a new terminal window
Turn on mining to test txs/subscriptions.
NOTE: DAG takes a bit of time to build on the first run.

npm run testnet
miner.start() // within geth console

Open http://localhost:8000/


Time traveling debugger

alt text

Code/Pages for every function in web3

alt text


Still a number of big things to tick off the list:

  • Documentation
  • Example App(s)
  • Code Generator for Elm interfaces to Contracts (in Haskell 😄 )
  • Revising Types / Decoders in the face of Byzantium changes
  • Better tests. More automated, and without reliance on browser.
Feed the tree some ether

🌳Ξ🌳Ξ🌳

About

Build Ethereum DApp UI's in a functional style, along with the incredible pleasantries of Elm's static typing, using this Web3.js wrapper.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elm 97.4%
  • JavaScript 2.3%
  • HTML 0.3%