Skip to content

Commit

Permalink
Merge pull request #2263 from cosmos/fabo/easy-connect
Browse files Browse the repository at this point in the history
Fabo/easy connect
  • Loading branch information
faboweb authored Mar 14, 2019
2 parents d403c2f + 7202ea4 commit c9e7858
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
4 changes: 4 additions & 0 deletions PENDING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### Added

- [\#2263](https://github.com/cosmos/voyager/pull/2263) Added guide on how to connect via a local full node to any network @faboweb

### Fixed

- Fix for inflation on our testnet
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,17 @@ Once you've generated a local account, run Voyager on the default `local-testnet
yarn start
```

### Set up Cosmos Wallet on a different network

Start a full node for the network that you want to connect to (See [guide](https://cosmos.network/docs/gaia/join-mainnet.html#setting-up-a-new-node)).


Then start Cosmos Wallet without the local testnet:

```bash
yarn frontend & yarn connect
```

## Testing

If you would like to run all the tests you can run:
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@
"stargate": "./builds/Gaia/darwin_amd64/gaiacli rest-server --laddr 'tcp://localhost:9070' --home './builds/testnets/local-testnet/cli_home' --node 'http://localhost:26657' --chain-id 'local-testnet' --trust-node true",
"frontend": "cross-env NODE_ENV=development FAUCET='http://localhost:8080' webpack-dev-server --hot --colors --config webpack.renderer.config.js --port 9080 --content-base app/dist --https --mode=development",
"frontend:fixed-https": "yarn frontend --cert 'server_dev.crt' --key 'server_dev.key'",
"backend:new": "concurrently -k \"yarn stargate\" \"yarn proxy\" \"yarn nodes 2\"",
"backend": "concurrently -k \"yarn stargate\" \"yarn proxy\" \"yarn nodes 2 skip-rebuild\"",
"connect": "concurrently -k \"yarn stargate\" \"yarn proxy\"",
"backend:new": "concurrently -k \"yarn connect\" \"yarn nodes 2\"",
"backend": "concurrently -k \"yarn yarn connect\" \"yarn nodes 2 skip-rebuild\"",
"backend:fixed-https": "concurrently -k \"yarn nodes 2 skip-rebuild\" \"yarn stargate --ssl-certfile 'server_dev.crt' --ssl-keyfile 'server_dev.key'\""
},
"devDependencies": {
Expand Down Expand Up @@ -148,4 +149,4 @@
"vuelidate": "0.7.3",
"vuex": "3.0.1"
}
}
}

0 comments on commit c9e7858

Please sign in to comment.