Skip to content

Update avoid-malicious-flags.mdx #119

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

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
2 changes: 1 addition & 1 deletion docs/base-chain/security/avoid-malicious-flags.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Ensuring that your app is perceived as trustworthy and not flagged as malicious

## 1. Verify and reduce the risk of your smart contract

- **Verify Smart Contract**: Ensure that the source code of your contracts is verified and publicly available on [block explorers](/base-chain/tools/block-explorers). For example, this can be done on [Etherscan](https://basescan.org/verifyContract) and [Basescan](https://basescan.org/verifyContract) under “Verify Contract”.
- **Verify Smart Contract**: Ensure that the source code of your contracts is verified and publicly available on [block explorers](/docs/base-chain/tools/block-explorers.mdx). For example, this can be done on [Etherscan](https://basescan.org/verifyContract) and [Basescan](https://basescan.org/verifyContract) under “Verify Contract”.
- **Limit Exposure of User Funds**: Design your contracts to minimize the exposure of user funds. Use efficient design to reduce any unnecessary risk. For example, request the minimum amount needed to fulfill the transaction.

## 2. Submit a verification request
Expand Down
6 changes: 3 additions & 3 deletions docs/cookbook/defi-your-app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,11 @@ import { FundCard } from '@coinbase/onchainkit/fund';
</FundWrapper>
</App> */}

To learn more about the `FundCard` component and its features, check out the [FundCard docs](/onchainkit/fund/fund-card).
To learn more about the `FundCard` component and its features, check out the [FundCard docs](/docs/onchainkit/fund/fund-card.mdx).

## The `Buy` Component

The `Buy` components provide a comprehensive interface for users to purchase [Tokens](/onchainkit/token/types#token).
The `Buy` components provide a comprehensive interface for users to purchase [Tokens](/onchainkit/token/types.mdx).

The `Buy` component supports token swaps from USDC and ETH by default with the option to provide an additional token of choice using the `fromToken` prop. Users are able to purchase tokens using their Coinbase account, Apple Pay, or debit card.

Expand Down Expand Up @@ -327,4 +327,4 @@ For the `<Buy />` and `<Swap/>` components, you can enable gasless transactions

import PolicyBanner from "/snippets/PolicyBanner.mdx";

<PolicyBanner />
<PolicyBanner />