0.0.1 • Published 2 years ago

@logmedaily/vittapada_janayitr v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

** Disclaimer: This is an experimental package and should not be used in production. The code is provided as-is and may contain bugs or security vulnerabilities. Use at your own risk.

vittapada janayitr is experimental bip39 wallet phrase generator for rapid testing and prototyping, It is advised the code is reviewed and used at your own descretion & was built by author for some custom rapid experimentation.

šŸ  Homepage

Prerequisites

  • node >=18.16.0
  • npm >=9.5.1

Install

npm install @logmedaily/vittapada_janayitr

usage

Generate new mnemonic

// Generate a new mnemonic
const vittapadaJanayitr = new VittapadaJanayitr();
const newMnemonic = {password: "password@123", unlock: 'passphrase'};
vittapadaJanayitr.initialize(newMnemonic);
const decrypted = vittapadaJanayitr.decrypt(newMnemonic)

console.log(decrypted); // => 'abandon ability abandon'
const vittapadaJanayitr = new VittapadaJanayitr();
const existingMnemonic = {mnemonic: "",password: "password@123", unlock: 'passphrase'};
vittapadaJanayitr.initialize(existingMnemonic);
expect(vittapadaJanayitr.initialized).toBe(true);
existingMnemonic.unlock = 'passphrase';
const decrypted = vittapadaJanayitr.decrypt(existingMnemonic); // => 'abandon ability abandon'

Run tests

npm run test

Author

šŸ‘¤ logmedaily

šŸ¤ Contributing

Contributions, issues and feature requests are welcome!Feel free to check issues page.

Show your support

Give a ā­ļø if this project helped you!


This README was generated with ā¤ļø by readme-md-generator

0.0.1

2 years ago