Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Add BlockWallet #129

Open
wants to merge 1 commit into
base: main-v-2
Choose a base branch
from
Open
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
20 changes: 20 additions & 0 deletions src/components/Svg/WalletsIcons/BlockWallet.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import React from "react";
import { SvgProps } from "../types";

const Icon: React.FC<SvgProps> = (props) => {
return (
<svg {...props} viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="32" cy="32" r="32" fill="white" />
<g transform="translate(11,11) scale(1.4, 1.4)">
<path
fillRule="evenodd"
clipRule="evenodd"
d="M15 30C23.2843 30 30 23.2843 30 15C30 6.71573 23.2843 0 15 0C6.71573 0 0 6.71573 0 15C0 23.2843 6.71573 30 15 30ZM23.125 6.875H6.875V23.125H23.125V6.875Z"
fill="#08090A"
/>
</g>
</svg>
);
};

export default Icon;
6 changes: 6 additions & 0 deletions src/widgets/WalletModal/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import Bitkeep from "../../components/Svg/WalletsIcons/Bitkeep";
import OKX from "../../components/Svg/WalletsIcons/OKX";
import MadWallet from "../../components/Svg/WalletsIcons/MadWallet";
import { Config, ConnectorNames } from "./types";
import BlockWallet from "../../components/Svg/WalletsIcons/BlockWallet";

const connectors: Config[] = [
{
Expand Down Expand Up @@ -97,6 +98,11 @@ const connectors: Config[] = [
icon: MadWallet,
connectorId: ConnectorNames.Injected,
},
{
title: "BlockWallet",
icon: BlockWallet,
connectorId: ConnectorNames.Injected,
},
];

export default connectors;
Expand Down