Alisson Santos
Alisson Santos

Reputation: 19

Is it possible to generate wallet in the waves blockchain network with api node.js?

I need to generate wallet in blockchain waves for my project. Can I use some Node.js API for this?

Upvotes: 1

Views: 458

Answers (2)

Christophe
Christophe

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

Nazim Faour
Nazim Faour

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

Related Questions