From 8e8a04559cb8deff744412d716ba38680d924be8 Mon Sep 17 00:00:00 2001 From: Boris Mann Date: Thu, 20 Dec 2018 12:09:37 -0800 Subject: [PATCH] Basic Jekyll site with just-the-docs theme --- .gitignore | 3 + 404.html | 24 +++ Gemfile | 31 +++ Gemfile.lock | 72 +++++++ _config.yml | 23 +++ _data/chains.json | 186 ++++++++++++++++++ _posts/2018-12-20-welcome-to-jekyll.markdown | 25 +++ about.md | 9 + chains.json | 191 +------------------ index.md | 30 +++ 10 files changed, 408 insertions(+), 186 deletions(-) create mode 100644 .gitignore create mode 100644 404.html create mode 100644 Gemfile create mode 100644 Gemfile.lock create mode 100644 _config.yml create mode 100644 _data/chains.json create mode 100644 _posts/2018-12-20-welcome-to-jekyll.markdown create mode 100644 about.md create mode 100644 index.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..45c15053 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +_site +.sass-cache +.jekyll-metadata diff --git a/404.html b/404.html new file mode 100644 index 00000000..c472b4ea --- /dev/null +++ b/404.html @@ -0,0 +1,24 @@ +--- +layout: default +--- + + + +
+

404

+ +

Page not found :(

+

The requested page could not be found.

+
diff --git a/Gemfile b/Gemfile new file mode 100644 index 00000000..3a7d1dd5 --- /dev/null +++ b/Gemfile @@ -0,0 +1,31 @@ +source "https://rubygems.org" + +# Hello! This is where you manage which Jekyll version is used to run. +# When you want to use a different version, change it below, save the +# file and run `bundle install`. Run Jekyll with `bundle exec`, like so: +# +# bundle exec jekyll serve +# +# This will help ensure the proper Jekyll version is running. +# Happy Jekylling! +gem "jekyll", "~> 3.8.5" + +# This is the default theme for new Jekyll sites. You may change this to anything you like. +# gem "minima", "~> 2.0" +gem "just-the-docs" + +# If you want to use GitHub Pages, remove the "gem "jekyll"" above and +# uncomment the line below. To upgrade, run `bundle update github-pages`. +# gem "github-pages", group: :jekyll_plugins + +# If you have any plugins, put them here! +group :jekyll_plugins do + gem "jekyll-feed", "~> 0.6" +end + +# Windows does not include zoneinfo files, so bundle the tzinfo-data gem +gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby] + +# Performance-booster for watching directories on Windows +gem "wdm", "~> 0.1.0" if Gem.win_platform? + diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 00000000..873b6938 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,72 @@ +GEM + remote: https://rubygems.org/ + specs: + addressable (2.5.2) + public_suffix (>= 2.0.2, < 4.0) + colorator (1.1.0) + concurrent-ruby (1.1.4) + em-websocket (0.5.1) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0.6.0) + eventmachine (1.2.7) + ffi (1.9.25) + forwardable-extended (2.6.0) + http_parser.rb (0.6.0) + i18n (0.9.5) + concurrent-ruby (~> 1.0) + jekyll (3.8.5) + addressable (~> 2.4) + colorator (~> 1.0) + em-websocket (~> 0.5) + i18n (~> 0.7) + jekyll-sass-converter (~> 1.0) + jekyll-watch (~> 2.0) + kramdown (~> 1.14) + liquid (~> 4.0) + mercenary (~> 0.3.3) + pathutil (~> 0.9) + rouge (>= 1.7, < 4) + safe_yaml (~> 1.0) + jekyll-feed (0.11.0) + jekyll (~> 3.3) + jekyll-sass-converter (1.5.2) + sass (~> 3.4) + jekyll-watch (2.1.2) + listen (~> 3.0) + just-the-docs (0.2.1) + jekyll (~> 3.8.5) + rake (~> 12.3.1) + kramdown (1.17.0) + liquid (4.0.1) + listen (3.1.5) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + ruby_dep (~> 1.2) + mercenary (0.3.6) + pathutil (0.16.2) + forwardable-extended (~> 2.6) + public_suffix (3.0.3) + rake (12.3.2) + rb-fsevent (0.10.3) + rb-inotify (0.10.0) + ffi (~> 1.0) + rouge (3.3.0) + ruby_dep (1.5.0) + safe_yaml (1.0.4) + sass (3.7.2) + sass-listen (~> 4.0.0) + sass-listen (4.0.0) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + +PLATFORMS + ruby + +DEPENDENCIES + jekyll (~> 3.8.5) + jekyll-feed (~> 0.6) + just-the-docs + tzinfo-data + +BUNDLED WITH + 1.16.3 diff --git a/_config.yml b/_config.yml new file mode 100644 index 00000000..bbdb44e0 --- /dev/null +++ b/_config.yml @@ -0,0 +1,23 @@ +title: EVM Networks +description: >- # this means to ignore newlines until "baseurl:" + A site to share information about EVM powered networks. +baseurl: "" # the subpath of your site, e.g. /blog +url: "" # the base hostname & protocol for your site, e.g. http://example.com + +# Build settings +markdown: kramdown +theme: just-the-docs +plugins: + - jekyll-feed + +# Exclude from processing. +# The following items will not be processed, by default. Create a custom list +# to override the default setting. +# exclude: +# - Gemfile +# - Gemfile.lock +# - node_modules +# - vendor/bundle/ +# - vendor/cache/ +# - vendor/gems/ +# - vendor/ruby/ diff --git a/_data/chains.json b/_data/chains.json new file mode 100644 index 00000000..c1b1c1a0 --- /dev/null +++ b/_data/chains.json @@ -0,0 +1,186 @@ +[ + { + "name": "Ethereum Mainnet", + "short_name": "eth", + "chain": "ETH", + "network": "mainnet", + "chain_id": 1, + "network_id": 1 + }, + { + "name": "Expanse Network", + "short_name": "exp", + "chain": "EXP", + "network": "mainnet", + "chain_id": 2, + "network_id": 1 + }, + { + "name": "Ethereum Testnet Ropsten", + "short_name": "rop", + "chain": "ETH", + "network": "ropsten", + "chain_id": 3, + "network_id": 3 + }, + { + "name": "Ethereum Testnet Rinkeby", + "short_name": "rin", + "chain": "ETH", + "network": "rinkeby", + "chain_id": 4, + "network_id": 4 + }, + { + "name": "Ethereum Testnet Görli", + "short_name": "gor", + "chain": "ETH", + "network": "goerli", + "chain_id": 5, + "network_id": 5 + }, + { + "name": "Ubiq Network Mainnet", + "short_name": "ubq", + "chain": "UBQ", + "network": "mainnet", + "chain_id": 8, + "network_id": 1 + }, + { + "name": "Ubiq Network Testnet", + "short_name": "tubq", + "chain": "UBQ", + "network": "mainnet", + "chain_id": 9, + "network_id": 2 + }, + { + "name": "Ethereum Social", + "short_name": "etsc", + "chain": "ETSC", + "network": "mainnet", + "chain_id": 28, + "network_id": 1 + }, + { + "name": "Rootstock Mainnet", + "short_name": "rsk", + "chain": "RSK", + "network": "mainnet", + "chain_id": 30, + "network_id": 1 + }, + { + "name": "Rootstock Testnet", + "short_name": "trsk", + "chain": "RSK", + "network": "testnet", + "chain_id": 30, + "network_id": 2 + }, + { + "name": "GoChain", + "short_name": "go", + "chain": "GO", + "network": "mainnet", + "chain_id": 30, + "network_id": 1 + }, + { + "name": "Ethereum Classic Mainnet", + "short_name": "etc", + "chain": "ETC", + "network": "mainnet", + "chain_id": 61, + "network_id": 1 + }, + { + "name": "Ethereum Classic Testnet", + "short_name": "tetc", + "chain": "ETC", + "network": "testnet", + "chain_id": 62, + "network_id": 2 + }, + { + "name": "Ellaism", + "short_name": "ella", + "chain": "ELLA", + "network": "mainnet", + "chain_id": 64, + "network_id": 1 + }, + { + "name": "Mix", + "short_name": "mix", + "chain": "MIX", + "network": "mainnet", + "chain_id": 76, + "network_id": 1 + }, + { + "name": "POA Network Sokol", + "short_name": "poa", + "chain": "POA", + "network": "sokol", + "chain_id": 77, + "network_id": 1 + }, + { + "name": "POA Network Core", + "short_name": "skl", + "chain": "POA", + "network": "core", + "chain_id": 99, + "network_id": 2 + }, + { + "name": "xDAI Chain", + "short_name": "dai", + "chain": "DAI", + "network": "mainnet", + "chain_id": 100, + "network_id": 1 + }, + { + "name": "Callisto Mainnet", + "short_name": "CLO", + "chain": "CLO", + "network": "mainnet", + "chain_id": 820, + "network_id": 1 + }, + { + "name": "Callisto Testnet", + "short_name": "tclo", + "chain": "CLO", + "network": "testnet", + "chain_id": 821, + "network_id": 2 + }, + { + "name": "Atheios", + "short_name": "ath", + "chain": "ATH", + "network": "mainnet", + "chain_id": 1620, + "network_id": 1 + }, + { + "name": "EtherGem", + "short_name": "egem", + "chain": "EGEM", + "network": "mainnet", + "chain_id": 1987, + "network_id": 1 + }, + { + "name": "EOS Classic", + "short_name": "eosc", + "chain": "EOSC", + "network": "mainnet", + "chain_id": 2018, + "network_id": 1 + } +] diff --git a/_posts/2018-12-20-welcome-to-jekyll.markdown b/_posts/2018-12-20-welcome-to-jekyll.markdown new file mode 100644 index 00000000..f59e87e4 --- /dev/null +++ b/_posts/2018-12-20-welcome-to-jekyll.markdown @@ -0,0 +1,25 @@ +--- +layout: post +title: "Welcome to Jekyll!" +date: 2018-12-20 11:48:28 -0800 +categories: jekyll update +--- +You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated. + +To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works. + +Jekyll also offers powerful support for code snippets: + +{% highlight ruby %} +def print_hi(name) + puts "Hi, #{name}" +end +print_hi('Tom') +#=> prints 'Hi, Tom' to STDOUT. +{% endhighlight %} + +Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk]. + +[jekyll-docs]: https://jekyllrb.com/docs/home +[jekyll-gh]: https://github.com/jekyll/jekyll +[jekyll-talk]: https://talk.jekyllrb.com/ diff --git a/about.md b/about.md new file mode 100644 index 00000000..9943bcf4 --- /dev/null +++ b/about.md @@ -0,0 +1,9 @@ +--- +layout: default +title: About +permalink: /about/ +--- + +Information about all of the EVM powered networks. + +Get involved in the [Github repo](https://github.com/spadebuilders/chains). diff --git a/chains.json b/chains.json index c1b1c1a0..757b1104 100644 --- a/chains.json +++ b/chains.json @@ -1,186 +1,5 @@ -[ - { - "name": "Ethereum Mainnet", - "short_name": "eth", - "chain": "ETH", - "network": "mainnet", - "chain_id": 1, - "network_id": 1 - }, - { - "name": "Expanse Network", - "short_name": "exp", - "chain": "EXP", - "network": "mainnet", - "chain_id": 2, - "network_id": 1 - }, - { - "name": "Ethereum Testnet Ropsten", - "short_name": "rop", - "chain": "ETH", - "network": "ropsten", - "chain_id": 3, - "network_id": 3 - }, - { - "name": "Ethereum Testnet Rinkeby", - "short_name": "rin", - "chain": "ETH", - "network": "rinkeby", - "chain_id": 4, - "network_id": 4 - }, - { - "name": "Ethereum Testnet Görli", - "short_name": "gor", - "chain": "ETH", - "network": "goerli", - "chain_id": 5, - "network_id": 5 - }, - { - "name": "Ubiq Network Mainnet", - "short_name": "ubq", - "chain": "UBQ", - "network": "mainnet", - "chain_id": 8, - "network_id": 1 - }, - { - "name": "Ubiq Network Testnet", - "short_name": "tubq", - "chain": "UBQ", - "network": "mainnet", - "chain_id": 9, - "network_id": 2 - }, - { - "name": "Ethereum Social", - "short_name": "etsc", - "chain": "ETSC", - "network": "mainnet", - "chain_id": 28, - "network_id": 1 - }, - { - "name": "Rootstock Mainnet", - "short_name": "rsk", - "chain": "RSK", - "network": "mainnet", - "chain_id": 30, - "network_id": 1 - }, - { - "name": "Rootstock Testnet", - "short_name": "trsk", - "chain": "RSK", - "network": "testnet", - "chain_id": 30, - "network_id": 2 - }, - { - "name": "GoChain", - "short_name": "go", - "chain": "GO", - "network": "mainnet", - "chain_id": 30, - "network_id": 1 - }, - { - "name": "Ethereum Classic Mainnet", - "short_name": "etc", - "chain": "ETC", - "network": "mainnet", - "chain_id": 61, - "network_id": 1 - }, - { - "name": "Ethereum Classic Testnet", - "short_name": "tetc", - "chain": "ETC", - "network": "testnet", - "chain_id": 62, - "network_id": 2 - }, - { - "name": "Ellaism", - "short_name": "ella", - "chain": "ELLA", - "network": "mainnet", - "chain_id": 64, - "network_id": 1 - }, - { - "name": "Mix", - "short_name": "mix", - "chain": "MIX", - "network": "mainnet", - "chain_id": 76, - "network_id": 1 - }, - { - "name": "POA Network Sokol", - "short_name": "poa", - "chain": "POA", - "network": "sokol", - "chain_id": 77, - "network_id": 1 - }, - { - "name": "POA Network Core", - "short_name": "skl", - "chain": "POA", - "network": "core", - "chain_id": 99, - "network_id": 2 - }, - { - "name": "xDAI Chain", - "short_name": "dai", - "chain": "DAI", - "network": "mainnet", - "chain_id": 100, - "network_id": 1 - }, - { - "name": "Callisto Mainnet", - "short_name": "CLO", - "chain": "CLO", - "network": "mainnet", - "chain_id": 820, - "network_id": 1 - }, - { - "name": "Callisto Testnet", - "short_name": "tclo", - "chain": "CLO", - "network": "testnet", - "chain_id": 821, - "network_id": 2 - }, - { - "name": "Atheios", - "short_name": "ath", - "chain": "ATH", - "network": "mainnet", - "chain_id": 1620, - "network_id": 1 - }, - { - "name": "EtherGem", - "short_name": "egem", - "chain": "EGEM", - "network": "mainnet", - "chain_id": 1987, - "network_id": 1 - }, - { - "name": "EOS Classic", - "short_name": "eosc", - "chain": "EOSC", - "network": "mainnet", - "chain_id": 2018, - "network_id": 1 - } -] +--- +layout: none +permalink: chains.json +--- +{% include_relative _data/chains.json %} diff --git a/index.md b/index.md new file mode 100644 index 00000000..206250a3 --- /dev/null +++ b/index.md @@ -0,0 +1,30 @@ +--- +layout: home +--- + +# EVM Networks + +A list of EVM networks. + +This table is also available as a JSON feed at [chains.json](/chains.json). + + + + + + + + + + +{% for chain in site.data.chains %} + + + + + + + + +{% endfor %} +
Chain IDNameShort NameChainNetworkNetwork ID
{{ chain.chain_id }}{{ chain.name }}{{ chain.short_name }}{{ chain.chain }}{{ chain.network }}{{ chain.network_id }}
\ No newline at end of file