![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@polkadot/wasm-schnorrkel
Advanced tools
A fork of [@parity/schnorrkel-js](https://github.com/polkadot-js/schnorrkel-js/tree/b1a1bf25be7397d3c21bba5ddde14286a58b269c) that allows proper operation against all the environments that the `@polkadot/api` supports. Changes from the base repo -
A fork of @parity/schnorrkel-js that allows proper operation against all the environments that the @polkadot/api
supports. Changes from the base repo -
wasm-opt
from the binaryen project__***
internal functions)@polkadot/util
(consistent support, also on React Native)Install the package (also requires @polkadot/util
for TextEncoder
polyfills - not included here as a dependency to keep the tree lean)
yarn add @polkadot/wasm-schnorrkel @polkadot/util
Use it -
const { u8aToHex } = require('@polkadot/util');
const { waitReady, keypairFromSeed } = require('@polkadot/wasm-schnorrkel');
async function main () {
// first wait until the WASM has been loaded (async init)
await waitReady();
// generate keypair via all-0 seed
const pair = keypairFromSeed(new Uint8Array(32));
// extract the parts
const secretKey = pair.subarray(0, 64);
const publicKey = pair.subarray(64, 96);
// display
console.log('publicKey:', u8aToHex(publicKey));
console.log('secretKey:', u8aToHex(secretKey));
}
Support asm.js for environments (like React Native) that doesn't have WASM support. Initial attempts made at this, but not active.
FAQs
A fork of [@parity/schnorrkel-js](https://github.com/polkadot-js/schnorrkel-js/tree/b1a1bf25be7397d3c21bba5ddde14286a58b269c) that allows proper operation against all the environments that the `@polkadot/api` supports. Changes from the base repo -
The npm package @polkadot/wasm-schnorrkel receives a total of 8 weekly downloads. As such, @polkadot/wasm-schnorrkel popularity was classified as not popular.
We found that @polkadot/wasm-schnorrkel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.