What can we help you with?

  1. Homepage
  2. For Developers / Contributors
  3. Adding Support for a Web3 Wallet

Adding Support for a Web3 Wallet

Last updated: January 15th, 2021

Identifying Your Provider

If you're a web3 wallet developer or user, you'll definitely want to have people see your name and logo when they browse MyCrypto with your browser:

Web3 on MyCrypto

It's easy to make that happen, just open a pull request with the following changes:

  1. Add a new unique WalletId to src/types/walletId.ts.
  2. Add a new entry to src/config/wallets.ts using the WalletId. Make sure to include a logo (.svg) for your project in src/assets/images/wallets and reference it in the entry.
  3. Add a translation entry in src/translations/lang/en.json for the lid value provided in step 2.
  4. In the getWeb3Config function in src/utils/web3.ts, add a line to detect your wallet type from the Web3 provider, and return the wallet configuration added in step 2.
  5. In WALLET_STEPS in src/components/SignTransactionWallets/index.ts, add a new line for your WalletId and use the default SignTransactionWeb3 component.
  6. Add a new entry for your WalletId to WalletFactory in src/services/WalletService/walletService.ts.

Suggesting Your Provider

If you'd like for us to suggest your Web3 provider during wallet creation or Web3 unlock as an alternative, please reach out to press@mycrypto.com.

Didn't find what you were looking for? Contact Us

MyCrypto is an open-source tool that allows you to manage your Ethereum accounts privately and securely. Developed by and for the community since 2015, we’re focused on building awesome products that put the power in people’s hands.

© 2022 MyCrypto, Inc.

Donate

Subscribe to MyCrypto

Get updates from MyCrypto straight to your inbox!

By submitting your email, you affirmatively agree to our Privacy Policy