Skip to content

Instantly share code, notes, and snippets.

@LSaberL003
LSaberL003 / defi-vault-project...Contracts...MyToken.sol
Created May 1, 2026 21:50
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.31+commit.fd3a2265.js&optimize=undefined&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract MyToken is ERC20, Ownable {
constructor() ERC20("JiachunToken", "JCT") Ownable(msg.sender) {
_mint(msg.sender, 1000 * 10 ** uint256(decimals()));
}