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

View File

@ -1,4 +1,4 @@
APP_VERSION=0.8.2
APP_VERSION=0.8.3
NEXT_PUBLIC_PINATA_ENDPOINT_URL=https://api.pinata.cloud/pinning/pinFileToIPFS
NEXT_PUBLIC_SG721_CODE_ID=2595

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}`),

View File

@ -1,6 +1,6 @@
{
"name": "stargaze-studio",
"version": "0.8.2",
"version": "0.8.3",
"workspaces": [
"packages/*"
],