Documentation

ERC-20 Stakings

🚀 Get your dApp up and running in just a few days

☕ Just sit back and enjoy a coffee, we'll do all the hard work for you

Learn More!
Discover the Power of Blockchain - Launch Your Business Today! | WP Smart Contracts
Loading

Buckle up for magic!

🔒 Use a hardware wallet for safety.

Welcome to WP Smart Contracts

System Requirements

Install WP Smart Contracts Plugin

Setup Wizard

Web3 Login

Smart Contracts Launcher

Affiliates Program

Wallets
Smart Contracts Wizards
Networks
Coins
Crowdfundings
Initial Coin Offerings
ERC-721 NFT Collections
ERC-1155 NFT Collections
NFT Galleries
NFT Items
ERC-20 Staking
Shortcodes
Miscellaneous
Smart Contracts Source Code

Almond: Advanced ERC-20 Staking

Almond is a smart contract that allows token holders to stake an X token and earn interest on the staked X token and another Y token.

How this works?

The payment of the interest comes from the wallet of the contract creator. If you want to create a Staking contract you need to provide the funds for the contract to pay interest to token holders, in the case of Almond you need to provide funds to pay interest to token X (optional) and token Y.

The process is as follows

Create the Staking Contract
Approve funds for your contract to use
Tokens are not discounted from your account at the moment of approval, they are used on demand when the tokens are needed for interest payment.
Token holders can create as many stakes as they like, based on a minimum amount
Penalties
If the token holders end the stake before the Stakes matures, then a penalty will be deducted from the user stake and send directly to the admin account
Interests
If the token holders end the stake after the Stakes matures, then the token holder will get the original amount of tokens staked plus an interest

Features

Annual interest rate for both tokens, calculated per second
Calculated every second
Maturity time
Defined in days after the stake is started
Minimum deposit
Stakes can be created for an amount equal or greater than this lower limit

Deploy a Ube Staking contract

Use the Smart Contract Wizard

If you are not sure what flavor or network is the best for you, use the WP Smart Contracts wizard

Read more

Screen Cast

Deploy an Almond Staking Contract

Instructions

To deploy your Staking Contract to any network do the following:

Login into your WordPress install.
Login into Metamask
Click “Stakes” - “Add new”
Click on “Almond” flavor
Fill in the token address
You must use a valid ERC-20 or BEP-20 compliant token or equivalent on the network of your choice. If you are using a reflection token, then, you must exclude the stake contract in your reflection token.
Fill in the secondary token address
As before, you must use a valid ERC-20 or BEP-20 compliant token or equivalent on the network of your choice. If you are using a reflection token, then, you must exclude the stake contract in your reflection token.
Fill in the interest rate for the first token (optional)
This is a percentage greater or equal than 0, and can be higher than 100
Fill in the interest rate for the secondary token
This is a percentage greater or equal than 0, and can be higher than 100
Fill in the minimum stake time
Minimum time in days, greater or equal to 0
Optionally, you can fill in the penalization
This is a percentage value between 0 and 100
Fill in the minimum amount for stakes
Select the network
Expand All networks
In the bottom left section of the screen you can click on "Expand All" in the network section to see all blockchains available to deploy the selected flavor. Available networks vary from one flavor to another.
Filter networks
In the bottom section you can click on checkboxes to filter your networks results by mainnet, testnets, Ethereum Bitcoin, etc.
Switch to desired network
Click on "Switch" on the desired networks to add this network to your Metamask and switch to it
Approve the operations in Metamask
At this point you can deploy either using the native coin of the selected network or WPIC WP Smart Contracts native tokens
Deploy with the native token of the selected network
Deployment and gas fees are paid using the native coin of the selected network, meaning that if you chose Ethereum you will pay in Ether, if you chose Polygon you will pay in Matic, etc. You will see the price in the native coin and the estimated equivalent in US Dollars in the top left of the networks section.
Click on the green “Deploy” button.
Read carefully the terms and conditions
Basically you need to know what you are doing and to know that this actions is irreversible.
If you agree and you know what you are doing click on both checkboxes
Click “Yes, please proceed”
Click “Confirm” in Metamask and wait for your transaction to finish.
Then your post will be updated showing the new Smart Contract information.
Deploy with WPIC
WPIC is a reward / redeem native token of the WP Smart Contracts plugin. With every deployment you get FREE WPICs that you can use to deploy Smart Contracts with no deployment fee.

 

Blockchains

Learn more about all available networks
Read more

 

Learn more about Pricing


Learn more

 

Almond Source Code


Smart Contract Code

 

Get it All: Absolutely FREE!

Get the Ultimate Smart Contract Deployment Kit!
No Coding Required!

Join the First 1000 Subscribers and Gain FREE Lifetime Access to the Complete Bundle!

Get started

Why WP Smart Contracts?

$35,000,000+

Smart Contracts Value Locked

44,800+

WordPress Downloads

2,000+

Mainnet Deployments

13

Smart Contracts Available

6

Different Blockchains

4+

Wallets