oasisprotocol / oasisprotocol/cli

Generate wallet with desired suffix by randomizing mnemonics

Open
#105 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement wallet
Dominant language
Go
Stars
80
Forks
23
Avg merge
9h 43m
Merged PRs (30d)
3

Description

Add --suffix <some_literal> parameter to wallet create command which randomizes mnemonics until the desired some_literal end of the address occurs. This could work both for Oasis native addresses as well as the Ethereum hex-encoded ones. My educated guess would say it should be possible to generate around 5 characters-long desired suffix on an average Core 7 CPU.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the wallet create command and trace how mnemonics produce Oasis native and Ethereum hex-encoded addresses. The work is complete when a --suffix <some_literal> option can generate wallets whose address ends with the requested literal, with coverage for both address forms and the expected generation behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
blockchain, cli, cryptography
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.