You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently useLcdClient() hook from wallet-kit can only be called when wallet is connected, we used to have a static wallet from the old wallet-provider library to use when user didn't connect the wallet on the app, but it's no longer available, so in order to display dummy data we need to set LCD manually
setLcd(LCDClient({
[CHAIN_ID]: {
lcd: LCD_ENDPOINT,
chainID: CHAIN_ID,
gasAdjustment: 3.5,
gasPrices: { [CHAIN_DENOM]: 0.015 },
prefix: CHAIN_PREFIX, // bech32 prefix, used by the LCD to understand which is the right chain to query
},
}))
Ideally we can just use useLcdClient()
The text was updated successfully, but these errors were encountered:
eng4753
changed the title
switch to useLcdClient after it supports static wallet
[improvement] switch to useLcdClient after it supports static wallet
Jul 2, 2023
eng4753
changed the title
[improvement] switch to useLcdClient after it supports static wallet
switch to useLcdClient after it supports static wallet
Jul 5, 2023
currently
useLcdClient()
hook fromwallet-kit
can only be called when wallet is connected, we used to have a static wallet from the oldwallet-provider
library to use when user didn't connect the wallet on the app, but it's no longer available, so in order to display dummy data we need to set LCD manuallyIdeally we can just use
useLcdClient()
The text was updated successfully, but these errors were encountered: