Seedroller and keyderiver: cli tools to generate BIP39 seed words and derive BIP380 keys

Aug 22 - Aug 24, 2026

  • The development of cryptographic tools in the Rust programming environment has seen significant advancements with the introduction of two new tools, `seedroller` and `keyderiver`.

The seedroller tool is designed as a command-line interface for generating BIP39 seed words by integrating dice rolls with system entropy sourced from the getrandom() function. This approach emphasizes minimal dependency on external libraries, adhering to the standards set by the rust-bitcoin organization. On the other hand, keyderiver complements seedroller by taking the generated seed words and deriving BIP380 descriptor key expressions. Similar to seedroller, it maintains a lean architecture by relying primarily on crates from the rust-bitcoin organization.

These tools not only enhance the security features within the Rust community but also offer flexibility for users who prefer different levels of dependency on system-generated versus manually inputted randomness. For instance, seedroller includes an option -r that allows users to generate reproducible results based solely on dice rolls, without utilizing system entropy. This feature ensures that users can obtain the same seed words consistently with the same dice rolls, which can be verified against known answers such as those available through the known_answer_100_rolls_no_os_entropy unit test. This specific functionality caters to users seeking to minimize reliance on digital random number generation processes, promoting transparency and trust in the seed generation process.

Overall, these tools represent proactive steps towards improving cryptographic practices and engaging with the community to refine these technologies. The ongoing development and open-source nature of these projects encourage community feedback and contributions, which are vital for the continual enhancement of security in cryptocurrency applications. Interested individuals can access more detailed information and contribute to the project on GitHub at bitcoin-key-tools.

Link to Raw Post
Bitcoin Logo

TLDR

Join Our Newsletter

We’ll email you summaries of the latest discussions from high signal bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.

Explore all Products

ChatBTC imageBitcoin searchBitcoin TranscriptsSaving SatoshiDecoding BitcoinWarnet
Built with 🧡 by the Bitcoin Dev Project
View our public visitor count

We'd love to hear your feedback on this project.

Give Feedback