Skip to content
This repository was archived by the owner on Jul 10, 2026. It is now read-only.

[v10] Integrate Crowdloan#3098

Merged
basfroman merged 30 commits into
SDKv10from
feat/roman/add_crowdloan
Oct 20, 2025
Merged

[v10] Integrate Crowdloan#3098
basfroman merged 30 commits into
SDKv10from
feat/roman/add_crowdloan

Conversation

@basfroman

@basfroman basfroman commented Oct 15, 2025

Copy link
Copy Markdown
Collaborator

Async/Subtensor has new methods:

  • get_crowdloan_constants
  • get_crowdloan_contributions
  • get_crowdloan_by_id
  • get_crowdloan_next_id
  • get_crowdloans

extrinsic methods below

  • contribute_crowdloan
  • create_crowdloan
  • dissolve_crowdloan
  • finalize_crowdloan
  • refund_crowdloan
  • update_cap_crowdloan
  • update_end_crowdloan
  • update_min_contribution_crowdloan
  • withdraw_crowdloan

Added new extrinsics to bittensor.core.extrinsics.crowdloan/.asyncex

  • contribute_crowdloan_extrinsic
  • create_crowdloan_extrinsic
  • dissolve_crowdloan_extrinsic
  • finalize_crowdloan_extrinsic
  • refund_crowdloan_extrinsic
  • update_cap_crowdloan_extrinsic
  • update_end_crowdloan_extrinsic
  • update_min_contribution_crowdloan_extrinsic
  • withdraw_crowdloan_extrinsic

Testing

  • all logic is covered by unit tests.
  • all cases are covered by e2e tests.

Related links

@basfroman basfroman self-assigned this Oct 15, 2025
@basfroman basfroman added the feature new feature added label Oct 15, 2025
@basfroman basfroman changed the title [WIP] [v10] Integrate Crowdloan [v10] Integrate Crowdloan Oct 15, 2025
@basfroman basfroman mentioned this pull request Oct 15, 2025
@basfroman
basfroman requested a review from a team October 15, 2025 22:49
@thewhaleking

Copy link
Copy Markdown
Contributor

Test failures are because of btcli requiring scalecodec 1.2.11. It is also updated to 1.2.12 in RaoFoundation/btcli#657

@thewhaleking thewhaleking linked an issue Oct 20, 2025 that may be closed by this pull request
@basfroman
basfroman merged commit 417075f into SDKv10 Oct 20, 2025
367 checks passed
@basfroman
basfroman deleted the feat/roman/add_crowdloan branch October 20, 2025 20:18
This was referenced Dec 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

feature new feature added

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integrate Crowdloan

3 participants