Skip to content

Instantly share code, notes, and snippets.

View isaac-martin's full-sized avatar
⚛️

Isaac Martin isaac-martin

⚛️
View GitHub Profile
"abi": [
{
"inputs": [
{
"internalType": "string",
"name": "_baseUri",
"type": "string"
},
{
"internalType": "address",
@isaac-martin
isaac-martin / .ts
Created March 14, 2024 23:32
paywallConfig
export const buildPaywallConfig = (
address: string,
memberLevel: MembershipLevel,
metaData: Array<Record<any, any>> | null,
endingCallToAction = "Go to profile"
) => {
const lockAddress = contractAddresses[memberLevel];
return {
icon: "https://www.bestdishever.nyc/bde-logomark.png",
locks: {