-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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(website): update wallet setup docs #14209
Conversation
| typeof GRIMSVOTN_CONFIG.names.shortName; | ||
}; | ||
|
||
const chainMap = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we shouldn't initialize constants here if we need this mapping we should expose it out of the domain folder
|
||
### Add tokens to your wallet | ||
Use your wallet (e.g., Metamask) to [import the tokens](https://support.ledger.com/hc/en-us/articles/6375103346077-Add-custom-tokens-to-MetaMask?docs=true). You can find all deployed tokens contract addresses [here](/docs/reference/contract-addresses). | ||
<AddTokenButton address={SEPOLIA_CONFIG.basedContracts.erc20Contracts.taikoToken.address.proxy} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
}: AddTokenButtonProps) { | ||
return ( | ||
<div | ||
onClick={() => addTokenToWallet({ address, symbol, decimals, image })} | ||
onClick={() => addTokenToWallet({ address, symbol, decimals, image, network })} | ||
className="hover:cursor-pointer text-neutral-100 bg-[#E81899] hover:bg-[#d1168a] border-solid border-neutral-200 focus:ring-4 focus:outline-none focus:ring-neutral-100 font-medium rounded-lg text-sm px-3 py-2 text-center inline-flex items-center" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: we should consider refactoring out a button class now that we are using it so frequently: ecosystem page, homepage, here, and add wallet.
this could be a good first issue as well i think for community.
No description provided.