Skip to main content

Precompiles

Precompiled EVM contracts

Neon EVM supports the majority of Ethereum's precompiled contracts

AddressNameCompatibility
0x01ecRecoverSupported
0x02SHA2-256Supported
0x03RIPEMD-160Supported
0x04identitySupported
0x05modexpNot Supported
0x06ecAddSupported
0x07ecMulSupported
0x08ecPairingSupported
0x09blake2fSupported
0x0apoint evaluationNot Supported

Neon EVM extends EVM functionality with custom precompiles that enable integration with Solana's advanced features. The table below details each precompile:

AddressPurposeUse caseCode reference
0xff00000000000000000000000000000000000001Deprecated – Previously supported ERC20ForSPL. No longer in use.Not applicable.Not available.
0xff00000000000000000000000000000000000002Reads data from Solana accounts by specifying byte offsets and lengths.Enables integrations with Chainlink and Pyth by extracting precise account data.QueryAccount.sol
0xff00000000000000000000000000000000000003Facilitates native token transfers between Neon and Solana.Powers NeonPass and the @neonevm/token-transfer-core library for seamless token transfers.INeonWithdraw.sol
0xff00000000000000000000000000000000000004Acts as a Solidity interface to the SPLToken program on Solana.Allows Solidity developers to mint, transfer, and manage SPLTokens directly within the Neon EVM.ISPLToken.sol
0xff00000000000000000000000000000000000005Provides a Solidity interface for the Metaplex program on Solana.Empowers developers to set and manage metadata for SPLTokens, enabling advanced token customization.IMetaplex.sol
0xff00000000000000000000000000000000000006Enables composability by initiating Solana instructions and receiving responses at the Solidity level.Supports various actions such as SPLToken transfers, DEX swaps, and interactions with Solana-based lending protocols.ICallSolana.sol
Was this page helpful?