> ## Documentation Index
> Fetch the complete documentation index at: https://docs.killb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Carteiras Cripto

> Configure contas de carteira de criptomoeda

## Visão Geral

Contas de carteira cripto representam endereços blockchain onde os usuários recebem USDC ou USDT durante transações on-ramp.

## Exemplo Rápido

```json theme={null}
{
  "type": "WALLET",
  "userId": "user-id",
  "externalId": "wallet-1",
  "data": {
    "firstName": "João",
    "lastName": "Silva",
    "email": "joao@example.com",
    "phone": "+5511987654321",
    "currency": "USDC",
    "network": "POLYGON",
    "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
    "countryCode": "BR",
    "document": {
      "type": "CPF",
      "number": "12345678900",
      "issuedCountryCode": "BR"
    }
  }
}
```

## Configurações Suportadas

| Moeda | Redes                                          | Formato de Endereço |
| ----- | ---------------------------------------------- | ------------------- |
| USDC  | Polygon, Solana, Ethereum, Arbitrum, BSC, Tron | Específico da rede  |
| USDT  | Polygon, Solana, Ethereum, Arbitrum, BSC, Tron | Específico da rede  |

## Guia de Redes

<CardGroup cols={3}>
  <Card title="Polygon" icon="triangle">
    **Taxa:** Menos de \$0,01\
    **Velocidade:** 2-5 min\
    **Formato:** 0x...
  </Card>

  <Card title="Solana" icon="s">
    **Taxa:** Menos de \$0,001\
    **Velocidade:** 30-60 seg\
    **Formato:** Base58
  </Card>

  <Card title="Ethereum" icon="e">
    **Taxa:** \$5-50\
    **Velocidade:** 10-15 min\
    **Formato:** 0x...
  </Card>
</CardGroup>

## Validação de Endereço

Use validação do lado do cliente:

```javascript theme={null}
import { ethers } from 'ethers';

const validateWalletAddress = (address, network) => {
  if (['POLYGON', 'ERC20', 'ARBITRUM', 'BSC'].includes(network)) {
    return ethers.utils.isAddress(address);
  }
  
  if (network === 'SOLANA') {
    return /^[1-9A-HJ-NP-Za-km-z]{32,44}$/.test(address);
  }
  
  if (network === 'TRON') {
    return /^T[a-zA-Z0-9]{33}$/.test(address);
  }
  
  return false;
};
```

## Próximos Passos

<CardGroup cols={2}>
  <Card title="Criar On-Ramp" icon="arrow-up" href="/pt/guides/ramps/on-ramp">
    Use carteira em transação on-ramp
  </Card>

  <Card title="Guia de Pré-Financiamento" icon="bolt" href="/pt/guides/accounts/pre-fund-accounts">
    Configure liquidações instantâneas
  </Card>
</CardGroup>
