153cc5f6be | ||
---|---|---|
.. | ||
env | ||
public/css | ||
src/macchiato_web3_example | ||
test/macchiato_web3_example | ||
Dockerfile | ||
README.md | ||
package-lock.json | ||
package.json | ||
project.clj | ||
system.properties |
README.md
macchiato-web3-example
Example app built with Macchiato framework and cljs-web3 library
Run
- Start figwheel:
lein build
- Run node:
node target/out/macchiato-web3-example.js
- Start test rpc:
testrpc -p 8545
Available endpoints
curl http://localhost:3000/accounts
eth accountscurl http://localhost:3000/balance
eth balance of the first account