
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@matrix-labs/matrix-storefront-sdk
Advanced tools
yarn add @matrix-labs/matrix-storefront-sdk
/**
* first step
*
* @async
* @param fcl: import * as fcl from "@onflow/fcl"
* @param env: import FlowEnv from "@matrix-labs/matrix-marketplace-nft-sdk"
* @param config: optional
export interface IBindConfigs {
fungibleTokenAddress?:string;
fusdAddress?:string;
flowTokenAddress?:string;
nftStorefront?:string;
nonFungibleTokenAddress?:string;
}
* @example import * as fcl from "@onflow/fcl"; const client = new MatrixMarketplaceNFTClient(); client.bindFcl(fcl, FlowEnv.flowTestnet);
*/
bindFcl(fcl: any, env: FlowEnv, config?: IBindConfigs): Promise<void>;
/**
* setup for fcl
* @async
* @param key: fcl config, keyword must start with '0x'
*/
setupFcl(key: string, value: string): Promise<void>;
/**
* before createList or removeList
* @async
* @param address: account's address
*/
checkStorefront(address: string): Promise<boolean>
/**
* if checkStorefront return false
* @async
*/
initStorefront(): Promise<string>;
/**
* @async
* @param supportedNFTName: NFT collection name
* @param supportedNFTAddress: NFT collection contract address
* @param royaltyReceivers: [royaltyReceivers addresses]
* @param royaltyMount: [mounts]
* @param nftId: import * as fcl from "@onflow/fcl"
* @param price: import * as fcl from "@onflow/fcl"
* @example createList("MatrixMarketplaceNFT", "0x7f3812b53dd4de20", 3, 3.14)
*/
createList(supportedNFTName: string, supportedNFTAddress: string, royaltyReceivers: [string], royaltyMount: [string], nftId: number, price: string): Promise<string>;
/**
* @async
* @param supportedNFTName: NFT collection name
* @param supportedNFTAddress: NFT collection contract address
* @param listingResourceId: listing id
* @param sellerAddress: seller's address
* @example purchaseList("MatrixMarketplaceNFT", "0x7f3812b53dd4de20", 31425, "0x9a0766d93b6608b7")
*/
purchaseList(supportedNFTName: string, supportedNFTAddress: string, listingResourceId: number, sellerAddress: string): Promise<string>;
/**
* @async invoke by listing owner
* @param listingResourceId: listing id
* @example removeList(31425)
*/
removeList(listingResourceID: number): Promise<string>;
/**
* @async
* @param account: account's address
* @example getListingIds("0x9a0766d93b6608b7")
*/
getListingIds(account: string): Promise<[number]>;
FAQs
`yarn add @matrix-labs/matrix-storefront-sdk`
The npm package @matrix-labs/matrix-storefront-sdk receives a total of 35 weekly downloads. As such, @matrix-labs/matrix-storefront-sdk popularity was classified as not popular.
We found that @matrix-labs/matrix-storefront-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.