is there any simple example to send data to network?

like name, email, phone, address (which is made keyring), and address, etc

1 Answer 1


In Substrate you have the pallet identity:

Enables a federated naming system that allows multiple registrars to be added from a specified origin. Registrars can set a fee to provide identity-verification service.

It has an extrinsic set_identity that associates the identity of an account. (You can see the struct IdentityInfo here).

This pallet exists in Polkadot, so you can store data associated to an account there. If you want to do it in your custom network you can integrate that pallet in your network. Take an example about how the Polkadot runtime is configured to use this pallet here.

And finally as you added the tag Polkadot-js in order to set the identity using this tool: api.tx.identity.setIdentity.

Check the docs.

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.