- 
                Notifications
    You must be signed in to change notification settings 
- Fork 30
createdelegation Command Guide
        Enrico Rubboli edited this page Oct 23, 2023 
        ·
        1 revision
      
    The createdelegation command allows you to create a delegation to a specific staking pool in Mintlayer. This is useful for users who want to delegate their tokens to a staking pool without actually running a node themselves.
To create a delegation, you need to specify the destination address and the Pool ID of the staking pool you want to delegate to. Use the following command:
createdelegation <ADDRESS> <POOL_ID>- 
<ADDRESS>: The destination address of the delegation.
- 
<POOL_ID>: The ID of the staking pool to which you want to delegate.
- 
-h, --help: Print the help message.
Let's say you want to create a delegation with destination address tmt1q8duxru0ranld7r73c6meezkwndftdma9vmmnzyc and the staking pool with the ID tpool12udk7skuzl3u5msdq4zx3n0wyc3ahp5ejnzh7a59ylvzl39elqcs5zpc5e . You would use the following command:
createdelegation tmt1q8duxru0ranld7r73c6meezkwndftdma9vmmnzyc tpool12udk7skuzl3u5msdq4zx3n0wyc3ahp5ejnzh7a59ylvzl39elqcs5zpc5e- Ensure that the Pool ID you are delegating to is valid and active.
- The destination address will be the one controlling the delegation. Make sure it is a valid and accessible address. If you are unsure, just create a new one using newaddress.