Quadrata Passport holders have the ability to burn their Quadrata Passports by calling the QuadPassport.burnPassports() function.
Example
import { ethers } from 'ethers';
QUAD_PASSPORT_ADDRESS = "0x2e779749c40CC4Ba1cAB4c57eF84d90755CC017d";
QUAD_PASSPORT_ABI = ""; // ABI is available at https://github.com/QuadrataNetwork/passport-contracts/blob/develop/abis/QuadPassport.json
const burnPassports = async () => {
// Retrieve Connected wallet/signer
await window.ethereum.enable()
const provider = new ethers.providers.Web3Provider(window.ethereum);
const signer = provider.getSigner();
const tokenId = <TOKEN_ID> // tokenId originator of the passport
// Instantiate passport contract object
const passportContract = new ethers.Contract(
passportAddress,
QUADRATA_PASSPORT_ABI,
signer,
);
await passportContract.burnPassports(tokenId);
};