I want to use the proxy pallet in my code. Do we have any sample Substrate example code to use it?

  • Please update your question to represent a minimum reproducible example. For example, what language are you programming in, what are you trying to do, what have you tried, what errors are you seeing, etc...
    – Shawn Tabrizi
    Feb 21, 2022 at 16:31

1 Answer 1


I integrated the proxy pallet into my code here mid last year. It is a sample of the Substrate code you might need to use it if you were still using an earlier version of Substrate version 3.0.0.

To integrate the proxy pallet from the latest Substrate 'master' branch you can refer to files like bin/node/runtime/src/lib.rs that show how to incorporate it into your runtime.

There is example Substrate code in the unit test file of the proxy pallet that shows different scenarios of how you may use the proxy pallet.

For example it shows in this unit test how to use its add_proxy extrinsic. For the latest 'master' branch it is implemented here and documented here.

  • Why would one require the use of pallet-proxy? Feb 23, 2022 at 10:55
  • the DataHighway project used the 'membership' frame from Substrate to create a whitelist of Supernode AccountIds that were granted proxy permission to claim DHX Mining rewards on behalf of their members that were eligible for them. Mar 24, 2022 at 3:04

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