
A CLI tool that generates a bip39 mnemonic phrase, shuffles the order of the words but maintains each word's position in the original phrase & prints the words and their position across n number of csv pages.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
To get a local copy up and running follow these example steps.
This project assumes you have node and npm installed already. If not, here's some resources:
- node download
- npm
npm install npm@latest -g
- Clone the repo
git clone https://github.com/ahmedjahmi/mnemonic.git
- Install NPM packages
npm install
- Copy the contents of
config.ts.example
into aconfig.ts
file, and the contents of.env.example
into a.env
file at the root of your project directory.- In
config.ts
, thecsvDirPath
should be set to the exact full path to the directory where you would like to store your csv files (this can be anywhere on your computer). - example:
csvDirPath: '/path/to/where/you/save/csv-files/';
envPath
should be set to the exact full path and file name of your.env
file (this should be in your project's root directory).- example:
envPath: '/user/projects/mnemonic/.env';
- In
- Build the project now and after any changes are made in the future.
npm run build
Once installation is complete, run the program:
mnemonic gen
The default is 24 words and their positions, spread randomly across 3 csv pages.
Arguments:
- wordCount: choice of 24 or 12 words, 24 words is the default.
- pageCount: choice of 2 - 6 csv pages to spread the phrase words across, 3 pages is the default.
example: 12 words, across 4 pages
mnemonic gen 12 4
- Add support for word lists of more languages
- Address generation from phrase
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Ahmed Jahmi - twitter: @jahmiamor | email: [email protected]
Project Link: https://github.com/ahmedjahmi/mnemonic