Skip to content

Conversation

basfroman
Copy link
Collaborator

@basfroman basfroman commented Oct 15, 2025

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
6 tasks
@basfroman basfroman requested a review from a team October 15, 2025 22:49
@thewhaleking
Copy link
Contributor

Test failures are because of btcli requiring scalecodec 1.2.11. It is also updated to 1.2.12 in opentensor/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature new feature added

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integrate Crowdloan

3 participants