Collection Helpers

Address: 0x6C4E9fE1AE37a41E93CEE429e8E1881aBdcbb54F

This precompiled contract enables the creation of native collections and tokens via the Ethereum interface.

Code examples

Below are examples of how to use this precompiled contract with ethers.js and hardhat.

TIP

If you're unfamiliar with setting up a Hardhat project, refer to the official documentation: https://hardhat.org/docsopen in new window

Connect to contract

import { ethers } from 'hardhat';
import { CollectionHelpers__factory } from '@unique-nft/solidity-interfaces';

const [signer] = await ethers.getSigners();

const collectionHelpers = CollectionHelpers__factory
  .connect("0x6C4E9fE1AE37a41E93CEE429e8E1881aBdcbb54F", signer);

Next steps

Learn how to manage smart contracts sponsoring