hardhat create address
web3
let singer = await web3.eth.accounts.create();
ethers
const pKey = new ethers.Wallet.createRandom();
const signer = new ethers.Wallet(pKey, ethers.provider);
当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »
let singer = await web3.eth.accounts.create();
const pKey = new ethers.Wallet.createRandom();
const signer = new ethers.Wallet(pKey, ethers.provider);
当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »