- Change file mode from 644 to 755 for all project files - Add chain_id parameter to get_balance RPC endpoint with default "ait-devnet" - Rename Miner.extra_meta_data to extra_metadata for consistency
16 lines
425 B
Solidity
Executable File
16 lines
425 B
Solidity
Executable File
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.8.19;
|
|
|
|
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
|
|
import "@openzeppelin/contracts/access/Ownable.sol";
|
|
|
|
contract AIToken is ERC20, Ownable {
|
|
constructor(uint256 initialSupply) ERC20("AI Token", "AIT") {
|
|
_mint(msg.sender, initialSupply);
|
|
}
|
|
|
|
function mint(address to, uint256 amount) public onlyOwner {
|
|
_mint(to, amount);
|
|
}
|
|
}
|