Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add user staking features #1427

Draft
wants to merge 9 commits into
base: alpha
Choose a base branch
from
Draft

Add user staking features #1427

wants to merge 9 commits into from

Conversation

polymath-eric
Copy link
Collaborator

Description

Add SDK functions to allow for bonding and nominating validators

Breaking Changes

JIRA Link

Checklist

  • Updated the Readme.md (if required) ?

@polymath-eric polymath-eric requested a review from a team as a code owner January 20, 2025 21:35
add staking namespace with bond transaction to allow an account to bond
POLYX
allow account to get the designated controller account
add getters to fetch nomination and staking information for an account
allow account to unbond POLYX with `Account.staking.unbond`
allow account to bond additional POLYX
allow a stash account to change its controller and a
controller to change its reward destination
allow a controller to free unbonded POLYX for the stash account
add `account.staking.nominate` method to allow a controller to select
validators
allow users to subscribe to an account's controller, nominations and
eraInfo
@polymath-eric polymath-eric marked this pull request as draft January 20, 2025 22:29
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.

1 participant