📌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
| string | Takes a string parameter specifying the name of the blockchain network (For eg. bsc, polygon, eth, ava, gnosis, moonbeam) |
| string | The private key of the account to sign the transaction |
| string | Expects the name of the token (ERC721) |
| string | Requires the symbol of the token (ERC721) |
Response
Property | Type | Description |
---|---|---|
| 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