forked from LaconicNetwork/icns-frontend
Add Account Info
config file
This commit is contained in:
parent
e6f87e4114
commit
3c292e9d6c
160
config.ts
Normal file
160
config.ts
Normal file
@ -0,0 +1,160 @@
|
|||||||
|
import { AccountInfo } from "./types";
|
||||||
|
|
||||||
|
export const AccountInfos: AccountInfo[] = [
|
||||||
|
{
|
||||||
|
prefix: "cosmos",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/cosmoshub/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "osmo",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "agoric",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/agoric/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "akash",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/akashnet/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "axelar",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/axelar-dojo/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "bostrom",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/bostrom/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "persistence",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/core/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "cro",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/crypto-org-chain-mainnet/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "emoney",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/emoney/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "evmos",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/evmos_9001/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "gravity",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/gravity-bridge/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "ixo",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/impacthub/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "star",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/iov-mainnet-ibc/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "iaa",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/irishub/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "juno",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/juno/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "kava",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/kava_2222/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "regen",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/regen/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "secret",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/secret/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "sent",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/sentinelhub/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "certik",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/shentu-2.2/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "sif",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/sifchain/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "somm",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/sommelier/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "stars",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stargaze/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "stride",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/stride/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "tgrade",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/tgrade-mainnet/chain.png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prefix: "umee",
|
||||||
|
address: "cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs",
|
||||||
|
chainImageUrl:
|
||||||
|
"https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/umee/chain.png",
|
||||||
|
},
|
||||||
|
];
|
@ -48,6 +48,7 @@ import {
|
|||||||
} from "./styled";
|
} from "./styled";
|
||||||
|
|
||||||
import { PrimaryButton } from "../../components/primary-button";
|
import { PrimaryButton } from "../../components/primary-button";
|
||||||
|
import { AccountInfos } from "../../config";
|
||||||
|
|
||||||
export default function VerificationPage() {
|
export default function VerificationPage() {
|
||||||
const [twitterAuthInfo, setTwitterAuthInfo] =
|
const [twitterAuthInfo, setTwitterAuthInfo] =
|
||||||
@ -237,125 +238,25 @@ export default function VerificationPage() {
|
|||||||
</ChainListTitleContainer>
|
</ChainListTitleContainer>
|
||||||
|
|
||||||
<ChainContainer color={color.grey["700"]}>
|
<ChainContainer color={color.grey["700"]}>
|
||||||
<ChainItemContainer>
|
{AccountInfos.map((accountInfo) => (
|
||||||
<ChainImageContainer width="3rem" height="3rem">
|
<ChainItemContainer key={accountInfo.prefix}>
|
||||||
<Image
|
<ChainImageContainer width="3rem" height="3rem">
|
||||||
src="https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/chain.png"
|
<Image
|
||||||
alt="chain image"
|
src={accountInfo.chainImageUrl}
|
||||||
fill={true}
|
alt={`${accountInfo.prefix} image`}
|
||||||
/>
|
fill={true}
|
||||||
</ChainImageContainer>
|
/>
|
||||||
<ChainInfoContainer>
|
</ChainImageContainer>
|
||||||
<ChainName>.osmo</ChainName>
|
<ChainInfoContainer>
|
||||||
<WalletAddress>
|
<ChainName>{`.${accountInfo.prefix}`}</ChainName>
|
||||||
cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs
|
<WalletAddress>{accountInfo.address}</WalletAddress>
|
||||||
</WalletAddress>
|
</ChainInfoContainer>
|
||||||
</ChainInfoContainer>
|
|
||||||
|
|
||||||
<Flex1 />
|
<Flex1 />
|
||||||
|
|
||||||
<ChainCheckBox />
|
<ChainCheckBox />
|
||||||
</ChainItemContainer>
|
</ChainItemContainer>
|
||||||
|
))}
|
||||||
<ChainItemContainer>
|
|
||||||
<ChainImageContainer width="3rem" height="3rem">
|
|
||||||
<Image
|
|
||||||
src="https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/chain.png"
|
|
||||||
alt="chain image"
|
|
||||||
fill={true}
|
|
||||||
/>
|
|
||||||
</ChainImageContainer>
|
|
||||||
<ChainInfoContainer>
|
|
||||||
<ChainName>.osmo</ChainName>
|
|
||||||
<WalletAddress>
|
|
||||||
cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs
|
|
||||||
</WalletAddress>
|
|
||||||
</ChainInfoContainer>
|
|
||||||
|
|
||||||
<Flex1 />
|
|
||||||
|
|
||||||
<ChainCheckBox />
|
|
||||||
</ChainItemContainer>
|
|
||||||
|
|
||||||
<ChainItemContainer>
|
|
||||||
<ChainImageContainer width="3rem" height="3rem">
|
|
||||||
<Image
|
|
||||||
src="https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/chain.png"
|
|
||||||
alt="chain image"
|
|
||||||
fill={true}
|
|
||||||
/>
|
|
||||||
</ChainImageContainer>
|
|
||||||
<ChainInfoContainer>
|
|
||||||
<ChainName>.osmo</ChainName>
|
|
||||||
<WalletAddress>
|
|
||||||
cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs
|
|
||||||
</WalletAddress>
|
|
||||||
</ChainInfoContainer>
|
|
||||||
|
|
||||||
<Flex1 />
|
|
||||||
|
|
||||||
<ChainCheckBox />
|
|
||||||
</ChainItemContainer>
|
|
||||||
|
|
||||||
<ChainItemContainer>
|
|
||||||
<ChainImageContainer width="3rem" height="3rem">
|
|
||||||
<Image
|
|
||||||
src="https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/chain.png"
|
|
||||||
alt="chain image"
|
|
||||||
fill={true}
|
|
||||||
/>
|
|
||||||
</ChainImageContainer>
|
|
||||||
<ChainInfoContainer>
|
|
||||||
<ChainName>.osmo</ChainName>
|
|
||||||
<WalletAddress>
|
|
||||||
cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs
|
|
||||||
</WalletAddress>
|
|
||||||
</ChainInfoContainer>
|
|
||||||
|
|
||||||
<Flex1 />
|
|
||||||
|
|
||||||
<ChainCheckBox />
|
|
||||||
</ChainItemContainer>
|
|
||||||
|
|
||||||
<ChainItemContainer>
|
|
||||||
<ChainImageContainer width="3rem" height="3rem">
|
|
||||||
<Image
|
|
||||||
src="https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/chain.png"
|
|
||||||
alt="chain image"
|
|
||||||
fill={true}
|
|
||||||
/>
|
|
||||||
</ChainImageContainer>
|
|
||||||
<ChainInfoContainer>
|
|
||||||
<ChainName>.osmo</ChainName>
|
|
||||||
<WalletAddress>
|
|
||||||
cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs
|
|
||||||
</WalletAddress>
|
|
||||||
</ChainInfoContainer>
|
|
||||||
|
|
||||||
<Flex1 />
|
|
||||||
|
|
||||||
<ChainCheckBox />
|
|
||||||
</ChainItemContainer>
|
|
||||||
|
|
||||||
<ChainItemContainer>
|
|
||||||
<ChainImageContainer width="3rem" height="3rem">
|
|
||||||
<Image
|
|
||||||
src="https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/osmosis/chain.png"
|
|
||||||
alt="chain image"
|
|
||||||
fill={true}
|
|
||||||
/>
|
|
||||||
</ChainImageContainer>
|
|
||||||
<ChainInfoContainer>
|
|
||||||
<ChainName>.osmo</ChainName>
|
|
||||||
<WalletAddress>
|
|
||||||
cosmos14ky6udatsvdx859050mrnr7rvml0huue2wszvs
|
|
||||||
</WalletAddress>
|
|
||||||
</ChainInfoContainer>
|
|
||||||
|
|
||||||
<Flex1 />
|
|
||||||
|
|
||||||
<ChainCheckBox />
|
|
||||||
</ChainItemContainer>
|
|
||||||
</ChainContainer>
|
</ChainContainer>
|
||||||
|
|
||||||
<ButtonContainer>
|
<ButtonContainer>
|
||||||
|
5
types/account-info.ts
Normal file
5
types/account-info.ts
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
export interface AccountInfo {
|
||||||
|
prefix: string;
|
||||||
|
chainImageUrl: string;
|
||||||
|
address: string;
|
||||||
|
}
|
@ -1 +1,4 @@
|
|||||||
export * from "./width-height-props";
|
export * from "./width-height-props";
|
||||||
|
export * from "./api-response";
|
||||||
|
export * from "./account-info";
|
||||||
|
export * from "./msg";
|
||||||
|
Loading…
Reference in New Issue
Block a user