Skip to content

Stake Lock as Owner Alpha on Subnet Registration#2558

Open
JohnReedV wants to merge 10 commits intodevnet-readyfrom
owner-alpha-on-subnet-register
Open

Stake Lock as Owner Alpha on Subnet Registration#2558
JohnReedV wants to merge 10 commits intodevnet-readyfrom
owner-alpha-on-subnet-register

Conversation

@JohnReedV
Copy link
Copy Markdown
Contributor

Summary

This PR updates subnet registration so the owner key receives initial staked alpha at registration time.

Previously, subnet registration only:

  • locked the registration TAO,
  • seeded the new subnet pool with network_min_lock,
  • recycled the remainder,
  • and set the subnet owner metadata.

The owner did not receive any initial alpha stake from the registration spend.

With this change, the owner now receives staked alpha equivalent to the TAO spent on registration, converted using the current median subnet alpha price at the time of registration.

In one line:
Registering a subnet now grants the owner initial staked alpha priced off the median subnet alpha market price.


Registration flow change

After the registration lock is taken and the subnet is initialized:

  1. the new subnet pool is still seeded using network_min_lock
  2. the current median subnet alpha price is computed from existing subnets
  3. the TAO actually spent on registration is converted into alpha using that median price
  4. that alpha is assigned as staked alpha to the subnet owner hotkey/coldkey pair

This preserves the existing subnet initialization flow while adding an owner stake position at creation time.

@JohnReedV JohnReedV added the skip-cargo-audit This PR fails cargo audit but needs to be merged anyway label Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-cargo-audit This PR fails cargo audit but needs to be merged anyway

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant