dawsbot / dawsbot/essential-eth

[docs] Compare function coverage to ethereumjs

Open
#165 1 comment 2 reactions 0 assignees View on GitHub
good first issue
Dominant language
TypeScript
Stars
310
Forks
34
PR merge metrics
No merged PRs in 30d

Description

[ethereumjs](https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/util) has MANY functions, of which we should make a "checklist" of currently implemented equivalents in `essential-eth`.

A good starting-point would be the function [here](https://github.com/bytesbay/web3-token/blob/main/src/lib/verify/decrypter.ts#L2)

```ts
import {
hashPersonalMessage,
toBuffer,
fromRpcSig,
ecrecover,
publicToAddress,
bufferToHex
} from 'ethereumjs-util';
```

Contributor guide

Open the contributing guide

Research direction

Start with the ethereumjs util package and the referenced src/lib/verify/decrypter.ts import list: hashPersonalMessage, toBuffer, fromRpcSig, ecrecover, publicToAddress, and bufferToHex. Compare these with the functions currently implemented in essential-eth and record the matches in a checklist; the work is done when the relevant ethereumjs functions have been reviewed.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cryptography, documentation
Issue type
Documentation
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.