You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/Starknet/modules/staking/pages/entering-staking.adoc
+15-16Lines changed: 15 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,42 +11,41 @@ Using the Starknet staking contract to stake STRK tokens requires interacting wi
11
11
12
12
Subsequently, the validator’s tokens will be locked in the staking contract, and the validator will begin earning rewards based on their stake.
13
13
14
-
For more information on what happens during the staking process, see xref:architecture.adoc#staking-contract[Staking Contract Architecture].
14
+
For more information on what happens during the staking process, see xref:architecture.adoc#staking-contract[Staking Architecture].
15
15
16
16
.Prerequisites
17
17
18
18
* Validators are required to run full nodes in preparation for the following stages of the protocol. You can use any full node implementation you choose:
19
-
** link:https://github.com/NethermindEth/juno[Juno] by Nethermind - link:https://juno.nethermind.io/hardware-requirements/#recommended-requirements[Spec].
20
-
** link:https://github.com/eqlabs/pathfinder[Pathfinder] by EQLabs - https://github.com/eqlabs/pathfinder?tab=readme-ov-file#hardware-requirements[Spec].
21
-
** link:https://github.com/madara-alliance/madara[Madara] by Madara Alliance - link:https://docs.madara.build/Installation/requirements[Spec].
19
+
** https://github.com/NethermindEth/juno[Juno] by Nethermind: https://juno.nethermind.io/hardware-requirements[juno.nethermind.io/hardware-requirements]
20
+
** https://github.com/eqlabs/pathfinder[Pathfinder] by Equilibrium: https://github.com/eqlabs/pathfinder?tab=readme-ov-file#hardware-requirements[github.com/eqlabs/pathfinder?tab=readme-ov-file#hardware-requirements]
21
+
** https://github.com/madara-alliance/madara[Madara] by Madara Alliance: https://docs.madara.build/Installation/requirements[docs.madara.build/Installation/requirements]
22
22
* A Starknet-compatible block explorer or CLI tool.
23
23
* Sufficient STRK token balance in your wallet.
24
+
+
25
+
[TIP]
26
+
====
27
+
For validators who wish to use a secure hardware wallet, the https://www.ledger.com/[Ledger hardware wallet] is supported by both https://www.argent.xyz/blog/ledger-argent-integration/[Argent] and https://braavos.app/wallet-features/ledger-on-braavos/[Braavos] wallets.
28
+
29
+
====
24
30
25
31
.Procedure
26
32
27
33
. Pre-approve the STRK ERC20 contract for the transfer of tokens from your address to the staking contract:
28
34
+
29
-
.. Using a Starknet block explorer, navigate to the STRK ERC20 contract (On Sepolia: https://sepolia.starkscan.co/token/0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d[Starkscan], https://sepolia.voyager.online/contract/0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d[Voyager]).
35
+
.. Using a Starknet block explorer such as https://starkscan.co[Starkscan] or https://voyager.online[Voyager], navigate to the STRK contract by searching for xref:tools:important-addresses.adoc#fee_tokens[its address].
30
36
.. In the contract interface, locate and select the `approve` function.
31
37
.. Enter the following parameters:
32
-
* In *`spender`*, enter the Staking contract address (The contract addresses can be found xref:overview.adoc#contract-addresses[here]).
33
-
* In *`amount`*, enter the number of STRK tokens you want to stake. Note: STRK has 18 decimals.
38
+
* In *`spender`*, enter the xref:overview.adoc#staking_contract[staking contract's address].
39
+
* In *`amount`*, enter the number of STRK tokens you want to stake (note that STRK has 18 decimals).
34
40
.. Submit the transaction to execute the pre-approval.
35
-
. Using a Starknet block explorer, navigate to the Staking contract (The contract addresses can be found xref:overview.adoc#contract-addresses[here]).
41
+
. Using a Starknet block explorer such as https://starkscan.co[Starkscan] or https://voyager.online[Voyager], navigate to the staking contract by searching for xref:overview.adoc#staking_contract[its address].
36
42
. In the contract interface, locate and select the `stake` function.
37
43
. Enter the following parameters:
38
44
+
39
45
* In *`reward_address`*, enter the address where the rewards will be sent.
40
46
* In *`operational_address`*, enter the operational address associated with this stake.
41
-
* In *`amount`*, enter the number of STRK tokens you want to stake. Note: STRK has 18 decimals.
47
+
* In *`amount`*, enter the number of STRK tokens you want to stake (note that STRK has 18 decimals).
42
48
* In *`pooling_enabled`*, enter `true` if you wish to enable delegation pooling, otherwise enter `false`.
43
49
* In *`commission`*, enter the commission rate for any delegated staking. The rate should be entered as a percentage with precision, where 10000 represents 100%. For example, to set a 5% commission, you would enter 500.
44
50
. Submit the transaction to execute the staking operation.
45
51
. Register your validator on link:https://forms.gle/BUMEZx9dpd3DcdaT8[Karnot's], link:https://stakingrewards.typeform.com/to/aZdO6pW7[Staking Rewards'], and link:https://forms.gle/WJqrRbUwxSyG7M9x7[Voyager's] dashboards.
The following are the economic parameters used on Starknet Sepolia:
131
141
132
142
* Minimum STRK for Staking: 1 STRK
133
143
* Withdrawal Security Lockup: 5 minutes
134
144
* Minting Curve Yearly Inflation Cap (stem:[C]): 1.6
135
145
136
146
[NOTE]
137
147
====
138
-
For developers who want to deep dive, the index update interval parameter is also set to a minimum of 1 minute instead of a minimum of 24-hours which will be used in production.
148
+
For developers who wish to deep dive, the index update interval parameter is also set to a minimum of 1 minute instead of a minimum of 24-hours which will be used in production.
0 commit comments