Skip to content

How to Modify Initial Asset Allocation: Specifying Different Wallets and Redefining the Initial Asset Quantity #867

@cx6226301

Description

@cx6226301

I am trying to modify the PRE_FUNDED_ACCOUNTS in the file \src\prelaunch_data_generator\genesis_constants\genesis_constants.star. The format I used is correct, but after starting the project, the initialization allocates 1 billion units of the main currency to each of 20 accounts. These 20 accounts are generated based on the mnemonic phrase specified in the DEFAULT_MNEMONIC parameter in \src\package_io\constants.star, which corresponds to the first 20 wallets.

My questions are:

How can I specify other wallets to receive the initial assets instead of these 20 wallets?

Where can I redefine the initial allocation of 1 billion units of the main currency?

First of all, I would like to thank the open-source developers for their contributions. Secondly, I would appreciate it if you could help me resolve this confusion. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions