Liquid staking
A comprehensive guide for developers looking to integrate beHYPE staking and unstaking functionality into their applications.
Overview
Contract Addresses
BeHYPE: 0xd8FC8F0b03eBA61F64D08B0bef69d80916E5DdA9
WithdrawManager: 0x9d0B0877b9f2204CF414Ca7862E4f03506822538
StakingCore: 0xCeaD893b162D38e714D82d06a7fe0b0dc3c38E0b
RoleRegistry: 0x90102473a816A01A9fB0809F2289438B2e294F76
BeHYPETimelock: 0xA24aF73EaDD17997EeEdbEd36672e996544D2DE4
L1Read: 0xb7467E0524Afba7006957701d1F06A59000d15A2Minting (Staking)
function Stake() public {
address user = address(0x1234);
vm.deal(user, 10 ether);
vm.startPrank(user); // using the private key of the user
// Stake 10 HYPE to a specific validator
stakingCore.stake{value: 10 ether}("validator_name");
// Stake another 10 HYPE with automatic validator distribution
stakingCore.stake{value: 10 ether}("");
}Community Codes
Burning (Unstaking)
Instant Redemption
API Endpoints
Base URL
Available Endpoints
Function Signatures
StakingCore Contract
WithdrawManager Contract
BeHYPE Token Contract (ERC20)
Support
Last updated