1

My team has got our parachain crowdloan pallet working, thanks to PureStake & Moonbeam

According to Polkadot and Moonbeam's description of Crowdloans and example specs, I think there must be some kind of Crowdfunding+Slot Auction going on somewhere before any Crowdloan can happen, right?

(as a Crowdloan just gives out reward tokens over certain time periods, but before this can happen the crowdfunding must be finished first, right?)

The thing is that I could not find such crowdfunding or auction source code in either Polkadot or Moonbeam repositories...

If such source code is hidden, then we can only trust Polkadot team to run Crowdfunding and Slot Auction for my team, is that correct?

More reference: https://medium.com/moonbeam-network/tagged/crowdloan

2
  • 1
    Please add links to where you are reading about things, for others to reference and understand context
    – Nuke
    Apr 10, 2022 at 0:00
  • 1
    references added. Thanks
    – Russo
    Apr 11, 2022 at 4:36

2 Answers 2

5

I think you are misunderstanding the mechanism of rewards for participants in a crowdloan that exist on your parachain and the slot auctions and crowdloans that exist on the relay chain.

Relay chains has the slot mechanisms, including the crowdloan pallet in its' runtime, that is actually implemented alongside the relay chain runtimes here: https://github.com/paritytech/polkadot/tree/master/runtime/common/src

Parachains may implement other logic that looks at the state of the relay chain for information they then map to something on their parachain. Up to them and their community to decide.

3
  • does that mean my parachain's crowdloan pallet is not needed for me to run a crowdloan, because the Relay chain has crowdloan already?
    – Russo
    Apr 11, 2022 at 9:53
  • "Parachains may implement other logic that looks at the state of the relay chain" is my next question... please have a look substrate.stackexchange.com/questions/1801/…
    – Russo
    Apr 11, 2022 at 10:26
  • 1
    The crowd loan pallet isn't required on parachians. This isn't really useful in the context of one, but perhaps only could be used as a reference to inform of logic that might inspire your work and inform how to generate those rewards from reading storages on the relay chain
    – Nuke
    Apr 17, 2022 at 18:34
4

Everything running on Polkadot & Kusama is OSS, there is nothing "private" or "hidden" or deployed without the source being available:

Crowdloans source

Auctions source

1
  • Thank you. Oh i see. it is just hard to find those details
    – Russo
    Apr 11, 2022 at 10:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.