Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
f323b62
Bump lodash from 4.17.19 to 4.17.21 in /client
dependabot[bot] Jul 12, 2023
1d701ec
Bump elliptic from 6.5.3 to 6.5.4 in /client
dependabot[bot] Jul 12, 2023
58eeaf0
Bump ssri from 6.0.1 to 6.0.2 in /client
dependabot[bot] Jul 12, 2023
3ac0841
Bump hosted-git-info from 2.8.5 to 2.8.9 in /client
dependabot[bot] Jul 12, 2023
6182a66
Bump y18n from 3.2.1 to 3.2.2 in /client
dependabot[bot] Jul 12, 2023
da4131f
Bump yargs-parser from 5.0.0 to 5.0.1 in /client
dependabot[bot] Jul 12, 2023
85746c9
Bump github.com/ethereum/go-ethereum from 1.9.10 to 1.10.22
dependabot[bot] Jul 12, 2023
02f1c9e
Merge pull request #1 from ronaldstoner/dependabot/npm_and_yarn/clien…
Jul 12, 2023
fff78c1
Merge pull request #2 from ronaldstoner/dependabot/npm_and_yarn/clien…
Jul 12, 2023
016bf32
Merge pull request #3 from ronaldstoner/dependabot/npm_and_yarn/clien…
Jul 12, 2023
667257c
Merge pull request #4 from ronaldstoner/dependabot/npm_and_yarn/clien…
Jul 12, 2023
9a08707
Merge pull request #5 from ronaldstoner/dependabot/npm_and_yarn/clien…
Jul 12, 2023
328f73a
Merge pull request #6 from ronaldstoner/dependabot/npm_and_yarn/clien…
Jul 12, 2023
811b79d
Merge pull request #7 from ronaldstoner/dependabot/go_modules/github.…
Jul 12, 2023
d9b89ce
Bump json5 from 1.0.1 to 1.0.2 in /client
dependabot[bot] Jul 12, 2023
f1feae0
Merge pull request #8 from ronaldstoner/dependabot/npm_and_yarn/clien…
Jul 12, 2023
54e3e90
Node 10.13.0 yarn upgrade
Jul 12, 2023
d3182d9
node v14.21.3 & yarn upgrade
Jul 12, 2023
8d5f80f
Change server start binary name
Jul 12, 2023
6a749c2
Update README.md
Jul 12, 2023
b6162a2
systemd service definition
Jul 12, 2023
9c4924e
systemd service for client
Jul 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: bin/ethdenver2020
web: bin/start_server
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ethsplainer 2.0
ETHDenver 2020 Hackathon Project
Originally an ETHDenver 2020 Hackathon Project and Finalist

## Purpose
To provide an education tool to help new and existing Ethereum users better understand the data and construction of things like xpubs, transactions, and raw tx data - all within a super sweet UI!
Expand All @@ -23,7 +23,15 @@ This project was built in a 36 hour hackathon and has many aspects that can be i

git clone [repo]
go build
./ethdenver2020
./start_server

### Systemd
For linux systems the server may be ran as a service that starts upon boot.

sudo cp systemd/ethsplainer-server.service /etc/systemd/system/ # Copy service definition
sudo systemctl enable ethsplainer-server.service # Enable service
sudo service ethsplainer-server restart # Restart service
journalctl -f -u ethsplainer-server # Service logs

## Client Instructions

Expand Down
3 changes: 2 additions & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
"@emotion/styled": "^10.0.27",
"axios": "^0.21.1",
"emotion-theming": "^10.0.27",
"lodash": "^4.17.19",
"lodash": "^4.17.21",
"nes-react": "^1.0.2",
"next": "9.3.2",
"node-sass": "^4.14.1",
"react": "16.12.0",
"react-dom": "16.12.0"
}
Expand Down
3,581 changes: 1,942 additions & 1,639 deletions client/yarn.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/solipsis/ethdenver2020
module github.com/solipsis/start_server

go 1.13

require (
github.com/btcsuite/btcutil v1.0.1
github.com/ethereum/go-ethereum v1.9.10
github.com/ethereum/go-ethereum v1.10.22
)
605 changes: 534 additions & 71 deletions go.sum

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions systemd/ethsplainer-client.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[Unit]
Description=Ethsplainer Web Front End Client
After=hostname-register.service

[Service]
User=root
Group=root
WorkingDirectory=/home/ubuntu/Ethsplainer/client

ExecStart=/usr/bin/yarn start -p 80
Type=simple
Restart=always
RestartSec=2
KillMode=process

# Logging
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=ethsplainer-client
SyslogLevel=info

# Sandboxing
ProtectSystem=strict
PrivateDevices=yes
PrivateTmp=yes
NoNewPrivileges=yes
ReadWritePaths=/home/ubuntu/Ethsplainer/client

[Install]
WantedBy=multi-user.target
19 changes: 19 additions & 0 deletions systemd/ethsplainer-server.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[Unit]
Description=Ethsplainer Backend Server
After=network.target

[Service]
Type=simple
WorkingDirectory=/home/ubuntu/Ethsplainer
ExecStart=/home/ubuntu/Ethsplainer/start_server
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=ethsplainer-server
User=ubuntu
Group=ubuntu
Environment=PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/home/ubuntu/Ethsplainer

[Install]
WantedBy=multi-user.target