Skip to content

Include Play tagline/description on chain #167

@jrkhan

Description

@jrkhan

Issue To Be Solved

We will need to store the tagline/description for each play on chain in order to have parity with the Alchemy API used by Meta.

Example description:
"When the game is on the line, get the ball to your vet. Milwaukee Bucks guard Jrue Holiday attacks Memphis Grizzlies defender Dillon Brooks in the final seconds of a close March 4, 2021 ball game then steps back into a clutch mid-range jump shot to seal the victory."

Currently our on-chain descriptions are defined here:
https://github.com/dapperlabs/nba-smart-contracts/blob/master/contracts/TopShot.cdc#L607-L617

Open questions:

Should we create a new 'tagline' field/trait for this, or override our existing description field?
Should the map that stores the link between play id and tagline be defined in a ledger contract, or stored as a resource on a well known account?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfoundationsAn issue that may be picked up by the DSS Foundations Pod

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions