Employee Badge

Learn how to integrate the POPP employee badge into your code

To integrate our smart contracts you will need to install our interface package

npm install popp-interfaces

After the npm package has been installed, you can now import the IEmployeeNft into your contract

import "popp-interfaces/IEmployeeNft.sol";

Employer badge contract (erc-721)

Testnets

Mainnets

  • ethereum:

  • polygon:

  • optimism:

  • base:

Then you will need to instantiate our contract:

IEmployeeNft private employeeNft;

function constructor(address _employeeNftAddress) {    
    employeeNft = IEmployeeNft(_employeeNftAddress);
}

Then you can use the contract accordingly (refer to the reference):

uint256 _tokenId = employeeNft.mintFor(0x3DdDF83eDD1aa846c4e75f0592AE60C4D1C1C1c6, "QmU2EXy9qKZd1H6ngxQMSY9vdbDyiVD8c8EEnaQqqW839d")

Last updated