# TESTNET

> TestNet network constants and public AlgoNode endpoints.

```ts
import { TESTNET } from 'x402-avm-js';
```

```ts
export const TESTNET: AlgorandNetwork = {
  caip2: 'algorand:SGO1GKSzyE7IEPItTxCByw9x8FmnrCDe',
  genesisHash: 'SGO1GKSzyE7IEPItTxCByw9x8FmnrCDexi9/cOUJOiI=',
  genesisId: 'testnet-v1.0',
  algodUrl: 'https://testnet-api.algonode.cloud',
  indexerUrl: 'https://testnet-idx.algonode.cloud',
  usdc: 10458941,
};
```

TestNet network constants and public AlgoNode endpoints.

## Example

```ts
import { TESTNET } from 'x402-avm-js';
console.log(TESTNET.genesisId); // 'testnet-v1.0'
console.log(TESTNET.usdc); // 10458941
```

Source: [src/index.ts](https://github.com/x402-avm/x402-avm-js/blob/main/src/index.ts#L177)

Source: https://x402-avm.github.io/reference/js/testnet
