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
If the response emits `“null”`, you need to register the public key. If it emits a hex string value, thats the Public Key and no further action is required.
21
22
23
+
Alternatively you can use the tracker, click on the "Contract" tab, and find the `getPRepNodePublicKey` method. You should then enter your P-Rep's address.
To generate the Public Key using the [goloop CLI](https://docs.icon.community/concepts/computational-utilities/goloop) you can use the `goloop ks pubkey`[command](https://github.com/icon-project/goloop/blob/master/doc/goloop_cli.md#goloop-ks-pubkey) command as shown in the following example:
> Note: If you are using a node address, use that keystore and password to generate the public address.
35
+
29
36
### Register Public Key
30
37
31
38
To register a public key we can use the goloop CLI to send a transaction calling the `registerPRepNodePublicKey` method of the chain contract as shown in the following example:
Alternatively you can use the tracker. Use your prep address and the public key as the inputs to the transaction for the `registerPRepNodePublicKey` method.
0 commit comments