You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since you need to act as ROOT and you don't have direct root access, you need to create a governance proposal on the relay chain to send an XCM message to the People parachain. Here’s how to do it:
Go to the "Governance" section on Polkadot.js Apps and navigate to "Submit a proposal".
Use the following XCM message format to submit the proposal:
Our testnet is set with parachain ID 1000. Change for mainnet accordingly.
Submit and Approve the Proposal
After submitting the proposal, it will go through the governance process on the relay chain. Depending on your governance settings, it might require voting or some other form of approval.
Once the proposal is approved, the XCM message will be sent to the People parachain.
Verify the Registrar Creation
After the XCM message is executed, verify that Alice is now a registrar on the People parachain by checking the appropriate module (likely the identity module) on the People parachain.
Example Polkadot.js Script
If you want to automate some of these steps using a script, you can use the Polkadot.js API. Here’s an example script to submit the governance proposal:
TESTNET setup
Prerequisites
Setup mainnet like testnet with ROOT
Clone the Repository
git clone https://github.com/rotkonetworks/pop-cli cd pop-cli
Build the Project
Run the Testnet
Setup mainnet like testnet with governance
Clone the Repository
git clone https://github.com/rotkonetworks/pop-cli cd pop-cli
Build the Project
Run the Testnet
Steps to Create a Registrar with Governance
Set Up and Run the Local Testnet
Follow the steps in the provided README to set up and run the local testnet.
Access Polkadot.js Apps
Open Polkadot.js Apps and connect to your local testnet.
Prepare the Extrinsic
Prepare the extrinsic to make Alice a registrar on the People parachain. You can use the following call to prepare the extrinsic:
Create a Governance Proposal
Since you need to act as
ROOT
and you don't have direct root access, you need to create a governance proposal on the relay chain to send an XCM message to the People parachain. Here’s how to do it:Go to the "Governance" section on Polkadot.js Apps and navigate to "Submit a proposal".
Use the following XCM message format to submit the proposal:
1000
. Change for mainnet accordingly.Submit and Approve the Proposal
After submitting the proposal, it will go through the governance process on the relay chain. Depending on your governance settings, it might require voting or some other form of approval.
Once the proposal is approved, the XCM message will be sent to the People parachain.
Verify the Registrar Creation
Example Polkadot.js Script
If you want to automate some of these steps using a script, you can use the Polkadot.js API. Here’s an example script to submit the governance proposal:
The text was updated successfully, but these errors were encountered: