
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@arcblock/nft
Advanced tools
Utility to create standard assets that can be rendered in DID Wallet
npm install @arcblock/nft
// or
yarn add @arcblock/nft
const { fromRandom } = require('@ocap/wallet');
const { NFTFactory, NFTIssuer } = require('@arcblock/nft');
const wallet = fromRandom();
const factory = new NFTFactory({
chainId: 'beta',
chainHost: 'https://beta.abtnetwork.io/api',
wallet,
issuer: {
name: 'test case',
url: 'https://www.arcblock.io',
logo: 'https://www.arcblock.io/favicon.ico',
},
});
const [asset, hash] = await factory.createTicket({
backgroundUrl: 'https://www.arcblock.io',
type: 'DummyMovieTicket',
data: {
name: '复仇者联盟4的电影票',
description: '单场次单人座',
location: '北京市朝阳区青年路朝阳大悦城万达影院',
startTime: Date.now(),
endTime: Date.now() + 24 * 60 * 60 * 1000,
host: new NFTIssuer({
wallet,
name: '万达影城',
logo: 'https://www.baidu.com',
url: 'https://www.baidu.com',
}),
},
});
For full documentation, checkout https://asset-chain.netlify.com
FAQs
Utility to create standard asset on forge powered blockchain
The npm package @arcblock/nft receives a total of 12 weekly downloads. As such, @arcblock/nft popularity was classified as not popular.
We found that @arcblock/nft 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.