oasisprotocol / oasisprotocol/cli

Support ethereum public key in `oasis account from-public-key`

Open
#177 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Using test:alice and test:dave public keys:

$ oasis acc from-public-key NcPzNW3YU2T+ugNUtUWtoQnRvbOL9dYSaBfbjHLP1pE=
oasis1qrec770vrek0a9a5lcrv0zvt22504k68svq7kzve
$ oasis acc from-public-key AwF6GNjbybMzhi3XRj5R1oTiMMkO1nAwB7NZAlH1X4BE
Error: signature: malformed public key

Support the Ethereum public key too as

ethereum public key → ethereum address → oasis native address

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 oasis account from-public-key command entry point and inspect how the existing Oasis public key is parsed into an address. Use the provided test:alice and test:dave keys as inputs while tracing the Ethereum public key to Ethereum address to Oasis native address flow. Done means Ethereum public keys are accepted and produce Oasis native addresses.

Written by the indexing model from the issue text.

Assessment

Tech stack
blockchain, go
Domain
blockchain, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.