📌deployContract
Description
The deployContract
function deploys an ERC721 token contract on a specified blockchain network with the given name and symbol and returns the deployed contract.
Parameters
blockchain
string
Takes a string parameter specifying the name of the blockchain network (For eg. bsc, polygon, eth, ava, gnosis, moonbeam)
privateKey
string
The private key of the account to sign the transaction
name
string
Expects the name of the token (ERC721)
symbol
string
Requires the symbol of the token (ERC721)
Response
Promise<Object>
object
Returns the transaction receipt object.
Example Request and Response
Prerequisites
Before making requests with NEST® SDK, you must have it installed.
You can install NEST® SDK using either npm
or yarn
. Use the following commands to install NEST® SDK:
Request
Here is an example of how to make a deployContract
request using the NEST® SDK:
Response
Use Cases
Collectibles: ERC721 tokens can be used to create unique collectible items such as digital art, trading cards, and rare items.
Identity verification: ERC721 tokens can be used to represent a unique identity, such as digital certificates, diplomas, and other official documents.
Last updated