The project's public key.
The key for the staking pool.
Optional
programId: PublicKeyThe program ID for the staking pool program. Default is PROGRAM_ID.
The generated Program Derived Address.
const projectPublicKey = new web3.PublicKey("..."); // Replace with actual project public key
const poolKey = new web3.PublicKey("..."); // Replace with actual pool key
const stakingPoolPda = getStakingPoolPda(projectPublicKey, poolKey);
Generated using TypeDoc
Generates a Program Derived Address for a staking pool based on the project's public key and a key.