Skip to main content

Choosing a Neon Proxy

This guide describes how to choose a Neon proxy to send a transaction to Solana.

Before sending a transaction to the Neon EVM, users can choose an operator that's the most acceptable for them to perform the transaction. The operator is not chosen directly, but through the proxies they serve.

The Neon EVM provides users with a table containing RPC URLs of all available proxies, each served by a separate operator. Each URL corresponds to the operator's public key, which they uses to sign and send a transaction to the Neon EVM.

The proxy interacts with one EVM loader, which can be deployed in different Solana chains. This interaction allows the proxy to be used on different networks (Testnet, Devnet, Mainnet Beta).

Currently, the table contains only a list of URLs of proxies using MVP on Mainnet. With the development of the Neon EVM, this table will be supplemented with statistical indicators evaluating the operator's service and the capabilities of their proxy. A user will choose an operator based on these indicators. Depending on the resources (proxy capabilities) provided by operators, the "gas price" will be different for each operator. Hence, the transaction cost will also be different and will depend on the RPC URL selected from the table.

For instance, if a transaction does not require huge resources, a user can choose the URL with the lowest "gas price," that is, choose a proxy with limited resources. To perform important operations, it will make sense for the user to choose the URL with the higher "gas price," that is, to choose the operator providing the highest quality service.

The table data will be provided to users in real time.

To connect to a proxy using MetaMask/Truffle, follow the instructions below.

Connecting to a Proxy Using MetaMask

To connect to a proxy using MetaMask, follow the instruction Installing and Setting Up MetaMask. You need to specify the New RPC URL field selected from the table, and also specify the Chain ID.

Connecting to a Proxy Using Truffle

To connect to a proxy using Truffle, follow the instructions Using Truffle. You need to configure truffle-config.js by setting the HDWalletProvider library to the RPC URL selected from the table.

Connecting to a Proxy using Hardhat

To connect to a proxy using Hardhat, follow the instructions Using Hardhat. You need to configure hardhat.config.js by setting the URL, network_id/chainId to RPC URL selected from the table.