Prerequisite You should have installed Solidity Compiler (version 0.8.2 or higher).

Step 1. Install NoRamp’s ERC721N SDK to use the contract easily in your project:

Step 2. Add the following code to your frontend:

pragma solidity ^0.8.2;

import "erc721n/contracts/ERC721N.sol";

contract ERC721NTest is ERC721N {
    constructor(IERC20 _erc20Token) ERC721N(_erc20Token) {
        reserveTokenAddress = _erc20Token;
    }

    function mint(address to, uint256 amount) external {
        safeMint(to, amount);
    }
}