// mainnet
const web3 = new Web3('https://fsc-dataseed1.fonscan.io:443');
const account = web3.eth.accounts.create();
const account = web3.eth.accounts.privateKeyToAccount("$private-key")
const Web3 = require('web3');
async function main() {
const web3 = new Web3('https://fsc-dataseed1.fonscan.io:443');
const loader = setupLoader({ provider: web3 }).web3;
const account = web3.eth.accounts.create();
console.log(account);
}