diff --git a/README.md b/README.md index e18b37b..b8734db 100644 --- a/README.md +++ b/README.md @@ -404,7 +404,7 @@ Put your wallet address where you want to get a drop, and click the **Request** ### More Interactions -This is not just it. Using the buttons shown below, you can go to the Subnet explorer or add the Subnet to your browser wallet extensions like Metamask with a single click. +This is not just it. Using the buttons shown below, you can go to the Subnet explorer or add the Subnet to your browser wallet extensions like Metamask or Trust Wallet with a single click. ![](https://raw.githubusercontent.com/ava-labs/avalanche-docs/master/static/img/faucet-4.png) diff --git a/client/public/memtamask.webp b/client/public/memtamask.webp deleted file mode 100644 index 8dc7ed4..0000000 Binary files a/client/public/memtamask.webp and /dev/null differ diff --git a/client/public/wallet.svg b/client/public/wallet.svg new file mode 100644 index 0000000..b079aa0 --- /dev/null +++ b/client/public/wallet.svg @@ -0,0 +1,3 @@ + + + diff --git a/client/src/components/AddNetwork.tsx b/client/src/components/AddNetwork.tsx index 0de7c25..c914025 100644 --- a/client/src/components/AddNetwork.tsx +++ b/client/src/components/AddNetwork.tsx @@ -1,11 +1,11 @@ -import { addNetwork, addAsset } from "./Metamask" +import { addNetwork, addAsset } from "./Wallet" export default function AddNetwork(props: any) { return (
}
diff --git a/client/src/components/FaucetForm.tsx b/client/src/components/FaucetForm.tsx index e93e4f7..a2e2d57 100644 --- a/client/src/components/FaucetForm.tsx +++ b/client/src/components/FaucetForm.tsx @@ -8,7 +8,7 @@ import ReCaptcha from './ReCaptcha' import FooterBox from './FooterBox' import queryString from 'query-string' import { DropdownOption } from './types' -import { connectAccount } from './Metamask' +import { connectAccount } from './Wallet' import { AxiosResponse } from 'axios' const FaucetForm = (props: any) => { @@ -516,8 +516,8 @@ const FaucetForm = (props: any) => { autoFocus /> - connectAccount(updateAddress) }> - metamask + connectAccount(updateAddress) }> + wallet Connect diff --git a/client/src/components/Metamask.ts b/client/src/components/Wallet.ts similarity index 90% rename from client/src/components/Metamask.ts rename to client/src/components/Wallet.ts index 415fbd8..ae1a2bb 100644 --- a/client/src/components/Metamask.ts +++ b/client/src/components/Wallet.ts @@ -9,7 +9,7 @@ export const addNetwork = async (config: any): Promise => { return } if(window.ethereum == undefined) { - window.open('https://metamask.io/download', '_blank') + window.open('https://ethereum.org/en/wallets/find-wallet/', '_blank') } await window?.ethereum?.request({ @@ -35,7 +35,7 @@ export const addAsset = async (config: any): Promise => { return } if(window.ethereum == undefined) { - window.open('https://metamask.io/download', '_blank') + window.open('https://ethereum.org/en/wallets/find-wallet/', '_blank') } await window?.ethereum?.request({ @@ -55,7 +55,7 @@ export const addAsset = async (config: any): Promise => { export const connectAccount = async (updateAddress: any, showPopup = true) => { if(window.ethereum == undefined) { - showPopup && window.open('https://metamask.io/download', '_blank') + showPopup && window.open('https://ethereum.org/en/wallets/find-wallet/', '_blank') return } diff --git a/client/src/components/styles/FaucetForm.css b/client/src/components/styles/FaucetForm.css index 74ba6de..c277584 100644 --- a/client/src/components/styles/FaucetForm.css +++ b/client/src/components/styles/FaucetForm.css @@ -106,7 +106,7 @@ a { padding: 0 12px; } -.connect-metamask { +.connect-wallet { cursor: pointer; color: rgb(180, 180, 183); margin-right: 5px; @@ -116,12 +116,12 @@ a { font-size: 10px } -.connect-metamask > img { - width: 25px; - height: 25px; +.connect-wallet > img { + width: 20px; + height: 20px; } -.connect-metamask:hover { +.connect-wallet:hover { color: white; }