diff --git a/testnet_oro/KiiUSD_hunterkurfi.sol b/testnet_oro/KiiUSD_hunterkurfi.sol new file mode 100644 index 0000000..5ea1684 --- /dev/null +++ b/testnet_oro/KiiUSD_hunterkurfi.sol @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.20; + +import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; +import "@openzeppelin/contracts/access/Ownable.sol"; + +/** + * @title KiiStablecoin + * @dev Simple Stablecoin implementation for KiiChain Builder Guide + */ +contract KiiStablecoin is ERC20, Ownable { + + // The constructor mints an initial supply to the deployer + // Name: Kii Dollar, Symbol: KIIUSD + constructor() ERC20("Kii Dollar", "KIIUSD") Ownable(msg.sender) { + _mint(msg.sender, 1000000 * 10 ** decimals()); + } + + /** + * @dev Function to mint more stablecoins. + * Only the owner (you) can call this. + */ + function mint(address to, uint256 amount) public onlyOwner { + _mint(to, amount); + } +} diff --git a/testnet_oro/assetlist.json b/testnet_oro/assetlist.json index 065ccd2..9883f4a 100644 --- a/testnet_oro/assetlist.json +++ b/testnet_oro/assetlist.json @@ -536,6 +536,21 @@ "location": "Australia", "total_shares": "6000" } + } , + { + "description": "Kii Dollar Stablecoin by hunterkurfi", + "denom_units": [ + { + "denom": "kiiusd", + "exponent": 18 + } + ], + "base": "kiiusd", + "name": "Kii Dollar", + "display": "kiiusd", + "symbol": "KIIUSD", + "address": "0x9002b809094927b54343eA785487484288Baf990" } + ] }