calim mint了一些polygon链上的xen,两个很简单的脚本代码两份代码合起来import { ethers } from "hardhat"; import * as fs from 'fs'; import * as path from 'path'; const pathText = path.resolve(__dirname,'./文本','./MXEN私钥及地址.txt') //创建写入流 const ws = fs.createWriteStream(pathText); const amount:number = 10; async function main(){ for(let i:number=0;i<amount;i++){ let wallet = ethers.Wallet.createRandom(); //ws.write(`${wallet.address}\n`); ws.write(`${wallet._signingKey().privateKey}\n`); } } main(); //关闭通道,可选可不选 //ws....