Skip to content
This repository has been archived by the owner on Feb 27, 2021. It is now read-only.

Commit

Permalink
feat: refactor multi-geth to core-geth
Browse files Browse the repository at this point in the history
  • Loading branch information
zcstarr committed Mar 23, 2020
1 parent 43d9176 commit ef60c0f
Show file tree
Hide file tree
Showing 16 changed files with 168 additions and 98 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,17 @@ npm run service-runner
```
*Jade Service Runner will run at http://localhost:8002/.*

#### Multi-Geth & Service Runner
#### Core-Geth & Service Runner

By default, multi-geth service will run ETC mainnet. Jade Service runner conveniently contains the service in the `/.services/` directory of project.
By default, core-geth service will run ETC mainnet. Jade Service runner conveniently contains the service in the `/.services/` directory of project.

```bash
# ./services/
.
└── multi-geth
└── 1.9.0
└── multi-geth
└── 1.9.0
└── core-geth
└── 1.11.2
└── core-geth
└── 1.11.2
└── classic
├── geth
│   ├── chaindata
Expand All @@ -101,14 +101,14 @@ npm start

`?rpcUrl=` Set custom rpc url.

Example: https://expedition.dev/?rpcUrl=https://services.jade.builders/multi-geth/kotti/1.9.2
Example: https://expedition.dev/?rpcUrl=https://services.jade.builders/core-geth/kotti/1.11.2

#### Configure default urls via environment variables

Override eth url

```
REACT_APP_ETH_RPC_URL=https://services.jade.builders/multi-geth/mainnet/1.9.2 npm start
REACT_APP_ETH_RPC_URL=https://services.jade.builders/core-geth/mainnet/1.11.2 npm start
```

**OR**
Expand Down
188 changes: 129 additions & 59 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@etclabscore/eserialize": "^1.0.2",
"@etclabscore/ethereum-json-rpc": "1.2.2",
"@etclabscore/ethereum-json-rpc-specification": "git+https://github.com/etclabscore/ethereum-json-rpc-specification.git",
"@etclabscore/jade-service-runner-client": "^1.7.4",
"@etclabscore/jade-service-runner-client": "^1.9.0",
"@material-ui/core": "^4.5.2",
"@material-ui/icons": "^4.5.1",
"@material-ui/styles": "^4.5.2",
Expand Down Expand Up @@ -61,7 +61,7 @@
"victory": "^33.1.3"
},
"devDependencies": {
"@etclabscore/jade-service-runner": "^1.7.4",
"@etclabscore/jade-service-runner": "^1.9.0",
"@semantic-release/exec": "^3.3.8",
"@types/bignumber.js": "^4.0.3",
"@types/jest": "^21.1.6",
Expand Down
Loading

0 comments on commit ef60c0f

Please sign in to comment.