Skip to content

Create Genesis for the development chain #161

@vovacha

Description

@vovacha
  • Prepare genesis generation functions for the next pallets: Balances, Tokens, Control
  • Generate parachain chainspec for DEV -> image public.ecr.aws/zero.io/subzero:{version}-dev updated
  • Generate parachain chainspec for STAGE -> image public.ecr.aws/zero.io/subzero:{version}-stage updated
  • Generate accounts, save to 1Password
  • Test:
    • Check if all endowed accounts have expected balances
    • Check if all orgs were created with proper treasury addresses
    • Check if all collators have proper keys

Balances genesis:

  • mint tokens (ZERO)
  • distribute tokens across endowed accounts

Tokens genesis:

  • mint tokens (GAME, PLAY)
  • distribute tokens across endowed accounts

Control genesis:

  • create organizations using pre-defined treasury account addresses, CIDs and prime/creator account

Endowed accounts list:

  • Org prime
  • Faucet bot
  • Root

Endowed accounts distribution:

  • ZERO: 1M
  • GAME: 1M
  • PLAY: 1M

Organization's CIDs:

  • Zero treasury: QmcNp8hsRaxVDhKgbgo6Jtcb8papyPnKbqjzFtqzqxDE7j
  • GameDAO treasury: QmUWu6zoFM4j1fwT6fHGEjiuCSft2sNcbmJtT23R9su3Bk
  • Game3Foundation treasury: QmNYVx6bhRUGbMp6UEPHKhaLRwFfpsbsP4sFT9XCvMxgfz

Token distribution rules for treasury accounts are defined in figma: https://www.figma.com/file/6BD2pkVrBqO0GyJTvp1t5r/Governance-%26-Treasury-Setup?node-id=0%3A1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions