发币bsc

https://github.com/ObsidianLabs

https://github.com/33357/smartcontract-apps/tree/main/DEX/Uniswap_v2

https://github.com/safemoonprotocol/Safemoon.sol/blob/main/Safemoon.sol

https://github.com/sdzczh/solidity-contract

https://www.cnblogs.com/cbkj-xd/p/16414338.html

https://pancake.kiemtienonline360.com/#/pool

1、开启 Linux 子系统

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
2、开启虚拟机平台
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

3、 更新 wsl 重启电脑
wsl --update
## 将 wsl 版本设置为 wsl2
wsl --set-default-version 2

4、安装环境 安装Black IDE、Docker Desktop(https://blog.csdn.net/weixin_52802958/article/details/122631592)、BitzNet

5、打开https://testnet.bscscan.com/拉到最后,添加网络

6、打开https://testnet.binance.org/faucet-smart复制钱包地址获取测试币(水龙头)

7、项目导入账包私钥,选择测试网络

8、编写智能合约(发币代码)

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

contract GLDToken is ERC20 {
  constructor() ERC20("Gold", "GLD") {
    _mint(msg.sender, 123456789 * 10**decimals());
  }
}
9、编译再发币

 

posted @   玉雄观真  阅读(374)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 【杭电多校比赛记录】2025“钉耙编程”中国大学生算法设计春季联赛(1)
点击右上角即可分享
微信分享提示