Examples Create Mnemonic Object const code = new Mnemonic(); Get string phrase from Mnemonic Object const code = new Mnemonic(); code.toString(); // output: test marine two right medal sentence believe now coil saddle cousin affair mercy Set network as mainnet const code = new Mnemonic({ network: 'mainnet' }); code.toString(); Check if Mnemonic Object is valid in Spanish const code = new Mnemonic({ language: 'spanish' }); const isValid = Mnemonic.isValid(code.toString()); Generate a seed based on the code and optional passphrase. const code = new Mnemonic(); const passphrase = ''; const seedBuffer = code.toSeed({ passphrase }); Get current HD Private Key const code = new Mnemonic(); const hdPrivateKey1 = code.getHDPrivateKey(); const hdPrivateKey2 = code.hdKey; Get word list in English const words = Mnemonic.words.english; Generate Addresses const code = new Mnemonic(); const addresses = code.generateAddresses()