Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@ultratest/mintstack-sdk-react
Advanced tools
Luna NFT project's React plugin library published by creator's portal.
Built with React and TypeScript. Check out the Demo!
yarn add luna-nft-checkout
npm install luna-nft-checkout
You can import component and style:
import { CheckoutWidget } from 'luna-nft-checkout';
import 'luna-nft-checkout/lib/esm/styles/style.css';
and use with collection id, api key and secret key:
<CheckoutWidget collectionId="<id>" libraryType="web3 | ethers" />
note: Don't forget specify library type(whether web3 or ethers)! by default it's ethers.
You can import DetailBox compoent and use directly in your front-end code.
import { DetailBox } from "luna-nft-checkout";
...
<DetailBox
active={active}
nftImgUrl={mintInfo.image}
nftTitle={mintInfo.name}
nftDescription={mintInfo.description}
projectAbout={mintInfo.about}
price={mintPrice}
maxSupply={maxSupply}
mintsRemain={mintRemain}
mintBtnDisabled={false}
bgColor={mintInfo.checkout_background_color}
font={mintInfo.checkout_font}
fontColor={mintInfo.checkout_font_color}
tcLink={mintInfo.terms_and_condition_link}
termsProcess={termsProcess}
onCancelTerms={handleCancelTerms}
questions={mintInfo.first_party_data.map((item: any) => item.question)}
socialLinks={{
twitter: twitterEnabled,
discord: discordEnabled,
facebook: facebookEnabled,
instagram: instagramEnabled
}}
nftCount={nftCount}
nftCountError={nftCountError}
onNftCountChange={onNftCountChange}
answers={answers}
setAnswers={setAnswers}
answersError={answersError}
onAnswersChange={onAnswersChange}
onConnectWallet={handleConnectMetamask}
onDisconnectWallet={handleDisconnectMetamask}
onMintNft={handleMintBtn}
onHandleMint={handleMint}
mintProcessing={mintProcessing}
mintSucceed={mintSucceed}
setMintSucceed={setMintSucceed}
chain={mintInfo.chain}
/>
active: boolean;
nftImgUrl?: string;
nftTitle: string;
nftDescription: string;
projectAbout: string;
price: number;
maxSupply: number;
mintsRemain: number | undefined;
mintBtnDisabled: boolean;
bgColor: string | undefined;
font: string | undefined;
fontColor: string | undefined;
termsProcess?: boolean;
onCancelTerms?: () => void;
tcLink: string | undefined;
questions: string[];
socialLinks: { [key: string]: boolean };
onConnectWallet?: () => void;
onDisconnectWallet?: () => void;
onMintNft?: (termsProcess: boolean) => void;
onHandleMint?: () => void;
className?: string;
nftCount: string;
nftCountError?: boolean;
onNftCountChange: (value: string) => void;
answers: string[];
setAnswers: (answers: string[]) => void;
answersError?: boolean[];
onAnswersChange: (index: number, value: string) => void;
mintProcessing: boolean;
mintSucceed: boolean;
setMintSucceed: (value: boolean) => void;
chain: string;
FAQs
Library based on Typescript to mint Luna NFT!
The npm package @ultratest/mintstack-sdk-react receives a total of 0 weekly downloads. As such, @ultratest/mintstack-sdk-react popularity was classified as not popular.
We found that @ultratest/mintstack-sdk-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.