Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions examples/asset-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
"@cosmjs/cosmwasm-stargate": "0.29.5",
"@cosmjs/stargate": "0.29.5",
"@cosmology-ui/react": "0.1.8-beta.30",
"@cosmos-kit/core": "1.3.0",
"@cosmos-kit/cosmostation": "0.15.13",
"@cosmos-kit/keplr": "0.33.13",
"@cosmos-kit/leap": "0.14.12",
"@cosmos-kit/react": "1.3.11",
"@cosmos-kit/core": "2.0.3",
"@cosmos-kit/cosmostation": "2.0.3",
"@cosmos-kit/keplr": "2.0.3",
"@cosmos-kit/leap": "2.0.3",
"@cosmos-kit/react": "2.0.3",
"@emotion/styled": "11.10.6",
"bignumber.js": "9.1.1",
"chain-registry": "1.17.1",
Expand Down
7 changes: 3 additions & 4 deletions examples/asset-list/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ import { wallets as leapWallets } from '@cosmos-kit/leap';
import { assets, chains } from 'chain-registry';
import { GasPrice } from '@cosmjs/stargate';
import { SignerOptions } from '@cosmos-kit/core';
import { Chain } from '@chain-registry/types';
import { ThemeProvider, defaultTheme } from '@cosmology-ui/react';
import '@interchain-ui/react/styles';

function CreateCosmosApp({ Component, pageProps }: AppProps) {
const signerOptions: SignerOptions = {
signingStargate: (_chain: Chain) => {
signingStargate: () => {
return {
aminoTypes,
registry,
};
},
signingCosmwasm: (chain: Chain) => {
signingCosmwasm: (chain) => {
switch (chain.chain_name) {
case 'osmosis':
case 'osmosistestnet':
Expand Down Expand Up @@ -51,7 +51,6 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) {
},
},
}}
wrappedWithChakra={true}
signerOptions={signerOptions}
>
<Component {...pageProps} />
Expand Down
4 changes: 2 additions & 2 deletions examples/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"@cosmjs/amino": "0.29.5",
"@cosmjs/cosmwasm-stargate": "0.29.5",
"@cosmjs/stargate": "0.29.5",
"@cosmos-kit/core": "1.3.0",
"@cosmos-kit/react": "1.3.11",
"@cosmos-kit/core": "2.0.3",
"@cosmos-kit/react": "2.0.3",
"@emotion/react": "11.10.6",
"@emotion/styled": "11.10.6",
"@osmonauts/lcd": "^0.11.1",
Expand Down
11 changes: 5 additions & 6 deletions examples/contracts/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import '../styles/globals.css';
import type { AppProps } from 'next/app';
import { defaultTheme, ChainProvider } from '@cosmos-kit/react';
import { ChainProvider } from '@cosmos-kit/react';
import { ChakraProvider } from '@chakra-ui/react';
import { chainName } from '../config';
import { defaultTheme } from '../config';
import { wallets as keplrWallets } from '@cosmos-kit/keplr';
import { wallets as cosmostationWallets } from '@cosmos-kit/cosmostation';
import { wallets as leapWallets } from '@cosmos-kit/leap';
Expand All @@ -11,15 +11,15 @@ import { chains, assets } from 'chain-registry';
import { getSigningCosmosClientOptions } from '../codegen';

import { SignerOptions } from '@cosmos-kit/core';
import { Chain } from '@chain-registry/types';
import { GasPrice } from '@cosmjs/stargate';
import '@interchain-ui/react/styles';

function CreateCosmosApp({ Component, pageProps }: AppProps) {
const signerOptions: SignerOptions = {
signingStargate: (_chain: Chain) => {
signingStargate: () => {
return getSigningCosmosClientOptions();
},
signingCosmwasm: (chain: Chain) => {
signingCosmwasm: (chain) => {
switch (chain.chain_name) {
case 'osmosis':
case 'osmosistestnet':
Expand Down Expand Up @@ -56,7 +56,6 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) {
},
},
}}
wrappedWithChakra={true}
signerOptions={signerOptions}
>
<Component {...pageProps} />
Expand Down
10 changes: 5 additions & 5 deletions examples/cosmwasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"@chakra-ui/react": "2.5.1",
"@cosmjs/cosmwasm-stargate": "0.29.5",
"@cosmjs/stargate": "0.29.5",
"@cosmos-kit/core": "1.3.0",
"@cosmos-kit/cosmostation": "0.15.13",
"@cosmos-kit/keplr": "0.33.13",
"@cosmos-kit/leap": "0.14.12",
"@cosmos-kit/react": "1.3.11",
"@cosmos-kit/core": "2.0.3",
"@cosmos-kit/cosmostation": "2.0.3",
"@cosmos-kit/keplr": "2.0.3",
"@cosmos-kit/leap": "2.0.3",
"@cosmos-kit/react": "2.0.3",
"@emotion/react": "11.10.6",
"@emotion/styled": "11.10.6",
"bignumber.js": "9.1.0",
Expand Down
10 changes: 5 additions & 5 deletions examples/cosmwasm/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import '../styles/globals.css';
import type { AppProps } from 'next/app';
import { defaultTheme, ChainProvider } from '@cosmos-kit/react';
import { ChainProvider } from '@cosmos-kit/react';
import { ChakraProvider } from '@chakra-ui/react';
import { wallets as keplrWallets } from '@cosmos-kit/keplr';
import { wallets as cosmostationWallets } from '@cosmos-kit/cosmostation';
Expand All @@ -11,14 +11,15 @@ import { getSigningCosmosClientOptions } from 'interchain';
import { GasPrice } from '@cosmjs/stargate';

import { SignerOptions } from '@cosmos-kit/core';
import { Chain } from '@chain-registry/types';
import '@interchain-ui/react/styles';
import { defaultTheme } from '../config';

function CreateCosmosApp({ Component, pageProps }: AppProps) {
const signerOptions: SignerOptions = {
signingStargate: (_chain: Chain) => {
signingStargate: () => {
return getSigningCosmosClientOptions();
},
signingCosmwasm: (chain: Chain) => {
signingCosmwasm: (chain) => {
switch (chain.chain_name) {
case 'cosmwasmtestnet':
return {
Expand Down Expand Up @@ -46,7 +47,6 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) {
},
},
}}
wrappedWithChakra={true}
signerOptions={signerOptions}
endpointOptions={{
endpoints: {
Expand Down
10 changes: 5 additions & 5 deletions examples/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
},
"dependencies": {
"@chakra-ui/react": "2.5.1",
"@cosmos-kit/core": "1.3.0",
"@cosmos-kit/cosmostation": "0.15.13",
"@cosmos-kit/keplr": "0.33.13",
"@cosmos-kit/leap": "0.14.12",
"@cosmos-kit/react": "1.3.11",
"@cosmos-kit/core": "2.0.3",
"@cosmos-kit/cosmostation": "2.0.3",
"@cosmos-kit/keplr": "2.0.3",
"@cosmos-kit/leap": "2.0.3",
"@cosmos-kit/react": "2.0.3",
"@emotion/react": "11.10.6",
"@emotion/styled": "11.10.6",
"chain-registry": "1.17.1",
Expand Down
9 changes: 4 additions & 5 deletions examples/dashboard/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
import '../style/test-style.css';
import '@interchain-ui/react/styles';

import { Chain } from '@chain-registry/types';
import { ChakraProvider } from '@chakra-ui/react';
import { Decimal } from '@cosmjs/math';
import { GasPrice } from '@cosmjs/stargate';
import { wallets as cosmostationWallets } from '@cosmos-kit/cosmostation';
import { wallets as keplrWallets } from '@cosmos-kit/keplr';
import { wallets as leapWallets } from '@cosmos-kit/leap';
import { ChainProvider, defaultTheme } from '@cosmos-kit/react';
import { ChainProvider } from '@cosmos-kit/react';
import { assets, chains } from 'chain-registry';
import type { AppProps } from 'next/app';

function MyApp({ Component, pageProps }: AppProps) {
return (
<ChakraProvider theme={defaultTheme}>
<ChakraProvider>
<ChainProvider
chains={chains}
assetLists={assets}
Expand All @@ -30,9 +30,8 @@ function MyApp({ Component, pageProps }: AppProps) {
},
},
}}
wrappedWithChakra={true}
signerOptions={{
signingStargate: (chain: Chain) => {
signingStargate: (chain) => {
switch (chain.chain_name) {
case 'osmosis':
return {
Expand Down
10 changes: 5 additions & 5 deletions examples/grpc-web-grpc-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"@chakra-ui/react": "2.5.1",
"@cosmjs/cosmwasm-stargate": "0.29.5",
"@cosmjs/stargate": "0.29.5",
"@cosmos-kit/core": "1.3.0",
"@cosmos-kit/cosmostation": "0.15.13",
"@cosmos-kit/keplr": "0.33.34",
"@cosmos-kit/leap": "0.14.12",
"@cosmos-kit/react": "1.3.11",
"@cosmos-kit/core": "2.0.3",
"@cosmos-kit/cosmostation": "2.0.3",
"@cosmos-kit/keplr": "2.0.3",
"@cosmos-kit/leap": "2.0.3",
"@cosmos-kit/react": "2.0.3",
"@emotion/react": "11.10.6",
"@emotion/styled": "11.10.6",
"@improbable-eng/grpc-web": "0.15.0",
Expand Down
10 changes: 5 additions & 5 deletions examples/grpc-web-grpc-gateway/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
import '../styles/globals.css';
import type { AppProps } from 'next/app';
import { defaultTheme, ChainProvider } from '@cosmos-kit/react';
import { ChainProvider } from '@cosmos-kit/react';
import { ChakraProvider } from '@chakra-ui/react';
import { wallets as keplrWallets } from '@cosmos-kit/keplr';
import { wallets as cosmostationWallets } from '@cosmos-kit/cosmostation';
import { wallets as leapWallets } from '@cosmos-kit/leap';

import { SignerOptions } from '@cosmos-kit/core';
import { chains, assets } from 'chain-registry';
import { Chain } from '@chain-registry/types';
import { getSigningCosmosClientOptions } from 'interchain';
import '@interchain-ui/react/styles';
import { defaultTheme } from '../config';

function CreateCosmosApp({ Component, pageProps }: AppProps) {
const signerOptions: SignerOptions = {
signingStargate: (_chain: Chain) => {
signingStargate: () => {
return getSigningCosmosClientOptions();
}
},
};

return (
Expand All @@ -36,7 +37,6 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) {
},
},
}}
wrappedWithChakra={true}
signerOptions={signerOptions}
>
<Component {...pageProps} />
Expand Down
10 changes: 5 additions & 5 deletions examples/ibc-transfer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"@cosmjs/amino": "0.29.5",
"@cosmjs/cosmwasm-stargate": "0.29.5",
"@cosmjs/stargate": "0.29.5",
"@cosmos-kit/core": "1.3.0",
"@cosmos-kit/cosmostation": "0.15.13",
"@cosmos-kit/keplr": "0.33.13",
"@cosmos-kit/leap": "0.14.12",
"@cosmos-kit/react": "1.3.11",
"@cosmos-kit/core": "2.0.3",
"@cosmos-kit/cosmostation": "2.0.3",
"@cosmos-kit/keplr": "2.0.3",
"@cosmos-kit/leap": "2.0.3",
"@cosmos-kit/react": "2.0.3",
"@emotion/react": "11.10.6",
"@emotion/styled": "11.10.6",
"bignumber.js": "9.1.1",
Expand Down
7 changes: 4 additions & 3 deletions examples/ibc-transfer/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
import '../styles/globals.css';
import type { AppProps } from 'next/app';
import { defaultTheme, ChainProvider } from '@cosmos-kit/react';
import { ChainProvider } from '@cosmos-kit/react';
import { ChakraProvider } from '@chakra-ui/react';
import { wallets as keplrWallets } from '@cosmos-kit/keplr';
import { wallets as cosmostationWallets } from '@cosmos-kit/cosmostation';
import { wallets as leapWallets } from '@cosmos-kit/leap';

import { SignerOptions } from '@cosmos-kit/core';
import { chains, assets } from 'chain-registry';
import '@interchain-ui/react/styles';
import { defaultTheme } from '../config';

function CreateCosmosApp({ Component, pageProps }: AppProps) {
const signerOptions: SignerOptions = {
// signingStargate: (_chain: Chain) => {
// signingStargate: () => {
// return getSigningCosmosClientOptions();
// }
};
Expand All @@ -34,7 +36,6 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) {
},
},
}}
wrappedWithChakra={true}
signerOptions={signerOptions}
>
<Component {...pageProps} />
Expand Down
10 changes: 5 additions & 5 deletions examples/juno/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"@chakra-ui/react": "2.5.1",
"@cosmjs/cosmwasm-stargate": "0.29.5",
"@cosmjs/stargate": "0.29.5",
"@cosmos-kit/core": "1.3.0",
"@cosmos-kit/cosmostation": "0.15.13",
"@cosmos-kit/keplr": "0.33.13",
"@cosmos-kit/leap": "0.14.12",
"@cosmos-kit/react": "1.3.11",
"@cosmos-kit/core": "2.0.3",
"@cosmos-kit/cosmostation": "2.0.3",
"@cosmos-kit/keplr": "2.0.3",
"@cosmos-kit/leap": "2.0.3",
"@cosmos-kit/react": "2.0.3",
"@emotion/react": "11.10.6",
"@emotion/styled": "11.10.6",
"@juno-network/assets": "0.19.0",
Expand Down
11 changes: 5 additions & 6 deletions examples/juno/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import '../styles/globals.css';
import type { AppProps } from 'next/app';
import { defaultTheme, ChainProvider } from '@cosmos-kit/react';
import { ChainProvider } from '@cosmos-kit/react';
import { ChakraProvider } from '@chakra-ui/react';
import { chainName } from '../config';
import { defaultTheme } from '../config';
import { wallets as keplrWallets } from '@cosmos-kit/keplr';
import { wallets as cosmostationWallets } from '@cosmos-kit/cosmostation';
import { wallets as leapWallets } from '@cosmos-kit/leap';
Expand All @@ -12,14 +12,14 @@ import { getSigningCosmosClientOptions } from 'juno-network';
import { GasPrice } from '@cosmjs/stargate';

import { SignerOptions } from '@cosmos-kit/core';
import { Chain } from '@chain-registry/types';
import '@interchain-ui/react/styles';

function CreateCosmosApp({ Component, pageProps }: AppProps) {
const signerOptions: SignerOptions = {
signingStargate: (_chain: Chain) => {
signingStargate: () => {
return getSigningCosmosClientOptions();
},
signingCosmwasm: (chain: Chain) => {
signingCosmwasm: (chain) => {
switch (chain.chain_name) {
case 'juno':
return {
Expand Down Expand Up @@ -47,7 +47,6 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) {
},
},
}}
wrappedWithChakra={true}
signerOptions={signerOptions}
>
<Component {...pageProps} />
Expand Down
10 changes: 5 additions & 5 deletions examples/nft/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"@chakra-ui/react": "2.5.1",
"@cosmjs/cosmwasm-stargate": "0.29.5",
"@cosmjs/stargate": "0.29.5",
"@cosmos-kit/core": "1.3.0",
"@cosmos-kit/cosmostation": "0.15.13",
"@cosmos-kit/keplr": "0.33.13",
"@cosmos-kit/leap": "0.14.12",
"@cosmos-kit/react": "1.3.11",
"@cosmos-kit/core": "2.0.3",
"@cosmos-kit/cosmostation": "2.0.3",
"@cosmos-kit/keplr": "2.0.3",
"@cosmos-kit/leap": "2.0.3",
"@cosmos-kit/react": "2.0.3",
"@emotion/react": "11.10.6",
"@emotion/styled": "11.10.6",
"bignumber.js": "9.1.0",
Expand Down
7 changes: 3 additions & 4 deletions examples/nft/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import { getSigningCosmosClientOptions } from 'stargazejs';
import { GasPrice } from '@cosmjs/stargate';

import { SignerOptions } from '@cosmos-kit/core';
import { Chain } from '@chain-registry/types';
import { defaultTheme } from 'config';
import '@interchain-ui/react/styles';

const client = new ApolloClient({
uri: 'https://constellations-api.mainnet.stargaze-apis.com/graphql',
Expand All @@ -22,10 +22,10 @@ const client = new ApolloClient({

function CreateCosmosApp({ Component, pageProps }: AppProps) {
const signerOptions: SignerOptions = {
signingStargate: (_chain: Chain) => {
signingStargate: () => {
return getSigningCosmosClientOptions();
},
signingCosmwasm: (chain: Chain) => {
signingCosmwasm: (chain) => {
switch (chain.chain_name) {
case 'stargaze':
return {
Expand Down Expand Up @@ -53,7 +53,6 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) {
},
},
}}
wrappedWithChakra={true}
signerOptions={signerOptions}
>
<ApolloProvider client={client}>
Expand Down
Loading