Process for adding/editing delegates profiles in the staking app

We now have the ability to process profile addition and changes for our delegates’ list: mStable Governance

This post is relevant for you if

  • You want to add your profile to become a named delegate
  • You want to edit your profile or picture
  • You want to delete your profile

All you need to do is follow the steps outlined here or in the repo:

Link to Repo:

How to add a new profile

  1. Fork the repo
  2. Add your profile to the /src/delegates.json file in the “delegatees” array like this:
{
    "chainId": 1, // Has to be 1 = Ethereum, required
    "address": "0x0000", // Your ethereum address, required
    "bio": "", // Short description of your profile, required
    "displayName": "", // Name that is going to appear in the UI, required
    "profileURI": "" // Your profile URI, can be twitter or something else, optional
},
  1. Optionally: Add your profile picture in the folder /src/pfp/.
  • It has to be a .jpg file
  • It has to be named <address>.jpg (case sensitive, make sure it matches the address exactly)
  • It has to be a square image, max size of 256x256
  1. Commit your changes and push them to the repo.
  2. Create a pull request.

How to edit a profile

  1. Fork the repo
  2. Edit your profile in the /src/delegates.json file in the “delegatees” array like this:
{
    "chainId": 1, // Has to be 1 = Ethereum, required
    "address": "0x0000", // Your ethereum address, required
    "bio": "", // Short description of your profile, required
    "displayName": "", // Name that is going to appear in the UI, required
    "profileURI": "" // Your profile URI, can be twitter or something else, optional
    "avatarURI": "" // Your profile picture, only delete if you want to upload a new one, otherwise keep it unchanged
},
  1. Optionally: Add a new profile picture in the folder /src/pfp/.
  • It has to be a .jpg file
  • It has to be named <address>.jpg (case sensitive, make sure it matches the address exactly)
  • It has to be a square image, max size of 256x256
  • IMPORTANT: If you want to upload a new profile picture, you have to delete avatarURI.
  1. Commit your changes and push them to the repo.
  2. Create a pull request.
1 Like