-
Notifications
You must be signed in to change notification settings - Fork 28
Staking TML Tokens
Staking with Mintlayer offers you two prominent paths. Whether you want to be at the helm of managing a staking pool or prefer to delegate your tokens to an expertly managed pool, we have you covered. Dive into this guide to learn both methods.
For those who possess a robust amount of TML tokens and the technical prowess to maintain a staking pool, this is a route worth considering.
-
Balance: Before even thinking of starting a pool, your wallet should have at least 40,000 TML tokens.
-
Always-On Machine: You're not just managing your tokens. You're providing a service to others. Ensure your computer remains online 24/7 to keep the staking pool operational.
-
Execute
createstakepool
Command: This command initiates your staking pool. We discussed its details earlier, but here's a quick recap:createstakepool <AMOUNT> <COST_PER_BLOCK> <MARGIN_RATIO_PER_THOUSAND> [DECOMMISSION_KEY]
-
Kick-off Staking with
startstaking
: After setting up your pool, you need to get it going. Thestartstaking
command does just that. -
Monitor with
stakepoolbalance
: Keep an eye on your staking pool's balance. Here's how:stakepoolbalance <POOL_ID>
Arguments:
-
<POOL_ID>
: The unique ID of your staking pool. Make sure you have this ID handy.
-
If you're not up for running your own staking pool but still want to earn rewards from staking, delegating your tokens is an excellent choice. The process is trustless, giving you peace of mind knowing you can always retrieve your tokens without the pool manager's consent.
-
Discover Available Delegations: Before you start, get a grasp of the available delegations and their balances. Use the
listdelegationids
command:listdelegationids
This command displays available delegation IDs alongside their respective balances.
-
Create a New Delegation: Before you can delegate for staking, you need to have a delegation. This step helps in that:
createdelegation
Following this command, Mintlayer Wallet will provide you with a unique delegation ID. Keep this ID safe; you'll need it in subsequent steps.
-
Delegate for Staking: With your delegation created, you can now delegate your tokens for staking:
delegatestaking
Remember, while your tokens are safe and under your control, the staking reward is contingent on the pool's proper operation.
-
Retrieve Tokens from Delegation: If you ever need to pull your tokens from a delegation and send them to a specific address, use the following command:
sendfromdelegationtoaddress
Make sure to provide the necessary parameters, like the destination address.
Whether you're starting a staking pool or riding the wave by delegating, Mintlayer offers a seamless staking experience. As with all investments and blockchain operations, always stay informed and updated. Happy staking!
Note: Parameters and staking details might evolve over time. Stay connected with Mintlayer's official channels and community to get the latest scoop.