Skip to content

feat(ts): add vote and reward commands - #949

Merged
gummy789j merged 1 commit into
tronprotocol:feat/ts-v0.1.1from
grayfoxd:feat/ts-v0.1.1
Jul 9, 2026
Merged

feat(ts): add vote and reward commands#949
gummy789j merged 1 commit into
tronprotocol:feat/ts-v0.1.1from
grayfoxd:feat/ts-v0.1.1

Conversation

@grayfoxd

@grayfoxd grayfoxd commented Jul 8, 2026

Copy link
Copy Markdown

No description provided.

@gummy789j
gummy789j merged commit 89c2417 into tronprotocol:feat/ts-v0.1.1 Jul 9, 2026
gummy789j added a commit that referenced this pull request Jul 9, 2026
…s, vote/reward

Steven's v0.1.1 slice plus Leon's vote/reward (#949), rectified to repo conventions:
- config: waitTimeoutMs (configurable --wait-timeout default)
- gateway: TRON stake/chain read RPCs; reads + tx confirmation via the full node
  (fast --wait ~3s instead of ~60s solidity lag; fresh, consistent reads)
- stake: info / delegated queries + public votingPower()
- chain: params / prices / node
- change-password + import mnemonic/private-key: TTY-only secret entry (no --*-stdin)
- vote: cast / list / status ; reward: balance / withdraw
  (rectified: reuse stake.votingPower via injected TronStakeService, scope.warn instead
   of a __walletCliWarnings data side-channel, shared scalars.formatAtWithRelative,
   bounded/cached brokerage fan-out, pct & receipt-summary cleanups)
- arity: first-class array flags (--for) via yargs array:true — no preprocess/pipe patch
- render: preserve fractional TRX; chain untagged (generic, not TRON-exclusive)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
gummy789j added a commit that referenced this pull request Jul 15, 2026
…s, vote/reward

Steven's v0.1.1 slice plus Leon's vote/reward (#949), rectified to repo conventions:
- config: waitTimeoutMs (configurable --wait-timeout default)
- gateway: TRON stake/chain read RPCs; reads + tx confirmation via the full node
  (fast --wait ~3s instead of ~60s solidity lag; fresh, consistent reads)
- stake: info / delegated queries + public votingPower()
- chain: params / prices / node
- change-password + import mnemonic/private-key: TTY-only secret entry (no --*-stdin)
- vote: cast / list / status ; reward: balance / withdraw
  (rectified: reuse stake.votingPower via injected TronStakeService, scope.warn instead
   of a __walletCliWarnings data side-channel, shared scalars.formatAtWithRelative,
   bounded/cached brokerage fan-out, pct & receipt-summary cleanups)
- arity: first-class array flags (--for) via yargs array:true — no preprocess/pipe patch
- render: preserve fractional TRX; chain untagged (generic, not TRON-exclusive)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
gummy789j added a commit that referenced this pull request Jul 15, 2026
…s, vote/reward

Steven's v0.1.1 slice plus Leon's vote/reward (#949), rectified to repo conventions:
- config: waitTimeoutMs (configurable --wait-timeout default)
- gateway: TRON stake/chain read RPCs; reads + tx confirmation via the full node
  (fast --wait ~3s instead of ~60s solidity lag; fresh, consistent reads)
- stake: info / delegated queries + public votingPower()
- chain: params / prices / node
- change-password + import mnemonic/private-key: TTY-only secret entry (no --*-stdin)
- vote: cast / list / status ; reward: balance / withdraw
  (rectified: reuse stake.votingPower via injected TronStakeService, scope.warn instead
   of a __walletCliWarnings data side-channel, shared scalars.formatAtWithRelative,
   bounded/cached brokerage fan-out, pct & receipt-summary cleanups)
- arity: first-class array flags (--for) via yargs array:true — no preprocess/pipe patch
- render: preserve fractional TRX; chain untagged (generic, not TRON-exclusive)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants