// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
import "@openzeppelin contracts/token/ERC20/ERC20.sol";
import "@openzeppelin contracts/access/Ownable.sol";
contract BitKuy is ERC20, Ownable {
uint256 private constant MAX_SUPPLY = 21_000_000 10*18;
constructor() ERC20("TestToken", "TEST") {
uint256 initialSupply = 1_000_000 10*18; // Minting 1,000,000 tokens initially
_mint(msg.sender, initialSupply);
}
function mint(address to, uint256 amount) public onlyOwner {
require(totalSupply() + amount <= MAX_SUPPLY, "TestToken: Max supply exceeded");
_mint(to, amount);
}
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
import "@openzeppelin contracts/token/ERC20/ERC20.sol";
import "@openzeppelin contracts/access/Ownable.sol";
contract BitKuy is ERC20, Ownable {
uint256 private constant MAX_SUPPLY = 21_000_000 10*18;
constructor() ERC20("TestToken", "TEST") {
uint256 initialSupply = 1_000_000 10*18; // Minting 1,000,000 tokens initially
_mint(msg.sender, initialSupply);
}
function mint(address to, uint256 amount) public onlyOwner {
require(totalSupply() + amount <= MAX_SUPPLY, "TestToken: Max supply exceeded");
_mint(to, amount);
}
}

AltLayer and the Power of No-Code Deployment for Blockchain Applications
AltLayer is a blockchain technology company that is focused on providing scalable solutions to businesses and developers. One area where AltLayer has ...

Advantages of AltLayer for Web3 Games
One of the primary advantages of AltLayer for web 3 game development is its scalability. AltLayer's rollup solution is designed to scale blockcha...

The role of AltLayer in the emerging "rollups-as-a-service" ecosystem and how it is contributing to …
The blockchain industry has been growing rapidly over the past few years, with new use cases and applications emerging on a regular basis. However, on...

AltLayer and the Power of No-Code Deployment for Blockchain Applications
AltLayer is a blockchain technology company that is focused on providing scalable solutions to businesses and developers. One area where AltLayer has ...

Advantages of AltLayer for Web3 Games
One of the primary advantages of AltLayer for web 3 game development is its scalability. AltLayer's rollup solution is designed to scale blockcha...

The role of AltLayer in the emerging "rollups-as-a-service" ecosystem and how it is contributing to …
The blockchain industry has been growing rapidly over the past few years, with new use cases and applications emerging on a regular basis. However, on...
web3 article
web3 article
Share Dialog
Share Dialog
Subscribe to My Web3 Article
Subscribe to My Web3 Article
<100 subscribers
<100 subscribers
No activity yet