![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.
@substrate/txwrapper-registry
Advanced tools
Polkadot-js type registry creation assistants for txwrapper libraries.
yarn add @substrate/txwrapper-registry
In a JS/TS index file of package:
import { getRegistry } from '@substrate/txwrapper-registry';
// Create Polkadot's type registry.
const registry = getRegistry({
chainName: 'Polkadot',
specName: 'polkadot',
specVersion: 26,
metadataRpc,
});
Have a look at the examples to see how getRegistry
is used in the whole lifecycle of a transaction, from generation to signing to broadcast.
In order to instantiate a registry with your chains custom types you must pass in the path to your own types bundle file. If you would like to generate a types bundle file and don't know how to, feel free to use this helper library we have created to generate these types. generate-type-bundle.
The following env variable is accepted:
TX_TYPES_BUNDLE=/path-to-file
- Note: It must be a valid JSON file that has the same structure as the OverrideBundleTypes
in polkadot-js.
FAQs
Polkadot-js type registry creation assistants for txwrapper libraries.
The npm package @substrate/txwrapper-registry receives a total of 11,940 weekly downloads. As such, @substrate/txwrapper-registry popularity was classified as popular.
We found that @substrate/txwrapper-registry demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.