# Wallet Management on Tip.md

## Supported Blockchains

Tip.md currently supports the following blockchain ecosystems:

### Ethereum (L1)
- **Tokens:** ETH, USDC
- **Description:** The primary Ethereum network.
- **Wallet Compatibility:** Any EVM-compatible wallet (e.g., MetaMask, Trust Wallet).
- **Fee Distribution:** Supports Splits.org integration for automatic fee distribution.
- **Gas Fees:** Paid by the tipper in ETH.

### Base (L2)
- **Tokens:** ETH (native gas token), USDC
- **Description:** An Ethereum Layer 2 solution offering faster and lower-cost transactions. It is EVM-compatible, meaning it uses the same address format as Ethereum and ETH for gas fees.
- **Wallet Compatibility:** Any EVM-compatible wallet that supports adding custom networks (e.g., MetaMask).
- **Fee Distribution:** Uses the same `ethereumAddress` or `ethereumSplitAddress` configured in your Tip.md profile. If using Splits.org, the same split contract deployed on an L1 can be used if it's also deployed or recognized by Splits.org on Base. (Note: Specifics of Splits.org cross-chain functionality may vary; typically, a split contract is chain-specific).
- **Gas Fees:** Paid by the tipper in ETH (on the Base network). Typically much lower than Ethereum L1.

### Solana (SOL)
- **Tokens:** SOL, USDC
- **Description:** A high-performance blockchain known for fast transactions and low fees.
- **Wallet Compatibility:** Phantom, Solflare, and other Solana wallets.
- **Fee Distribution:** Direct transfers to your Solana wallet address.
- **Gas Fees:** Paid by the tipper in SOL.

### Bitcoin Lightning Network
- **Tokens:** BTC
- **Description:** Enables instant Bitcoin payments with minimal fees.
- **Wallet Compatibility:** Requires a Lightning-compatible wallet or node.
- **Fee Distribution:** Handled via OpenNode.
- **Gas Fees:** Minimal, paid by the tipper.

## Managing Your Wallet Addresses

### Adding a New Wallet Address
1.  Navigate to "Wallet Settings" in your dashboard.
2.  Click "Add New Wallet" or select the blockchain you wish to configure.
3.  **For Ethereum (L1) and Base (L2):**
    *   Enter your EVM-compatible wallet address (e.g., `0x...`). This single address will be used for receiving tips on both Ethereum Mainnet and Base.
    *   You can choose to use this address directly or deploy/configure a Splits.org contract via your `ethereumSplitAddress` for on-chain fee splitting.
4.  **For Solana:**
    *   Enter your Solana wallet address (e.g., a Phantom wallet address).
5.  **For Bitcoin Lightning:**
    *   Follow the instructions to connect with OpenNode or provide your Lightning Network address/node information.
6.  Verify the address if prompted.

### Updating Existing Wallet Addresses
1.  Go to "Wallet Settings."
2.  Find the wallet configuration you wish to update.
3.  Click "Edit."
4.  Make your changes and save. For Ethereum/Base, updating your `ethereumAddress` or `ethereumSplitAddress` will affect tips on both networks.
5.  All future tips will go to the updated address.

### Wallet Security Best Practices
-   Always double-check addresses when entering them.
-   Consider using hardware wallets for added security.
-   Enable email notifications for all transactions if available.
-   Regularly review your active wallet addresses.

## Connecting to Base Network (e.g., in MetaMask)

Since Base is an EVM-compatible network, you can use your existing Ethereum wallet (like MetaMask) to interact with it. You'll need to add Base as a custom network in your wallet.

### Adding Base Mainnet to MetaMask:
1.  Open MetaMask and click on the network dropdown at the top.
2.  Select "Add network" or "Custom RPC."
3.  Enter the following details:
    *   **Network Name:** `Base Mainnet`
    *   **New RPC URL:** `https://mainnet.base.org`
    *   **Chain ID:** `8453`
    *   **Currency Symbol:** `ETH`
    *   **Block Explorer URL (Optional):** `https://basescan.org/`
4.  Click "Save."

### Adding Base Sepolia (Testnet) to MetaMask:
1.  Open MetaMask and click on the network dropdown.
2.  Select "Add network" or "Custom RPC."
3.  Enter the following details:
    *   **Network Name:** `Base Sepolia`
    *   **New RPC URL:** `https://sepolia.base.org`
    *   **Chain ID:** `84532`
    *   **Currency Symbol:** `ETH`
    *   **Block Explorer URL (Optional):** `https://sepolia-explorer.base.org/`
4.  Click "Save."

Once added, you can switch to the Base network in MetaMask to view your ETH and USDC balances on Base. Remember, you'll use your existing Ethereum address on Base.
*(Note: To get testnet ETH on Base Sepolia for testing, you might need to use a Base-specific faucet or bridge ETH from Ethereum Sepolia. Please refer to official Base documentation for the latest information on faucets.)*

## Split Settings (Ethereum L1 and Base L2)

Tip.md can utilize Splits.org for on-chain, automatic fee distribution for tips received on EVM chains (Ethereum L1 and Base L2).

1.  **Adding Your EVM Address for Splits:**
    *   In Wallet Settings, provide your primary EVM wallet address in the `ethereumAddress` field.
    *   To use Splits.org, you will typically deploy a Split contract that sends funds to this `ethereumAddress` and the platform's fee address. The address of this deployed Split contract should be entered as your `ethereumSplitAddress`.
    *   Click the "Deploy Split" button (if available) or follow instructions to set up your Split contract.

2.  **Deploying the Split Contract:**
    *   If deploying through Tip.md: Connect your MetaMask wallet (ensure you are on the correct network – Ethereum Mainnet for L1, or Base Mainnet for L2 if deploying a separate L2 split).
    *   Confirm the transaction in your wallet. You'll need ETH in your wallet for gas fees (on the respective network).
    *   **Important:** A Split contract is typically deployed to a specific chain. If you want on-chain splits for both Ethereum L1 and Base L2, you might need to deploy a Split contract on each chain and configure Tip.md accordingly, or use a Split contract that supports cross-chain distributions if available and supported by Splits.org and Tip.md. For simplicity, Tip.md uses the same `ethereumSplitAddress` for both Ethereum and Base, assuming the Split contract at that address is functional on both, or that off-chain accounting handles the Base portion if the Split is only on L1.

3.  **How Splits Work:**
    *   A secure, audited smart contract (from Splits.org) is deployed on the blockchain.
    *   Incoming tips sent to the Split contract address are automatically distributed according to the percentages defined in the contract (e.g., 96% to you, 4% to the platform).
    *   You can view your Split contract and its transactions on a blockchain explorer.

Note: If you change your primary `ethereumAddress`, ensure your Split contract (if used) is updated to forward funds to the new address, or deploy a new Split contract and update your `ethereumSplitAddress` in Tip.md.

## Default Payment Method

- Set your preferred blockchain as the default payment option
- This currency will be highlighted when supporters visit your tip page
- You can change your default payment method at any time

## Next Steps

- Return to [Getting Started](getting-started.md)
- Learn about [Button Setup](button-setup.md)
- Check our [FAQ](faq.md) for common questions 