Import the Address
object from the package.
import {UniqueUtils} from "@unique-nft/api";
const address = UniqueUtils.Address
Linking my account ypeshekhonov on GitHub with my address 5ERBzGR7UofXANmMN6gdU8He9eH1iKPHsCdExFnvk72gqoxE on Substrate in mycryptoprofile.io, and the challenge code is: 3d1419e5236f5c5f1502578bfd8e6d80. #LitentryVerifyMyAddress
In this tutorial, we will walk through creating and deploying an ERC-721 smart contract on the Goerli test network using Hardhat and Solidity. Also, we will mint and NFT and add it to Metamask.
You need to have the following installed and prepared to start this guide:
In this tutorial, we will walk through creating and deploying an ERC-721 smart contract on the Opal test network using Hardhat and Solidity. Also, we will mint an NFT using a library.
You need to have the following installed and prepared to start this guide:
Создать контракт с таким кодом
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.4;
import {CollectionHelpers, CollectionHelpersEvents} from "@unique-nft/solidity-interfaces/contracts/CollectionHelpers.sol";
import {UniqueNFT, CrossAddress} from "@unique-nft/solidity-interfaces/contracts/UniqueNFT.sol";
contract CollectionManager is CollectionHelpersEvents {