Skip to content

Commit

Permalink
Add oysternet config
Browse files Browse the repository at this point in the history
  • Loading branch information
willclarktech committed Jun 8, 2021
1 parent 4cc6a4e commit d704a41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"start:base": "react-scripts start",
"start": "yarn start:musselnet",
"start:musselnet": "REACT_APP_NETWORK=musselnet yarn start:base",
"start:oysternet": "REACT_APP_NETWORK=oysternet yarn start:base",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
Expand Down
6 changes: 5 additions & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ const musselnet: AppConfig = {
rpcUrl: "https://rpc.musselnet.cosmwasm.com",
};

const configs: NetworkConfigs = { local, musselnet };
const oysternet: AppConfig = {
rpcUrl: "rpc.oysternet.cosmwasm.com",
};

const configs: NetworkConfigs = { local, musselnet, oysternet };

function getAppConfig(): AppConfig {
const network = process.env.REACT_APP_NETWORK;
Expand Down

0 comments on commit d704a41

Please sign in to comment.