![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.
@futureverse/asset-registry-sdk
Advanced tools
NPM:
npm install @futureverse/asset-registry-sdk --save
Yarn:
yarn add @futureverse/asset-registry-sdk
import {
AssetRegistryClientProvider,
Namespace,
useCreateShaclSchema,
} from './index'
import { render } from 'react-dom'
import { ethers } from 'ethers'
const ASSET_REGISTRY_ENDPOINT = 'http://localhost:4000/graphql'
const APP_DOMAIN = 'com.fv.app'
const WALLET_PRIVATE_KEY = ''
function App() {
return (
// Provide the client to your App
<AssetRegistryClientProvider
url={ASSET_REGISTRY_ENDPOINT}
domain={APP_DOMAIN}
chainId={1}
>
<CreateShaclSchemaComponent />
</AssetRegistryClientProvider>
)
}
function CreateShaclSchemaComponent() {
const wallet = new ethers.Wallet(WALLET_PRIVATE_KEY ?? '')
const origin = 'http://localhost:3000'
const id = 'foo'
const version = 1
const namespace = 'com.fv.schemas' as Namespace
const schema = '{}'
const mutation = useCreateShaclSchema({
wallet,
schema,
version,
origin,
namespace,
})
return (
<div>
{mutation.isLoading ? (
'Adding Shacl Schema...'
) : (
<>
{mutation.isError ? (
<div>An error occurred: {mutation.error as string}</div>
) : null}
{mutation.isSuccess ? <div>Shacl Schema added!</div> : null}
<button onClick={() => mutation.mutate()}>Create Shacl Schema</button>
</>
)}
</div>
)
}
render(<App />, document.getElementById('root'))
FAQs
## Installation
The npm package @futureverse/asset-registry-sdk receives a total of 8 weekly downloads. As such, @futureverse/asset-registry-sdk popularity was classified as not popular.
We found that @futureverse/asset-registry-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 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.