This is a Solidity smart contract for creating a simple token with mint and burn functionalities. The contract allows you to:
- Mint tokens to any address, increasing both the total supply and the balance of the address.
- Burn tokens from any address, decreasing both the total supply and the balance of the address.
contracts/
: Contains the Solidity contractAjayToken.sol
.
mint(address _address, uint256 _value)
: Mints the specified number of tokens to the provided address.burn(address _address, uint256 _value)
: Burns the specified number of tokens from the provided address.
To use the contract:
- Copy the code from
AjayToken.sol
into Remix IDE. - Deploy the contract on Remix using a local Ethereum network.
- Use the mint and burn functions from the Remix interface.