sodax-sdk-staking

Installation
SKILL.md

Staking (Core SDK granular skill)

Granular skill for StakingServicesodax.staking. Feature tag: 'staking'.

Step 1 — Clarify with user before coding

  1. New code or v1 → v2 port?
  2. Which operation? stake, unstake, instantUnstake (penalty), claim, cancelUnstake.
  3. Cross-chain (staking from a spoke chain) or hub-side (Sonic)? Staking from a spoke routes through the relay.
  4. Need user staking info?
    • From a spoke address (most consumer code): getStakingInfoFromSpoke(srcAddress, srcChainKey) — resolves spoke → hub then reads.
    • From a hub address directly (already on Sonic): getStakingInfo(hubAddress). Both are public reads on StakingService.

Integration workflow

Installs
1
First Seen
Jun 10, 2026
sodax-sdk-staking — icon-project/sodax-sdks