![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
区块链
盒曰
敲不完的代码,写不完的bug
展开
-
使用pancake进行 usdt兑换bnb智能合约
【代码】使用pancake进行 usdt兑换bnb智能合约。原创 2023-07-20 09:46:05 · 548 阅读 · 0 评论 -
tronweb 波场导入助记词生成地址
【代码】tronweb 波场导入助记词生成地址。原创 2023-06-26 14:20:53 · 1292 阅读 · 0 评论 -
ethers.js 应用(助记词、地址、私钥)
【代码】ethers.js 应用(助记词、地址、私钥)原创 2023-06-26 11:38:26 · 1028 阅读 · 0 评论 -
DAPP开发之-Truffle命令手册
truffle不填命令 等价 truffle help ,显示所有命令。原创 2022-10-18 14:23:08 · 285 阅读 · 0 评论 -
以太坊2.0 节点搭建:共识端+执行端
共识端:prysm ,版本:3.1.1;执行端:geth , 版本:1.10.23+。(当前使用1.10.25)创建目录,下载prysm。生成JWT Secret。原创 2022-09-20 10:48:32 · 1187 阅读 · 1 评论 -
ERC20智能合约-带销毁功能
// SPDX-License-Identifier: MITpragma solidity ^0.8.0;/** * @dev Interface of the ERC20 standard as defined in the EIP. */interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external.原创 2021-12-23 10:33:49 · 1052 阅读 · 0 评论 -
BSC-币安智能链主网节点搭建(详细步骤)
网络官方节点配置准备安装screen节点启动预编译二进制文件下载配置文件下载genesis写入到本地状态下载快照数据库替换配置文件修改启动节点状态监听效果1:同步中效果2:同步完成网络 网络 chainId 主网 56 测试网 97 官方节点Mainnet(https://bsc-dataseed...原创 2021-11-17 09:26:16 · 7434 阅读 · 1 评论 -
1.MetaMask-注意事项
浏览器检测MetaMask检测用户状态连接MetaMaskchainid network浏览器检测验证浏览器是否正在运行MetAmaskif (typeof window.ethereum !== 'undefined') { console.log('MetaMask is installed!'); }MetaMask检测与其他浏览器兼容,检测是否是使用metaMaskethereum.isMetaMask用户状态当前网络ethe..原创 2021-09-29 16:08:34 · 12422 阅读 · 1 评论