1

I would like to know how we can configure the native currency in a private network? I would like:

  • Change the name of the native currency
  • Change the number of native currency created in the first block to 1000
  • Change the number of decimal of the native currency to 2
  • Be able to create and burn native currency as needed.
  • Change the transactions fees

I used this repository, there are all the configurations but I don't see anything concerning the native currency.

Thanks

1 Answer 1

1

Change the name of the native currency

It's always native in the Horizon server response, but you can name it as you like in the interface. I guess that if you are going to create a separate chain, you'll create a custom client as well, so this shouldn't be a problem.

Change the number of native currency created in the first block to 1000

When you create a private network, the genesis account receives 100000000000 native tokens and you can regulate total XLM supply by burning unneeded tokens or sending them to the time-locked/mulitsig-locked escrow accounts.

Change the number of decimal of the native currency to 2

On the protocol level all amounts are stored as Int64 values. It's you choice how to interpret them on the client side. You can get the precision you need by dividing the raw value by 100.

Be able to create and burn native currency as needed.

This is not supported

Change the transactions fees

You can set the base fee amount during the network upgrade.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.