Skip to content

Commit

Permalink
chore: add osmosis related .env variables to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chalabi2 committed Jan 14, 2025
1 parent dbeeec5 commit 5a0f4c1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ NEXT_PUBLIC_RPC_URL=
NEXT_PUBLIC_API_URL=
NEXT_PUBLIC_EXPLORER_URL=
NEXT_PUBLIC_INDEXER_URL=
NEXT_PUBLIC_OSMOSIS_TESTNET_CHAIN_ID=
NEXT_PUBLIC_OSMOSIS_TESTNET_RPC_URL=
NEXT_PUBLIC_OSMOSIS_TESTNET_API_URL=
NEXT_PUBLIC_OSMOSIS_TESTNET_EXPLORER_URL=
```

where
Expand All @@ -45,6 +49,10 @@ where
- `NEXT_PUBLIC_API_URL` is the chain API URL
- `NEXT_PUBLIC_EXPLORER_URL` is the block explorer URL
- `NEXT_PUBLIC_INDEXER_URL` is the YACI indexer URL
- `NEXT_PUBLIC_OSMOSIS_TESTNET_CHAIN_ID` is the osmosis testnet chain ID
- `NEXT_PUBLIC_OSMOSIS_TESTNET_RPC_URL` is the osmosis testnet RPC URL
- `NEXT_PUBLIC_OSMOSIS_TESTNET_API_URL` is the osmosis testnet API URL
- `NEXT_PUBLIC_OSMOSIS_TESTNET_EXPLORER_URL` is the osmosis testnet block explorer URL

### Development

Expand Down
1 change: 1 addition & 0 deletions config/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const env = {
rpcUrl: process.env.NEXT_PUBLIC_RPC_URL ?? '',
explorerUrl: process.env.NEXT_PUBLIC_EXPLORER_URL ?? '',
osmosisTestnetExplorerUrl: process.env.NEXT_PUBLIC_OSMOSIS_TESTNET_EXPLORER_URL ?? '',
osmosisTestnetChainId: process.env.NEXT_PUBLIC_OSMOSIS_TESTNET_CHAIN_ID ?? '',
web3AuthClientId: process.env.NEXT_PUBLIC_WEB3AUTH_CLIENT_ID ?? '',
walletConnectKey: process.env.NEXT_PUBLIC_WALLETCONNECT_KEY ?? '',
web3AuthNetwork: process.env.NEXT_PUBLIC_WEB3AUTH_NETWORK ?? '',
Expand Down

0 comments on commit 5a0f4c1

Please sign in to comment.