Skip to content

Add Keyring types - #74

Merged
gantunesr merged 32 commits into
mainfrom
add-keyring-type
Feb 18, 2023
Merged

Add Keyring types#74
gantunesr merged 32 commits into
mainfrom
add-keyring-type

Conversation

@Gudahtt

Copy link
Copy Markdown
Member

WIP; description to be added later.

This is a port of this old draft PR: https://github.com/MetaMask/types/pull/5/files

WIP; description to be added later.
Comment threadsrc/encryption.ts
Comment threadsrc/keyring.ts Outdated
@@ -0,0 +1,250 @@
import type { Transaction } from '@ethereumjs/tx';

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: Find a replacement Transaction type that doesn't tie us to this specific library.

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment threadsrc/transaction-types.ts Outdated
Comment threadsrc/transaction-types.ts Outdated
Comment threadsrc/transaction-types.ts Outdated
Comment threadsrc/transaction-types.ts Outdated
@gantunesr
gantunesr marked this pull request as ready for review February 16, 2023 20:12
@gantunesr
gantunesr requested a review from a team as a code ownerFebruary 16, 2023 20:12
Comment threadsrc/transaction-types.ts
Comment threadsrc/transaction-types.ts Outdated
Comment threadsrc/transaction-types.ts Outdated
Comment threadsrc/transaction-types.ts Outdated
Comment threadsrc/transaction-types.ts Outdated
Comment threadsrc/transaction-types.ts Outdated

@MrtenzMrtenz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have utils for working with bytes, which can do almost everything that Buffer can do, so I would strongly prefer using that.

Comment threadsrc/transaction-types.ts Outdated
Comment threadsrc/transaction-types.ts Outdated
Comment threadsrc/transaction-types.ts Outdated
Comment threadsrc/transaction-types.ts Outdated
Comment threadsrc/transaction-types.ts Outdated
Comment threadsrc/transaction-types.ts Outdated
Comment threadsrc/transaction-types.ts Outdated
Comment threadsrc/transaction-types.ts Outdated
Comment threadsrc/transaction-types.ts Outdated
Comment threadsrc/transaction-types.ts Outdated
gantunesrand others added 11 commits February 17, 2023 13:41
Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>

@MrtenzMrtenz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great!

Comment threadsrc/transaction-types.ts Outdated
@Gudahtt

Copy link
Copy Markdown
MemberAuthor

LGTM! (it won't let me approve because I opened it)

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@Gudahtt@Mrtenz@gantunesr@montelaidev@mikesposito