> For the complete documentation index, see [llms.txt](https://bloxxa-1.gitbook.io/bloxxa-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bloxxa-1.gitbook.io/bloxxa-guide/smart-contract-constructor/editor/staking.md).

# Staking

1. **Click the + Create button**

   <figure><img src="/files/3fccBMofYcR0MPovDF9b" alt=""><figcaption></figcaption></figure>

2. **Select the type of smart contract you want to create:**
   * NFT ERC-1155
   * NFT ERC-721
   * ERC-20
   * **Staking**
   * Sale
   * Vesting<br>

     <figure><img src="/files/llWaitEtxOmI3vh4s2Na" alt=""><figcaption></figcaption></figure>

3. **Choose the network:**
   * BNB Chain
   * Polygon
   * Ethereum

     <figure><img src="/files/0LEpk4XkfLE0ImGQLHnu" alt=""><figcaption></figcaption></figure>

4. **Click the Connect Wallet button** and connect your MetaMask wallet.

   <figure><img src="/files/ek6av5UTtFo9K9hbtIgy" alt=""><figcaption></figcaption></figure>

5. **Let's continue with creating the Staking  smart contract.**

   * In this example, we'll create a **Staking** smart contract. Staking involves participating in the validation of transactions on a blockchain, typically in proof-of-stake (PoS) or delegated proof-of-stake (DPoS) networks. It requires holding and locking up a certain amount of cryptocurrency to support the network's operations, such as block validation and securing the network.\ <br>

     <figure><img src="/files/CXPrBFsGYhDuBbDYSxos" alt=""><figcaption></figcaption></figure>
   * **Fill in the required information for your Staking smart contract:**

     1. **Address of Staking Token**
        * This is the address of the token that will be used for staking.
     2. **Min Stake**
        * The minimum amount of tokens required for staking. Enter this value in wei format (1 token = 10^18 wei).
     3. **Max Stake**
        * The maximum amount of tokens allowed for staking. Enter this value in wei format.
     4. **Lock Period**
        * The duration for which the tokens will be locked during staking. This must be entered in seconds (e.g., 30 days = 2,592,000 seconds).
     5. **Reward Rate**
        * The percentage reward rate for staking. This determines how much the user will earn as a reward for staking their tokens.
     6. **Address of Owner**
        * Example: `0x5B61710DBe0cb76078B95B0BB9AEB33FA34A3A65`
        * This is the address of the staking contract owner.
     7. **Pool Value**
        * The total pool value available for staking. Enter this value in wei format (1 token = 10^18 wei).

     After filling in all the fields, click the **NEXT** button.

6. **Pay $50 in USDT via MetaMask**. Ensure you have enough tokens for the transaction. If you are using Binance Smart Chain, you'll need approximately $5 in BNB, $3 in MATIC for Polygon, or $15-$20 in ETH for Ethereum. Click **NEXT** and confirm the transaction (up to 3 confirmations may be required). The smart contract creation usually takes around 30 seconds

   <figure><img src="/files/Eb1oNNHdoycuyVPmWzg8" alt=""><figcaption></figcaption></figure>

7. **Your smart contract will now be available in your account.**

   <figure><img src="/files/uCtQEaxgPOIqrKHCgkTT" alt=""><figcaption></figcaption></figure>

8. **You can now go to the blockchain explorer** to review your contract and begin using it for your needs.

   <figure><img src="/files/z0RSD2j38I8dSQuhZCDO" alt=""><figcaption></figcaption></figure>

***
