Staking
Staking
Stake delegation, rewards, and credential management
Staking
Evolution SDK provides complete staking operations — register stake credentials, delegate to pools and DReps, withdraw rewards, and deregister. All operations support both key-based and script-controlled stake credentials.
Staking Lifecycle
- Register — Create a stake credential on-chain (requires a deposit)
- Delegate — Assign your stake to a pool and/or DRep
- Earn — Accumulate rewards each epoch
- Withdraw — Claim accumulated rewards
- Deregister — Remove credential and reclaim deposit (optional)
Quick Example
import { , , } from "@evolution-sdk/evolution"
const = .()
.({
: "https://cardano-preprod.blockfrost.io/api/v0",
: ..!
})
.({ : ..!, : 0 })
declare const : .
declare const : any
// Register and delegate in one transaction
const = await
.()
.({ })
.({ , })
.()
const = await .()
await .()Conway Era Features
The Conway era introduced new delegation capabilities:
- Vote delegation — Delegate voting power to a DRep separately from stake
- Combined certificates — Register + delegate in a single certificate
- Script-controlled staking — Use Plutus scripts for stake operations
Next Steps
Registration
Register stake credentials on-chain
Legacy Registration
Pre-Conway registration, withdrawal scripts, and coordinator pattern
Delegation
Delegate to pools and DReps
Withdrawal
Claim accumulated staking rewards
Deregistration
Remove credentials and reclaim deposit
Stake Pool Operations
Register and retire stake pools