Collections
A collection is the top-level object in Opal.
A collection is comprised of layers, tokens, and settings. A user may create several collections.
Storage
Tableland
The Collections
table in Tableland has the following schema:
id
: Integer (primary key) representing the row of the entryowner
: Uuid of the user who created the collection. This value is a foreign key for the uuid in theUsers
tabletokens_table
: String identifier for the name of the user-specificTokens
tablelayers_table
: String identifier for the name of the user-specificLayers
tableattributes_table
: String identifier for the name of the user-specificAttributes
tablecontract_address
: Address for the deployed smart contract. This is only populated if/when the user decides to deploy the contract to the blockchainname
: Collection namesymbol
: Collection token symbol (e.g., "C" for CryptoPunks)description
: Collection descriptionimage
: IPFS content hash for the collection's avatar. This hash is inserted into an IPFS gateway in the Opal UI to fetch the content from IPFSexternal_link
: Supplementary link to point to collection content (e.g., website, Twitter, Linktree, etc.)seller_fee_basis_points
: Percentage in basis points for secondary market royalties (e.g., 100 basis points = 1% secondary market royalties)fee_recipient
: Address for the recipient of any secondary market royalties
The name, description, image, external link, seller fee basis points, and fee recipient values are all values that are picked up on secondary NFT marketplaces via the smart contract's contractURI()
function. More information can be found in OpenSea's documents on contract-level metadata.
Secondary Market Royalties
There has been recent discussion in the NFT space on whether marketplaces such as OpenSea will honor secondary market royalties and the technical implementation of possible solutions. As of now, there is no clear guidance on how creators should proceed. If anything changes, Opal will make the necessary changes to the Collections
table schema, specifically with respect to the seller fee basis points and fee recipient.
Last updated