0

I am looking at developing a service that can take a payment in Eth and return a erc-20 token to their desired address.

I want to generate a new address per transactional user. What would be the best way to develop a wallet per transaction?

A good example is www.latoken.com

* UPDATED * I have found a solution using eth-hd-wallet package in node. The following example creates 1 million wallets from a generated mnemonic code. Documentation can be found here: eth-hd-wallet

const { generateMnemonic, EthHdWallet } = require('eth-hd-wallet');

const phrase = generateMnemonic();

const wallet = EthHdWallet.fromMnemonic(phrase);

console.log(phrase);

console.log( wallet.generateAddresses(1000000));

To display the QR code, I can utilise Google's api to generate the QR per wallet. Link to site is here: Google QR Code

Thanks

0

I have found a solution using eth-hd-wallet package in node. The following example creates 1 million wallets from a generated mnemonic code. Documentation can be found here: eth-hd-wallet

const { generateMnemonic, EthHdWallet } = require('eth-hd-wallet');

const phrase = generateMnemonic();

const wallet = EthHdWallet.fromMnemonic(phrase);

console.log(phrase);

console.log( wallet.generateAddresses(1000000)); To display the QR code, I can utilise Google's api to generate the QR per wallet. Link to site is here: Google QR Code

Thanks

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.