🧑‍🚀 CERTHIS 🧑‍🚀
  • 🎯GET STARTED
    • Platform Quick Overview
    • Certhis Academy
    • Create Collection
  • 👾API Object References
    • Collection
    • NFT
    • User
    • Label
    • Currency
  • 🖼️Dynamic NFT
    • Authentication
    • API Endpoints
  • ⚙️Web3 CRM
    • API Endpoints
    • Webhook
  • 🍏Apple & Google Wallet
    • API Endpoints
    • Scanner
  • 🛒NFT Checkout
    • Claimer
    • API Endpoint
  • ⛏️Mint API
    • API Endpoint
    • MINTER ADDRESS
    • Webhook
    • Free Claim User
  • ✴️API endpoints
    • COLLECTION
    • CURRENCIES
    • NFT
    • STATISTICS
    • TRANSACTIONS
    • USER
    • SIGNATURE
    • CONTRACT
  • 📖Certhis SDK
    • Deploy Collection
    • Fetch NFT
    • Fetch Transactions
  • 💰Certhis WALLET
    • Introduction
    • Usage
    • Generate Wallet
    • Export private key
    • Connect to DAPP
  • 📜Smart Contract
    • ABI
    • INTERFACE
    • Audit
    • Contract Checker
  • 💸Royalties
    • Mint Royalties
    • Resell Royalties
    • Affiliation Royalties
    • Co-Creator Royalties
    • Deactivate Collection Royatlies
  • GATE
  • Community
    • 🔗Certhis On Social Media
    • 🏛️Founders
    • 📞Contact
  • FAQ
    • ❔FAQ
Powered by GitBook
On this page
  • Certhis SDK - Deploy Collection
  • Installation
  • Usage
  1. Certhis SDK

Deploy Collection

Certhis SDK - Deploy Collection

Introduction

The Certhis SDK empowers developers to interact with the Certhis API, facilitating the deployment of NFT collections. Deploying an NFT collection is a fundamental step in the NFT creation process, and this guide will walk you through the process.

Installation

You can install the Certhis SDK via npm:

$ npm i certhis

Usage

Here's an example of deploying an NFT collection using the Certhis SDK:

const { Web3 } = require("web3");
const certhis = require("certhis").init(Web3);

async function connectionAndCreate() {
  var web3Inject = await certhis.wallet.connect(
    "RPC_URL",
    "YOUR_WALLET_PASSPHRASE"
  );

  try {
    var collection = await certhis.collection.create({
      web3: web3Inject,
      collection_object: {
        collection_name: "Test Collection" ,
        collection_symbol: "TEST",
        collection_type: true,
      },

      whitelist: ["WALLET_WHITELIST"],
      mulParam: 4,
    });
    console.log(collection);
  } catch (e) {
    console.log(e);
  }
}

async function createCollection() {
  var collection = await connectionAndCreate();
  console.log(collection);
}
createCollection();

Please replace "YOUR_RPC_URL" and other placeholders with your specific values.

PreviousCerthis SDKNextFetch NFT

Last updated 9 months ago

For more details and advanced usage, refer to the .

Certhis SDK GitHub repository
📖
Page cover image