Reputation: 19
I need to generate wallet in blockchain waves for my project. Can I use some Node.js API for this?
Upvotes: 1
Views: 458
Reputation: 165
You can simply use waves-transactions lib for nodejs/javascript it allow wallet (seed, address and keypair) creation as follow:
const wavesTransaction = require('@waves/waves-transactions')
const seed = wavesTransaction.seedUtils.Seed.create();
console.log(seed.phrase)
console.log(seed.address)
console.log(seed.keyPair)
Upvotes: 1
Reputation: 804
Please, have a look at POST/addresses node’s API method. This method will create a new address on your node.
Also, it’s possible to create a new seed phrase and then a private, public keys and an address using various libraries or you can use Waves keeper as well.
Upvotes: 0