Skip to content

Commit

Permalink
Implement ledger integration improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jurevans committed Jul 20, 2023
1 parent 6d82708 commit 5b0fc52
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 38 deletions.
3 changes: 2 additions & 1 deletion apps/namada-interface/.prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": false
"singleQuote": false,
"bracketSpacing": false
}
18 changes: 0 additions & 18 deletions apps/namada-interface/src/schema/index.ts

This file was deleted.

29 changes: 10 additions & 19 deletions apps/namada-interface/src/types/environment.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,18 @@ declare global {
NODE_ENV: "development" | "production";
REACT_APP_LOCAL?: "true" | "false";

// Default ledger
REACT_APP_LEDGER_URL?: string;
REACT_APP_LEDGER_PORT?: string;
REACT_APP_CHAIN_ID?: string;
REACT_APP_FAUCET?: string;
REACT_APP_NAMADA_ALIAS?: string;
REACT_APP_NAMADA_CHAIN_ID?: string;
REACT_APP_NAMADA_URL?: string;
REACT_APP_NAMADA_BECH32_PREFIX?: string;

// IBC Chain A
REACT_APP_CHAIN_A_ALIAS?: string;
REACT_APP_CHAIN_A_ID?: string;
REACT_APP_CHAIN_A_URL?: string;
REACT_APP_CHAIN_A_PORT?: string;
REACT_APP_CHAIN_A_FAUCET?: string;
REACT_APP_CHAIN_A_PORT_ID?: string;
REACT_APP_COSMOS_ALIAS?: string;
REACT_APP_COSMOS_CHAIN_ID?: string;
REACT_APP_COSMOS_CHAIN_URL?: string;

// IBC Chain B
REACT_APP_CHAIN_B_ALIAS?: string;
REACT_APP_CHAIN_B_ID?: string;
REACT_APP_CHAIN_B_URL?: string;
REACT_APP_CHAIN_B_PORT?: string;
REACT_APP_CHAIN_B_FAUCET?: string;
REACT_APP_CHAIN_B_PORT_ID?: string;
REACT_APP_OSMOSIS_ALIAS?: string;
REACT_APP_OSMOSIS_CHAIN_ID?: string;
REACT_APP_OSMOSIS_URL?: string;

// CoinGecko
REACT_APP_API_URL?: string;
Expand Down

0 comments on commit 5b0fc52

Please sign in to comment.