在 Arbitrum 上发币真的好简单 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
freekindom
V2EX    加密货币

在 Arbitrum 上发币真的好简单

  •  
  •   freekindom 14 天前 1375 次点击
    // SPDX-License-Identifier: MIT pragma solidity ^0.8.20; import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/ontracts-upgradeable/proxy/utils/UUPSUpgradeable.sol"; /** * @title WUZHU_V1 * @dev This is the first version of the Wuzhu (VZU) token contract. * It is an upgradeable ERC20 token following the UUPS pattern. * * Conforms to the specifications in "PROJECT_GENESIS_PLAN.MD": * - Name: Wuzhu * - Symbol: VZU * - Decimals: 18 * - Total Supply: 21,000,000 * - Initial Allocation: 100% minted to the deployer. * - Upgradeability: UUPS proxy pattern. * - Ownership: Initially owned by the deployer (Captain's address). */ contract WUZHU_V1 is Initializable, ERC20Upgradeable, OwnableUpgradeable, UUPSUpgradeable { /// @custom:oz-upgrades-unsafe-allow constructor constructor() { _disableInitializers(); } /** * @notice Initializes the contract after deployment. * @dev This function can only be called once. It sets the token's name, symbol, * and mints the total supply to the contract deployer, who also becomes the owner. */ function initialize() initializer public { __ERC20_init("Wuzhu", "VZU"); __Ownable_init(msg.sender); __UUPSUpgradeable_init(); // Mint the total supply of 21,000,000 tokens to the deployer. // The number is multiplied by 10**18 to account for the decimal places. _mint(msg.sender, 21000000 * 10**decimals()); } /** * @dev Authorizes an upgrade to a new implementation contract. * This function is required by the UUPS pattern and restricts upgrade * authority to the current owner. */ function _authorizeUpgrade(address newImplementation) internal onlyOwner override {} } 

    就这么点代码,就是一个币。发币也框框调库。

    真是不发不知道,一发吓一跳。

    9 条回复    2025-10-28 11:55:29 +08:00
    JoeJoeJoe
        1
    JoeJoeJoe  
    PRO
       14 天前
    pump 更简单, 代码都不用调, 直接用现成的.
    x86
        2
    x86  
       14 天前
    这下知道狗推的重要性了吧
    luckyzd
        3
    luckyzd  
       14 天前
    发个币要多少钱?
    freekindom
        4
    freekindom  
    OP
       14 天前
    @luckyzd 小于 0.1$(绝大多数时候,除非遇到了链上特别紧张,gas 费飙升)
    grimbedroom
        5
    grimbedroom  
       14 天前
    发币简单,你得加池子啊
    sgt
        6
    sgt  
       14 天前
    单单发币这个行为是最简单的,重要的是发币之外的事情
    maichael
        7
    maichael  
       14 天前
    你在那条链发币现在不都这么简单吗
    coderpwh
        8
    coderpwh  
       14 天前
    有没有可能,代码都不用写,网页上面,输入名称,描述,图片,设置下发行量,权限等,连接下钱包,点击即可发币
    Tink
        9
    Tink  
    PRO
       14 天前
    pump 上就两部,传个图片,起个名字,搞定
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     5231 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 25ms UTC 09:01 PVG 17:01 LAX 01:01 JFK 04:01
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86