open-bounty/macchiato-app
Dmitry Novotochinov 153cc5f6be fixes #169 remove http endpoints 2017-11-16 21:16:25 +03:00
..
env add macchiato example app using cljs-web3. refs #169 2017-11-16 18:57:13 +03:00
public/css add macchiato example app using cljs-web3. refs #169 2017-11-16 18:57:13 +03:00
src/macchiato_web3_example fixes #169 remove http endpoints 2017-11-16 21:16:25 +03:00
test/macchiato_web3_example add macchiato example app using cljs-web3. refs #169 2017-11-16 18:57:13 +03:00
Dockerfile add macchiato example app using cljs-web3. refs #169 2017-11-16 18:57:13 +03:00
README.md add macchiato example app using cljs-web3. refs #169 2017-11-16 18:57:13 +03:00
package-lock.json add macchiato example app using cljs-web3. refs #169 2017-11-16 18:57:13 +03:00
package.json add macchiato example app using cljs-web3. refs #169 2017-11-16 18:57:13 +03:00
project.clj add macchiato example app using cljs-web3. refs #169 2017-11-16 18:57:13 +03:00
system.properties add macchiato example app using cljs-web3. refs #169 2017-11-16 18:57:13 +03:00

README.md

macchiato-web3-example

Example app built with Macchiato framework and cljs-web3 library

Run

  1. Start figwheel: lein build
  2. Run node: node target/out/macchiato-web3-example.js
  3. Start test rpc: testrpc -p 8545

Available endpoints

  • curl http://localhost:3000/accounts eth accounts
  • curl http://localhost:3000/balance eth balance of the first account