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 Access Card

Learn how to integrate the POPP employee access card into your code

PreviousEmployer BadgeNextEmployee Badge

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 IAccessCardSft into your contract

import "popp-interfaces/IAccessCardSft.sol";

Employee access card smart contract (erc-1115)

Testnets

  • goerli:

  • sepolia:

  • optimism goerli:

  • polygon goerli:

Mainnets

  • ethereum:

  • polygon:

  • optimism:

  • base:

Then you will need to instantiate our contract:

IEmployerSft private employerSft;

function constructor(address _employerSftAddress) {    
    employerSft = IEmployerSft(_employerSftAddress);
}
uint256 _employerId = employerSft.employerIdFromWallet(msg.sender);

You can now use the contract accordingly (refer to ):

đŸš´â€â™€ī¸
0x6AD61192B4a732e4ce54A68c5c993370490EA042
the reference