Proof of Position
  • â„šī¸What is POPP?
    • Position Verification
    • Cryptographic Linking of Social Profiles
    • Cryptographic Linking of Communication Channels
    • Access to Exclusive Online Spaces
  • âš™ī¸How does it work?
    • đŸ•´ī¸Employer Badge
      • How do I get one?
    • 🔑Employee Access Card
    • 📃Employee Badge
  • đŸš´â€â™€ī¸Quick Start
    • Employer Badge
    • Employee Access Card
    • Employee Badge
    • Token Gates
  • â›“ī¸Reference
    • Employer Badge
    • Employee Badge
    • Employee Access Card
  • đŸ”ĻCode Audit
  • 🛒POPP Job Marketplace
Powered by GitBook
On this page
  1. Quick Start

Employee Badge

Learn how to integrate the POPP employee badge into your code

PreviousEmployee Access CardNextToken Gates

Last updated 1 year ago

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

  • goerli:

  • sepolia:

  • optimism goerli:

  • base goerli:

  • polygon goerli:

Mainnets

  • ethereum:

  • polygon:

  • optimism:

  • base:

Then you will need to instantiate our contract:

IEmployeeNft private employeeNft;

function constructor(address _employeeNftAddress) {    
    employeeNft = IEmployeeNft(_employeeNftAddress);
}
uint256 _tokenId = employeeNft.mintFor(0x3DdDF83eDD1aa846c4e75f0592AE60C4D1C1C1c6, "QmU2EXy9qKZd1H6ngxQMSY9vdbDyiVD8c8EEnaQqqW839d")

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

đŸš´â€â™€ī¸
0xEc1c73060efd5dd5283AfF81eA5EaE03eA4d512D
0x88904C5Ef29570f999b234F2ae1456C2A02251f2
0x71763e216f4C68e8865F8dd1f060E2f1C5fb14c3
the reference