jinn-node-staking-ops
Use this skill for staking reward operations.
Claim flow
- Claim L1 dispenser incentives (bridges OLAS to Base).
- Wait bridge finalization (~20 min typical).
- Claim L2 service rewards on Base.
Commands
1. L1 dispenser incentives
cd jinn-node
yarn staking:claim-incentives --dry-run
yarn staking:claim-incentives
2. L2 service rewards
cd jinn-node
yarn staking:claim-rewards --dry-run
yarn staking:claim-rewards
Preconditions
.operateexists and service is configured.OPERATE_PASSWORDset in.env.- Sufficient gas on relevant chain:
- Ethereum mainnet gas for
claim-incentives. - Base gas for
claim-rewards.
- Ethereum mainnet gas for
3. Migrate between staking contracts
cd jinn-node
yarn wallet:restake --target jinn_v2 --dry-run
yarn wallet:restake --target jinn_v2
The --target flag updates each service's staking_program_id in config, then the middleware
handles the full lifecycle (unstake → terminate → unbond → re-register → deploy → stake).
Failure handling
If claim fails:
- capture full stderr/stdout,
- verify wallet balances with
yarn wallet:info, - retry dry-run to confirm command path and chain context.