Skip to content

Commit

Permalink
chore: change endpoint (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
nick134-bit authored Jan 23, 2025
1 parent 68d2248 commit e061d6d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion constants/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ export const POOL_INFO_BASE_URL =

export const COSMOS_KIT_WALLET_KEY = 'cosmos-kit@2:core//current-wallet'

export const API_URLS = ['https://9c0pbpbijhepr6ijm4lk85uiuc.ingress.europlots.com']
export const API_URLS = ['https://api.whitewhale.money', 'https://9c0pbpbijhepr6ijm4lk85uiuc.ingress.europlots.com']

export const ADV_MEMO = 'app.whitewhale.money'
6 changes: 3 additions & 3 deletions hooks/useClients.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
cosmosProtoRegistry,
cosmwasmAminoConverters,
cosmwasmProtoRegistry,
} from '@nick134-bit/nicks-injectivejs/dist/codegen'
} from '@nick134-bit/nicks-injectivejs'

export const useClients = (walletChainName: string) => {
const {
Expand All @@ -18,7 +18,7 @@ export const useClients = (walletChainName: string) => {
isWalletConnected,
setDefaultSignOptions,
getStargateClient,
wallet, getRpcEndpoint, getOfflineSignerDirect } = useChain(walletChainName)
wallet, getRpcEndpoint, getOfflineSigner } = useChain(walletChainName)

if (isWalletConnected && !wallet?.name.includes('station')) {
try {
Expand All @@ -44,7 +44,7 @@ export const useClients = (walletChainName: string) => {
queryKey: ['injectiveSigningClient'],
queryFn: async () => {
try {
const offlineSigner: any = await getOfflineSignerDirect()
const offlineSigner: any = await getOfflineSigner()
const protoRegistry: ReadonlyArray<[string, GeneratedType]> = [
...cosmosProtoRegistry,
...cosmwasmProtoRegistry,
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"@cosmjs/launchpad": "0.27.1",
"@cosmjs/proto-signing": "0.32.2",
"@cosmos-kit/cosmostation": "^2.8.0",
"@cosmos-kit/keplr": "^2.8.0",
"@cosmos-kit/galaxy-station": "^2.6.2",
"@cosmos-kit/keplr": "^2.8.0",
"@cosmos-kit/leap": "^2.8.0",
"@cosmos-kit/ninji": "^2.8.0",
"@cosmos-kit/okxwallet": "^2.6.0",
Expand All @@ -36,18 +36,18 @@
"@emotion/styled": "^11",
"@injectivelabs/sdk-ts": "1.14.13",
"@next/bundle-analyzer": "^14.2.3",
"@nick134-bit/nicks-injectivejs": "^0.0.3",
"@nick134-bit/nicks-injectivejs": "^0.0.4",
"@tanstack/react-table": "^8.16.0",
"@terra-money/feather.js": "^2.0.4",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"bignumber.js": "^9.1.2",
"chain-registry": "^1.63.61",
"dayjs": "^1.11.11",
"chain-registry": "^1.69.102",
"dayjs": "^1.11.13",
"eslint-plugin-import-helpers": "^1.3.1",
"intercept-stdout": "^0.1.2",
"isomorphic-unfetch": "^4.0.2",
"jsoneditor": "^10.0.3",
"jsoneditor": "^10.1.2",
"junoblocks": "^0.2.93",
"lodash": "^4.17.21",
"next": "14.2.3",
Expand All @@ -65,14 +65,14 @@
"devDependencies": {
"@keplr-wallet/types": "^0.12.88",
"@types/react": "18.2.57",
"autoprefixer": "^10.4.19",
"autoprefixer": "^10.4.20",
"eslint": "^8.56.0",
"eslint-config-next": "^14.1.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"typescript": "^5.4.5"
"husky": "^9.1.7",
"lint-staged": "^15.3.0",
"postcss": "^8.4.49",
"prettier": "^3.4.2",
"typescript": "^5.7.2"
},
"lint-staged": {
"**/*.{ts,md,tsx}": "prettier --write"
Expand Down
2 changes: 1 addition & 1 deletion public/mainnet/injective-1/pools_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@
],
"lp_token": "factory/inj1u0gpveexg2uns3qhehyppnealkhycntvj93hpf/uLP",
"swap_address": "inj1u0gpveexg2uns3qhehyppnealkhycntvj93hpf",
"staking_address": "",
"staking_address": "inj13cpjjj7rhxrdrkl4l258phz735aeded45hw3lt",
"rewards_tokens": []
}
],
Expand Down

0 comments on commit e061d6d

Please sign in to comment.