Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lorisleiva/web3js-issue-crypto-polyfill
A dummy repo to illustrate a potential issue with the crypto polyfill
https://github.com/lorisleiva/web3js-issue-crypto-polyfill
Last synced: 6 days ago
JSON representation
A dummy repo to illustrate a potential issue with the crypto polyfill
- Host: GitHub
- URL: https://github.com/lorisleiva/web3js-issue-crypto-polyfill
- Owner: lorisleiva
- Created: 2023-11-26T12:15:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-26T12:19:37.000Z (about 1 year ago)
- Last Synced: 2024-11-07T16:05:15.441Z (about 2 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Steps to reproduce:
```sh
pnpm install
node ./index.cjs
```See error:
```
Error: This runtime does not support the generation of Ed25519 key pairs.Install and import `@solana/webcrypto-ed25519-polyfill` before generating keys in environments that do not support Ed25519.
For a list of runtimes that currently support Ed25519 operations, visit https://github.com/WICG/webcrypto-secure-curves/issues/20
at Object.assertKeyGenerationIsAvailable (/Users/loris/Code/web3js-test-crypto/node_modules/.pnpm/@[email protected]/node_modules/@solana/assertions/dist/index.node.cjs:36:11)
at async generateKeyPair (/Users/loris/Code/web3js-test-crypto/node_modules/.pnpm/@[email protected][email protected]/node_modules/@solana/keys/dist/index.node.cjs:8:3)Node.js v18.13.0
```