https://github.com/makevoid/try-deno
trying deno - code sample - get the latest eth mainnet block number - dockerized
https://github.com/makevoid/try-deno
boilerplate code-sample deno dinatra docker docker-compose eth mainnet sample sinatra
Last synced: 3 months ago
JSON representation
trying deno - code sample - get the latest eth mainnet block number - dockerized
- Host: GitHub
- URL: https://github.com/makevoid/try-deno
- Owner: makevoid
- Created: 2020-05-08T19:45:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-08T13:55:43.000Z (over 4 years ago)
- Last Synced: 2025-05-14T01:58:59.165Z (5 months ago)
- Topics: boilerplate, code-sample, deno, dinatra, docker, docker-compose, eth, mainnet, sample, sinatra
- Language: JavaScript
- Homepage:
- Size: 72.3 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# try-deno
Trying out Deno's Dinatra (using JS)
This is a sample API that exposes an ethereum blockchain API (you can use it to read blocks information).
### Dependencies
- A Geth (go-ethereum) full node, exposing local rpc to localhost
The app queries a Geth / Ethereum node via its JSON RPC API.
### run
deno run --allow-net main.js
then visit http://localhost:8080/
### run with Docker
docker-compose up
then visit http://localhost/