Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[master] enable bip86 signing, cleanup and add tests #9

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

gregdhill
Copy link

@gregdhill gregdhill commented Dec 18, 2023

Same as #8 but cherry-picked to master

Closes #4

@gregdhill gregdhill changed the title enable bip86 signing, cleanup and add tests [master] enable bip86 signing, cleanup and add tests Dec 18, 2023
Copy link
Collaborator

@tomjeatt tomjeatt left a comment

Choose a reason for hiding this comment

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

Looks good to me @gregdhill — a few comments (mostly questions) but no blockers.

describe('signInput', () => {
const snapStub = new SnapMock();
const domain = "www.justsnap.io"
const testRootPrivateKey = "xprv9s21ZrQH143K3GJpoapnV8SFfukcVBSfeCficPSGfubmSFDxo1kuHnLisriDvSnRRuL2Qrg5ggqHKNVpxR86QEC8w35uxmGoggxtQTPvfUu";
Copy link
Collaborator

Choose a reason for hiding this comment

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

Any issues having this hardcoded? I assume not, since it's a test key but wanted to check.

packages/snap/src/rpc/validateRequest.ts Show resolved Hide resolved
@gregdhill gregdhill merged commit ad88a73 into master Jan 10, 2024
@gregdhill gregdhill deleted the taproot-bip86-master branch January 10, 2024 10:49
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.

Audit Readiness
3 participants