Skip to content

Commit 603dac9

Browse files
Update entering-staking.adoc (#1383)
* Update entering-staking.adoc Got rid of the Operator contract and added some links * Update entering-staking.adoc * minor fixes * minor fix --------- Co-authored-by: Raz Landau <[email protected]> Co-authored-by: razlandau <[email protected]>
1 parent 3d30435 commit 603dac9

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

components/Starknet/modules/staking/pages/entering-staking.adoc

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ For more information on what happens during the staking process, see xref:archit
1515

1616
.Prerequisites
1717

18-
* Validators are expected to run full nodes in preparation for the following stages of the protocol. You can use any full node implementation you choose:
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:
1919
** link:https://github.com/NethermindEth/juno[Juno] by Nethermind - link:https://juno.nethermind.io/hardware-requirements/#recommended-requirements[Spec].
2020
** link:https://github.com/eqlabs/pathfinder[Pathfinder] by EQLabs - https://github.com/eqlabs/pathfinder?tab=readme-ov-file#hardware-requirements[Spec].
2121
** link:https://github.com/madara-alliance/madara[Madara] by Madara Alliance - link:https://docs.madara.build/get-started/requirements[Spec].
@@ -24,17 +24,21 @@ For more information on what happens during the staking process, see xref:archit
2424

2525
.Procedure
2626

27-
. Pre-approve the STRK ERC20 contract for the transfer of tokens from your address to the staking contract (and *not* the operator contract):
27+
. Pre-approve the STRK ERC20 contract for the transfer of tokens from your address to the staking contract:
2828
+
29-
* Using a Starknet block explorer, navigate to the STRK ERC20 contract (link:https://starkscan.co/token/0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d[Starkscan], link:https://voyager.online/contract/0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d[Voyager]).
30-
* Approve the staking contract to transfer the specified amount of STRK tokens on your behalf.
31-
. Using a Starknet block explorer, navigate to the operator contract.
29+
.. Using a Starknet block explorer, navigate to the STRK ERC20 contract (link:https://starkscan.co/token/0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d[Starkscan], link:https://voyager.online/contract/0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d[Voyager]).
30+
.. In the contract interface, locate and select the `approve` function.
31+
.. Enter the following parameters:
32+
* In *`spender`*, enter your address.
33+
* In *`amount`*, enter the number of STRK tokens you want to stake. Note: STRK has 18 decimals.
34+
.. 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]).
3236
. In the contract interface, locate and select the `stake` function.
3337
. Enter the following parameters:
3438
+
3539
* In *`reward_address`*, enter the address where the rewards will be sent.
3640
* In *`operational_address`*, enter the operational address associated with this stake.
37-
* In *`amount`*, enter the number of STRK tokens you want to stake.
41+
* In *`amount`*, enter the number of STRK tokens you want to stake. Note: STRK has 18 decimals.
3842
* In *`pooling_enabled`*, enter `true` if you wish to enable delegation pooling, otherwise enter `false`.
3943
* 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.
4044
. Submit the transaction to execute the staking operation.

0 commit comments

Comments
 (0)