@definetool/dogecoin
v2.0.0
Published
离线随机生成狗狗币的私钥和对应的地址与助记词。
Downloads
27
Readme
dogecoin
本工具用来随机生成狗狗币的私钥、地址和助记词,生成过程可断网离线操作。
import { generate, generateSync, } from './index.js';
// let data = generate('my message');
let data = generateSync('my message');
console.log(data);
//打印出类似这样结构:
{
address: 'DDqipiW34cJVge3FVGmvbnzZkDT5f4KHCg',
privateKey: 'QVzxUTKDRaSyRYqXbn9VTdezutXGYXZawQ1gwgUusbYYmESsSCwh',
mnemonic: 'corn capital jazz large ability trade indicate peasant injury biology disorder joy'
}