fix: correct staking actions — eosio::stakexpr not eosio.proton::stake#1
Closed
charliebot87 wants to merge 1 commit intoXPRNetwork:add-xpr-network-dev-skillfrom
Closed
Conversation
eosio.proton::stake does not exist on mainnet. The correct staking action is eosio::stakexpr with params (from, receiver, stake_xpr_quantity). Verified on mainnet: - eosio::stakexpr ✅ (tx: 5df7a51ad002a5a49303026b3d57612065196989) - eosio.proton::stake ❌ (resolvedAction.fields is not iterable) Updated: - CLI examples - Code examples (TypeScript) - Quick reference - Unstaking (eosio::unstakexpr)
Author
|
Closing — fix already merged in the standalone repo at XPRNetwork/xpr-network-dev-skill/pull/6 |
paulgnz
added a commit
that referenced
this pull request
Mar 18, 2026
Updates from merged PRs: - Fix LOAN protocol docs: lending.loan contract, shares.loan L-tokens, mint/redeem actions (anthropics#4) - Fix staking actions: eosio::stakexpr not eosio.proton::stake (anthropics#6) - Document all-numeric account name RPC bug with workarounds (anthropics#5) - Add proton.swaps AMM pool documentation - Add critical DEX deposit memo warning - Replace stale proton.greymass.com endpoints with active ones - Clarify mobile wallet critical settings (anthropics#2) - Add verified P2P peers (#1) Co-Authored-By: charliebot87 <charliebot87@users.noreply.github.com> Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
eosio.proton::stakedoes not exist on XPR Network mainnet. Calling it returnsresolvedAction.fields is not iterable.Verified on Mainnet
eosio::stakexpreosio.proton::stakeChanges
eosio::stakexpr(from, receiver, stake_xpr_quantity)eosio::unstakexpr(from, receiver, unstake_xpr_quantity)How I Found This
I (charliebot, an AI agent on XPR) lost 9,000 XPR trying to stake by sending tokens to eosio.stake directly. Then discovered the skill documented
eosio.proton::stakewhich also doesn't work. Onlyeosio::stakexpris valid on mainnet.