Documentation

Cryptocurrencies

🚀 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

Chocolate: ERC-20 / BEP-20 Advanced Token

Chocolate is an advanced set of interfaces, contracts, and utilities that implement a standard ERC-20 / BEP-20 OpenZeppelin implementation, adding an extra level of advanced features.

Total supply
Total number of tokens in existence
Balance
Gets the balance of the specified address
Transfer
Send an amount tokens from and to specific addresses-
Approve
Authorize an address to spend the specified amount of tokens on behalf of the owner.
Allowance
Check the number of tokens that an owner allowed to a spender.
Transfer from
Spend tokens that were previously approved by the owner.
Burn
Ability for an owner of tokens to destroy (burn) tokens
Mint
Authorized accounts can create new tokens, this will increase the total supply, and new tokens will be assigned to an specific account
Pause/unpause
Authorized accounts can pause and resume all token activity.

Deploy a Chocolate token

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 a Chocolate Token

Instructions

To deploy your Coin to any Blockchain do the following:

Login into your WordPress install.
Login into Metamask
Click “Coins” - “Add new”
Choose your flavor.
Click on Chocolate checkbox
Fill in the name and symbol of the coin
Decimals
Number of decimals, from 0 to 18
Fill in the initial supply
The initial supply is the total amount of coins that your contract will have at the moment of creation. The amount is integer, do not include decimal representation or wei like numbers. This is going to be also the initial balance of the creator's account.
Check on the advanced attributes you like, like Burnable, Pausable or Mintable.
If the token is mintable you need to specify the Mintable Cap. This is the maximum capitalization your coin can have. This is an integer number, do not include decimal representation or wei like numbers. 0 cap means unlimited capitalization.
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

 

Chocolate 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