Home > @3rdweb/sdk > NFTModule
Create a collection of one-of-one NFTs.
Signature:
export declare class NFTModule extends ModuleWithRoles<SignatureMint721> implements ITransferable, ISignatureMinter
Extends: ModuleWithRoles<SignatureMint721>
Implements: ITransferable, ISignatureMinter
import { ThirdwebSDK } from "@3rdweb/sdk";
// You can switch out this provider with any wallet or provider setup you like.
const provider = ethers.Wallet.createRandom();
const sdk = new ThirdwebSDK(provider);
const module = sdk.getNFTModule("");
Property | Modifiers | Type | Description |
---|---|---|---|
moduleType | static |
ModuleType | |
roles | static |
readonly [“admin”, “minter”, “transfer”] |