Skip to content

Refactors the api#113

Merged
ascjones merged 4 commits intoparitytech:masterfrom
dvc94ch:signing-refactor
May 26, 2020
Merged

Refactors the api#113
ascjones merged 4 commits intoparitytech:masterfrom
dvc94ch:signing-refactor

Conversation

@dvc94ch
Copy link
Copy Markdown
Contributor

@dvc94ch dvc94ch commented May 25, 2020

Makes things much cleaner and easier. Moves the signing logic out into a signer. Should make it easier to support hardware wallets down the road, although the api probably needs to change to return a Future<Output=Result<Signed, Error>>.

Closes #108

Copy link
Copy Markdown
Contributor

@ascjones ascjones left a comment

Choose a reason for hiding this comment

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

Much nicer API. Just a few nits

Comment thread src/signer.rs Outdated
Comment thread src/signer.rs Outdated
Comment thread .github/workflows/rust.yml
Comment thread src/signer.rs Outdated
Comment thread src/signer.rs Outdated
Comment thread src/extrinsic.rs
Comment thread src/lib.rs
Copy link
Copy Markdown
Contributor

@ascjones ascjones left a comment

Choose a reason for hiding this comment

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

LGTM

@ascjones ascjones merged commit 67f3ce5 into paritytech:master May 26, 2020
Sign up for free to 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.

transaction signer

2 participants