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

# Detalhes da Testnet

> Referência de configuração para conectar-se à Plasma Testnet.

## Parâmetros de Rede

| Parâmetro           | Valor                              | Descrição                                     |
| ------------------- | ---------------------------------- | --------------------------------------------- |
| Nome da Rede        | `Plasma Testnet`                   | Rede pública e contínua de testes da Plasma.  |
| RPC Público         | `https://testnet-rpc.plasma.to`    | Endpoint de RPC público, com limite de taxa.  |
| Chain ID            | `9746`                             | Identificador único da Plasma Testnet.        |
| Símbolo da Moeda    | `XPL`                              | Símbolo do token nativo da testnet.           |
| Tempo de Bloco      | \~1 segundo                        | Tempo médio entre blocos.                     |
| Consenso            | PlasmaBFT (variante Fast HotStuff) | Mecanismo de consenso Proof of Stake.         |
| Compatibilidade EVM | Total                              | 100% compatível com smart contracts Ethereum. |

## Endpoints de Conexão

Um endpoint HTTPS RPC público está disponível em `https://testnet-rpc.plasma.to`.

<Tip>
  Tanto endpoints HTTPS quanto WebSocket estão disponíveis por meio de nossos [parceiros provedores de RPC](../../plasma-chain/tools/rpc-providers).
</Tip>

```shell theme={null}
curl --location 'https://testnet-rpc.plasma.to' --header 'Content-Type: application/json' --data '{"method":"eth_blockNumber","params":[],"id":1,"jsonrpc":"2.0"}'
```

Isso deverá gerar uma saída semelhante a:

```output theme={null}
{"jsonrpc":"2.0","id":1,"result":"0x9f61b"}
```

### Block Explorer

| Serviço  | URL                                                            | Status |
| -------- | -------------------------------------------------------------- | ------ |
| Explorer | [https://testnet.plasmascan.to](https://testnet.plasmascan.to) | Ativo  |

## Gas e Taxas

A Plasma Testnet suporta pagamentos de taxas em vários tokens, incluindo:

| Token                          | Ticker  | Status             |
| ------------------------------ | ------- | ------------------ |
| Token Nativo da Plasma Testnet | `XPL`   | Ativo              |
| Testnet USD₮0                  | `USD₮0` | Em desenvolvimento |

<Tip>
  Transferências sem taxa em USD₮0 estão atualmente em desenvolvimento e estarão disponíveis para testes em breve.
</Tip>

## Recursos de Desenvolvimento

### Faucets

| Token | URL                                                     | Status |
| ----- | ------------------------------------------------------- | ------ |
| XPL   | [openfaucet.org](https://openfaucet.org/)               | Ativo  |
| XPL   | [QuickNode faucet](https://faucet.quicknode.com/plasma) | Ativo  |

## Exemplos de Configuração da Chain

### Configuração de Rede para Wallets de Navegador

Adicione a Plasma Testnet à sua wallet de navegador (MetaMask, Trust Wallet, Rabby) usando os seguintes parâmetros:

* **Network Name**: `Plasma Testnet`
* **RPC URL**: `https://testnet-rpc.plasma.to`
* **Chain ID**: `9746`
* **Currency Symbol**: `XPL`
* **Block Explorer URL**:`https://testnet.plasmascan.to`

Consulte o guia [Configuração da Wallet de Navegador](../asset-management/browser-wallet-setup) para caminhos e capturas de tela específicas de cada wallet.

### Hardhat

```javascript theme={null}
// hardhat.config.js
module.exports = {
  networks: {
    plasmaTestnet: {
      url: "https://testnet-rpc.plasma.to",
      chainId: 9746,
      accounts: [process.env.PRIVATE_KEY]
    }
  }
};
```

### Truffle

```javascript theme={null}
// truffle-config.js
module.exports = {
  networks: {
    plasmaTestnet: {
      provider: () => new HDWalletProvider(MNEMONIC,
        "https://testnet-rpc.plasma.to"),
      network_id: 9746,
      gas: 5500000,
      confirmations: 2,
      timeoutBlocks: 200,
      skipDryRun: true
    }
  }
};
```
