test mobile delegations config
This commit is contained in:
+2
-2
@@ -7,5 +7,5 @@ VALIDATOR_URL=https://rpc.sandbox.nymtech.net
|
||||
BIG_DIPPER_URL=https://sandbox-blocks.nymtech.net
|
||||
CURRENCY_DENOM=unym
|
||||
CURRENCY_STAKING_DENOM=unyx
|
||||
NYM_MIXNET_CONTRACT=n1xr3rq8yvd7qplsw5yx90ftsr2zdhg4e9z60h5duusgxpv72hud3sjkxkav
|
||||
COSMOS_KIT_USE_CHAIN=sandbox
|
||||
NYM_MIXNET_CONTRACT=n17srjznxl9dvzdkpwpw24gg668wc73val88a6m5ajg6ankwvz9wtst0cznr
|
||||
COSMOS_KIT_USE_CHAIN=nyx
|
||||
|
||||
@@ -28,3 +28,4 @@ export const NYM_BIG_DIPPER = 'https://mixnet.explorers.guru';
|
||||
export const NYM_MIXNET_CONTRACT =
|
||||
process.env.NYM_MIXNET_CONTRACT || 'n17srjznxl9dvzdkpwpw24gg668wc73val88a6m5ajg6ankwvz9wtst0cznr';
|
||||
export const COSMOS_KIT_USE_CHAIN = process.env.COSMOS_KIT_USE_CHAIN || 'sandbox';
|
||||
export const WALLET_CONNECT_PROJECT_ID = process.env.REACT_APP_WALLET_CONNECT_PROJECT_ID || '';
|
||||
|
||||
@@ -5,6 +5,7 @@ import { wallets as ledger } from '@cosmos-kit/ledger';
|
||||
import { wallets as cosmosstation } from '@cosmos-kit/cosmostation';
|
||||
import { assets, chains } from 'chain-registry';
|
||||
import { Chain, AssetList } from '@chain-registry/types';
|
||||
import { WALLET_CONNECT_PROJECT_ID } from '@src/api/constants';
|
||||
|
||||
const nymSandbox: Chain = {
|
||||
chain_name: 'sandbox',
|
||||
@@ -35,12 +36,17 @@ const nymSandboxAssets: AssetList = {
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
console.log(WALLET_CONNECT_PROJECT_ID, 'WALLET_CONNECT_PROJECT_ID');
|
||||
const CosmosKitProvider = ({ children }: { children: React.ReactNode }) => (
|
||||
<ChainProvider
|
||||
chains={[...chains, nymSandbox]}
|
||||
assetLists={[...assets, nymSandboxAssets]}
|
||||
wallets={[...keplr, ...ledger, ...cosmosstation]}
|
||||
walletConnectOptions={{
|
||||
signClient: {
|
||||
projectId: WALLET_CONNECT_PROJECT_ID,
|
||||
},
|
||||
}}
|
||||
>
|
||||
{children}
|
||||
</ChainProvider>
|
||||
|
||||
Reference in New Issue
Block a user