docs
docs copied to clipboard
Additional changes in examples
Kindly mentioning some additional changes that are needed related to the PR #350 Also mentioned in this comment here
-
In the page of Create Mnemonic the change needs to be
ed25519PairFromSeedand noted25519PairFromSecret -
In the Sign & Verify Message page there is a need for a 3rd change in the code since it still gives the error Expected a valid secretKey. - By checking the arguments that ed25519Sign gets, it seems like it expects a Pair. I replaced the
secretKeywith a{ publicKey, secretKey }Pair as shown below and it worked. - Replaced this lineconst messageSignature = ed25519Sign(encrypted, secretKey);with this lineconst messageSignature = ed25519Sign(encrypted, { publicKey, secretKey });
Sidenote : I tried to open a PR for these changes but I get a 403 Forbidden error message. Any ideas how to solve this without changing to ssh? Thank you very much in advance!
This issue has been open for 21 days with no activity and is not labelled as an enhancement. It will be closed in 7 days.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.