WIP adding cosmos hub
This commit is contained in:
parent
8d6cd5c541
commit
11a0966052
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
12
wallets/react-wallet-v2/src/data/COSMOSData.ts
Normal file
12
wallets/react-wallet-v2/src/data/COSMOSData.ts
Normal file
@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Chains
|
||||
*/
|
||||
export const EIP155_MAINNET_CHAINS = {
|
||||
'cosmos:cosmoshub-4': {
|
||||
chainId: 'cosmoshub-4',
|
||||
name: 'Cosmos Hub',
|
||||
logo: '/chain-logos/cosmos-cosmoshub4.png',
|
||||
rgb: '27, 31, 53',
|
||||
rpc: 'https://cloudflare-eth.com/'
|
||||
}
|
||||
}
|
@ -35,7 +35,7 @@ export default function SessionPage() {
|
||||
return null
|
||||
}
|
||||
|
||||
const { name, url, icons, description } = session.peer.metadata
|
||||
const { name, url, icons } = session.peer.metadata
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
@ -52,8 +52,6 @@ export default function SessionPage() {
|
||||
</Link>
|
||||
</Col>
|
||||
</Row>
|
||||
|
||||
<Text css={{ color: '$accents4' }}>{description}</Text>
|
||||
</Fragment>
|
||||
)
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { EIP155_CHAINS, TEIP155Chain } from '@/data/EIP155Data'
|
||||
import ModalStore from '@/store/ModalStore'
|
||||
import { approveEIP155Request, rejectEIP155Request } from '@/utils/EIP155RequestHandlerUtil'
|
||||
import { truncate } from '@/utils/HelperUtil'
|
||||
import { approveEIP155Request, rejectEIP155Request } from '@/utils/RequestHandlerUtil'
|
||||
import { walletConnectClient } from '@/utils/WalletConnectUtil'
|
||||
import {
|
||||
Avatar,
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { EIP155_CHAINS, TEIP155Chain } from '@/data/EIP155Data'
|
||||
import ModalStore from '@/store/ModalStore'
|
||||
import { approveEIP155Request, rejectEIP155Request } from '@/utils/EIP155RequestHandlerUtil'
|
||||
import { getSignParamsMessage } from '@/utils/HelperUtil'
|
||||
import { approveEIP155Request, rejectEIP155Request } from '@/utils/RequestHandlerUtil'
|
||||
import { walletConnectClient } from '@/utils/WalletConnectUtil'
|
||||
import { Avatar, Button, Col, Container, Divider, Link, Modal, Row, Text } from '@nextui-org/react'
|
||||
import { Fragment } from 'react'
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { EIP155_CHAINS, TEIP155Chain } from '@/data/EIP155Data'
|
||||
import ModalStore from '@/store/ModalStore'
|
||||
import { approveEIP155Request, rejectEIP155Request } from '@/utils/EIP155RequestHandlerUtil'
|
||||
import { getSignTypedDataParamsData } from '@/utils/HelperUtil'
|
||||
import { approveEIP155Request, rejectEIP155Request } from '@/utils/RequestHandlerUtil'
|
||||
import { walletConnectClient } from '@/utils/WalletConnectUtil'
|
||||
import { Avatar, Button, Col, Container, Divider, Link, Modal, Row, Text } from '@nextui-org/react'
|
||||
import { Fragment } from 'react'
|
||||
|
Loading…
Reference in New Issue
Block a user