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-interfacesAfter the npm package has been installed, you can now import the IEmployeeNft into your contract
import "popp-interfaces/IEmployeeNft.sol";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):
Last updated