To what will the Currency associated type of pallet-assets be configured if I configure it to pallet-balances like done in statemint?

  • Will it be set to something within pallet-balances, what exactly?
  • Or to the entire pallet, how does this work?

Thanks in advance


1 Answer 1


First, Balances being the name that is set for pallet-balances in construct_runtime!. This is a type declaration that looks like:

type Balances = pallet_balances::Pallet<Runtime>;

Or to the entire pallet, how does this work?

So, this is right. Currency is a trait and this trait is implemented for the pallet_balances::Pallet. So, pallet-assets will use pallet-balances as currency implementation through the Currency trait.


Your Answer

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

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