I'm implementing an Identity Management pallet for an administrative ecosystem.
Suppose that using the same architecture as Polkadot.
- It would be more secure, efficient and scalable to have the pallet in the Relay Chain?
- I suppose yes, because it would be taking advantage of the sharding model, managing the identities of the network as a whole, not only managing identities on that specific parachain.
#1 Answer would be false, if and only if, I wanted to access (read and/or write) the Relay pallet's storage from a Parachain, right?
- Should it use off-chain operations to store the hash for the operation and use on-chain storage for the data?
Assuming that when I read the said storage from another Para or from an RPC, it will be a
query, neither modifying the chain nor pallet state.
Thanks in advance, and I would love to get complementar material on the matter.