Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Add ability to generate secp256k1 keys #863

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Copy link
Contributor

@mikedotexe mikedotexe left a comment

Choose a reason for hiding this comment

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

Similar to how we have the optional yolo argument, let's please add the curveType so that yargs knows about it.
(Like here:

.option('yolo', {
description: 'Do not ask for extra confirmation when using Ledger',
type: 'boolean',
}),
)

@@ -1,3 +1,4 @@
const keyCurveTypes = require('near-api-js').keyCurveTypes;
Copy link
Collaborator

@volovyks volovyks Nov 24, 2021

Choose a reason for hiding this comment

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

@TarasenkoFirelabs this line gives me undefined.
And as a result: TypeError: Cannot read property 'validate' of undefined

Copy link
Author

Choose a reason for hiding this comment

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

I am still working onto this task in near-api-js repo

Copy link
Collaborator

Choose a reason for hiding this comment

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

Got it, then it's better to keep this one in a draft. Ping me when it will be ready for review, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants