Available translations

Building Your Profile

governance.png
Summary: Building your User Profile involves linking your Governance Address to your identity in Github.com, using the Profile Constructor.
This guide will get you up to speed in just a few minutes. This is what you’ll need (requirements):
  • Up-to-date software: the latest version of the Superalgos Platform in the Develop branch.
  • Identity: your GitHub.com username.
  • Optional: Trust Wallet, or any wallet that may import a Binance Smart Chain (BSC) private key.
Let’s Do This!
1. Load the Token Distribution Superalgos Native Workspace
You may start with the Token Distribution Superalgos Native Workspace so that you may later interact with the top-level Superalgos Project definitions.
2. Spawn and Configure the Profile Constructor
The Profile Constructor is the device you will use to link your Github.com identity with the BSC address where you hold or plan to hold your Superalgos SA Tokens. We call it your Governance Address.
Governance->Concept->Governance Address->Content
Your Governance Address is a Superalgos SA Token address generated from within Superalgos, using the Profile Constructor. The tokens you hold in this address confer you Token Power which you may use from within your User Profile to participate in governance.
  • Access the configuration and enter your GitHub.com username.
  • If you already have a Superalgos SA Token address, you may enter the associated mnemonic phrase to verify the ownership of the address. If you don't have an address, leave the mnemonic property empty so that the Profile Constructor creates a new address for you.
  • Go ahead and select Add Profile Constructor too.
3. Build Your Profile
The next step involves building the profile, but before you do so, let me explain what the process involves:
  • If you didn't enter a mnemonic, a BSC address and the corresponding private key will be generated.
  • A cryptographic message with your GitHub.com username will be signed with the private key corresponding to the address just generated or the mnemonic you entered. This message will be stored in your User Profile so that we may authenticate it comes from you once you submit your profile as a Plugin in the Governance Project.
Ok… let’s do this!
  • Access the menu of the Profile Constructor and click the Build Profile option. Click again to confirm the operation.
That's it!
Check Your Configurations
Now, take a minute to check the configuration of the User Profile node. You should see a message similar to the one below:
 {
    "signature": {
        "message": "your-github-username",
        "messageHash": "0xbb06ac085e61117b629bda325683fe7c15bd286ccf830393fc95211964f43ecb",
        "v": "0x1c",
        "r": "0xe513bfb3e6ca55e782a9c1947164243b49f577f3534c3495f935917de8da3c6c",
        "s": "0x552578693365057338b081ed2dff2de8a268f56714c4265955627ab8eb07f671",
        "signature": "0xe513bfb3e6ca55e782a9c1947164243b49f577f3534c3495f935917de8da3c6c552578693365057338b081ed2dff2de8a268f56714c4265955627ab8eb07f6711c"
    }
}
This is how the governance system will know that this User Profile belongs to the private key that signed the message, which in turn belongs to the address that will hold the tokens that confer your profile with Token Power.
Back-Up Your Keys
Access the configuration of the Profile Constructor. You will find the address and private key in the following format, so that you may back up the information in whatever way you see fit.
 {
    "githubUsername": "your-github-username",
    "address": "0x840B9F33bA8aad161E44b0BA181d7c1C16a0a01c",
    "privateKey": "0x60af9fbb54c48c238a91564e92a3b383a5d87efe82388ac96d98a67e249df427"
}
Delete the Constructor
Import Private Key in a Wallet
Import Private Key in a Wallet
This step is not required for interacting with governance, however, we’ll cover it as you will, most likely, want to do it at some point, and it is recommended anyway, even if not strictly necessary.
The idea is to import the address / private key you just created into a functional hardware or software wallet, so that you may control the tokens you will eventually send to this address.
This is not required to interact with governance, as all you need to do so is send Superalgos SA Tokens to the address. However, it is rather obvious that at some point you may want to move those tokens. You also want to make sure that you do indeed control the address before sending tokens there. So, let’s get on with it!
  • Click the “Settings” button.
  • Click on the “Wallets” option.
  • Click on the plus sign ( + ) on the top-right corner.
  • Click on the “I Already Have a Wallet” option.
  • Click “Smart Chain”.
  • Click on the “Private Key” tab.
  • Copy your Private Key and click “PASTE”. I know, Trust Wallet runs on your mobile phone, so you need to figure out how to access your private key from your phone.
  • Enter a Name for the wallet (something along the lines of “Superalgos Profile”?) and click the “IMPORT” button.
  • You should get a message along the lines of “Your wallet was successfully created”. This means you have control of the address!
Next
User Profile Hierarchy