Skip to content

createstakepool Command Guide

Enrico Rubboli edited this page Aug 15, 2023 · 2 revisions

This command is used to create a new stake pool.

Usage

createstakepool <AMOUNT> <COST_PER_BLOCK> <MARGIN_RATIO_PER_THOUSAND>

Arguments

  1. [AMOUNT]:
    • Description: The total amount of funds you want to allocate for the stake pool.
    • Type: Amount (numeric value)
  2. <COST_PER_BLOCK>:
    • Description: The cost or fee that will be deducted from the total reward for each block. If the cost per block is greater than the total reward, the entire reward will be given to the pool owner.
    • Type: Amount (numeric value)
  3. <MARGIN_RATIO_PER_THOUSAND>:
    • Description : This represents the margin ratio that the pool owner will earn from the total reward after deducting the cost per block. It's a ratio out of 1000 (as a decimal number between 0 and 1). For instance, if set to 0.2, it means the pool owner will earn 20% of the remaining reward after deducting the cost per block.
    • Type: Decimal (decimal value between 0 and 1)
  4. [DECOMMISSION_KEY] (optional):
    • Description: A key used for decommissioning purposes. If provided, it can be used to decommission the stake pool.
    • Type: Key (alphanumeric)

Options

-h, --help: Displays help information for the getbalance command.

Examples

C reate a pool with 40.000 ML tokens as pledge, 10 ML tokens as commission and 5% commission for the remaining reward.

Wallet> createstakepool 40000 10 0.05
The transaction was submitted successfully
Clone this wiki locally