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: migration to welldone-wallet #2970

Open
wants to merge 3 commits into
base: master
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
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import ImgFinerWallet from '../../../../../src/images/finer-logo.svg';
import ImgMeteorWallet from '../../../../../src/images/meteor-wallet-logo.svg';
import ImgMyNearWallet from '../../../../../src/images/mynearwallet-cropped.svg';
import SenderLogo from '../../../../../src/images/sender-logo.png';
import ImgWelldoneWallet from '../../../../../src/images/welldone-logo.svg';
import IconLedger from '../../../../images/wallet-migration/IconLedger';
import IconWallet from '../../../../images/wallet-migration/IconWallet';
import { redirectTo } from '../../../../redux/actions/account';
Expand Down Expand Up @@ -87,6 +88,14 @@ export const WALLET_OPTIONS = shuffle([
checkAvailability: () => isMobile('iOS'),
ledgerSupport: false,
},
{
id: 'welldone-wallet',
name: 'WELLDONE Wallet',
icon: <img src={ImgWelldoneWallet} alt="WELLDONE Wallet Logo" />,
getUrl: ({ hash }) => `https://docs.welldonestudio.io/contribution/202211-batch-import#${hash}`,
checkAvailability: () => true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one last request, is it possible to add ledgerSupport: false, after line 88?
This is new boolean we introduced, to indicate ledger compatibility

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, I added it! please check it.

ledgerSupport: false,
},
]);

const WalletOptionsListing = styled.div`
Expand Down
7 changes: 7 additions & 0 deletions packages/frontend/src/images/welldone-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.