bitcore-lib-web3-accounts

node v8.17.0
version: 3.0.0
endpointsharetweet
require("websocket") const bitcore = require('bitcore-lib') const PrivateKey = bitcore.PrivateKey const Accounts = require('web3-eth-accounts'); const accounts = new Accounts(); const privateKey = new PrivateKey() const account = accounts.privateKeyToAccount(`0x${privateKey.toString()}`) account.address
Loading…

no comments

    sign in to comment