
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
@unique-nft/client
Advanced tools
The @unique-nft/client package implements the SDK methods via the REST API. The package implements all the basic methods for working with the Unique Network SDK.
The @unique-nft/client package implements the SDK methods via the REST API. The package implements all the basic methods for working with the SDK:
The package is under construction. Check the SDK package methods list to learn more about the methods, that will be implemented in the @unique-nft/client package.
npm install @unique-nft/client
import { Client, Options } from '@unique-nft/client';
const options: Options = {
baseUrl: '<REST API URL>'
};
const client = new Client(options);
In the baseUrl
parameter, you must pass one of the paths to the Unique Network
https://web-opal.unique.network
https://web-quartz.unique.network
https://web-unique.unique.network
To be able to sign extrinsics, you need to install the Accounts
package
npm install @unique-nft/accounts
Pass the singer
in the parameters when creating the Client
object
import { KeyringProvider } from '@unique-nft/accounts/keyring';
import { Client } from "@unique-nft/client";
const options = {
type: 'sr25519',
};
const provider = new KeyringProvider(options);
await provider.init();
const account = provider.addSeed('<seed of account>');
const signer = account.getSigner();
const clientOptions = {
baseUrl: 'REST API URL',
signer
};
const client = new Client(clientOptions);
const balanceResponse = await client.balance.get({ address: '<address>' });
const { parsed } = await client.balance.transfer.submitWaitResult(
{
address: '<address from>',
destination: '<address to>',
amount: 0.01
});
FAQs
The @unique-nft/client package implements the SDK methods via the REST API. The package implements all the basic methods for working with the Unique Network SDK.
The npm package @unique-nft/client receives a total of 0 weekly downloads. As such, @unique-nft/client popularity was classified as not popular.
We found that @unique-nft/client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.