Creates a new wallet account with a randomly generated mnemonic and returns the mnemonic and address.
The newly created wallet's mnemonic and address.
// Example usage:createAccount().then(({ mnemonic, address }) => { console.log(`Mnemonic: ${mnemonic}`); console.log(`Address: ${address}`);}); Copy
// Example usage:createAccount().then(({ mnemonic, address }) => { console.log(`Mnemonic: ${mnemonic}`); console.log(`Address: ${address}`);});
Creates a new wallet account with a randomly generated mnemonic and returns the mnemonic and address.