Evolution SDK
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

  1. Register — Create a stake credential on-chain (requires a deposit)
  2. Delegate — Assign your stake to a pool and/or DRep
  3. Earn — Accumulate rewards each epoch
  4. Withdraw — Claim accumulated rewards
  5. Deregister — Remove credential and reclaim deposit (optional)

Quick Example

import { ,  } from "@evolution-sdk/evolution"

const  = ({
  : "preprod",
  : { : "blockfrost", : "https://cardano-preprod.blockfrost.io/api/v0", : ..! },
  : { : "seed", : ..!, : 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