Collection Recipes
The Core Pattern
Recipe: Basic Access Token
collectionApprovals: [
// Provider can mint to anyone, anytime
{
approvalId: 'provider-mint',
fromListId: 'Mint',
toListId: 'All',
initiatedByListId: 'bb1_YOUR_ADDRESS', // only you can mint
transferTimes: [{ start: 1n, end: 18446744073709551615n }],
tokenIds: [{ start: 1n, end: 1n }],
ownershipTimes: [{ start: 1n, end: 18446744073709551615n }],
version: 0n,
approvalCriteria: {
overridesFromOutgoingApprovals: true, // required for Mint
overridesToIncomingApprovals: true,
},
},
// No post-mint transfer approval = soulbound
]Recipe: Revocable Access Token
Recipe: Short-Lived 2FA Token
Recipe: Ban List
Recipe: Tiered Access
How to Create
Last updated