Derives a synchronous Neon authority pool address for the given Neon EVM program.
This function computes a program-derived address (PDA) for the authority pool,
which is responsible for managing deposits within the Neon EVM on Solana. The derivation
is based on a predefined seed ("Deposit") to ensure a unique and consistent authority pool address.
Parameters
neonEvmProgram: PublicKey
The public key of the Neon EVM program.
Returns [PublicKey,number]
A tuple containing:
PublicKey: The derived authority pool address.
number: The bump seed used in PDA derivation.
Example
const [authorityPoolAddress, bump] = neonAuthorityPoolAddressSync(neonEvmProgram); console.log("Neon Authority Pool Address:", authorityPoolAddress.toBase58());
Derives a synchronous Neon authority pool address for the given Neon EVM program.
This function computes a program-derived address (PDA) for the authority pool, which is responsible for managing deposits within the Neon EVM on Solana. The derivation is based on a predefined seed (
"Deposit"
) to ensure a unique and consistent authority pool address.