Documentation

Chocolate: ERC-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

Learn how to install 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

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.

Pistachio Coins - Branding