Update wallet connection options

This commit is contained in:
Serkan Reis
2023-12-08 08:37:21 +03:00
parent fde773e2f2
commit ef7bed1479
3 changed files with 15 additions and 2 deletions
+13
View File
@@ -16,6 +16,19 @@ export const WalletProvider = ({ children }: { children: ReactNode }) => {
<ChainProvider
assetLists={assets}
chains={chains}
endpointOptions={{
endpoints: {
stargaze: {
rpc: ['https://rpc.stargaze-apis.com'],
},
stargazetestnet: {
rpc: ['https://rpc.elgafar-1.stargaze-apis.com'],
},
},
}}
sessionOptions={{
duration: 1000 * 60 * 60 * 12, // 12 hours
}}
signerOptions={{
signingCosmwasm: () => ({
gasPrice: GasPrice.fromString(`${gasPrice}${feeToken}`),