You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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."
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?
The text was updated successfully, but these errors were encountered:
jrkhan
changed the title
Include the play tagline/description on chain
Include Play tagline/description on chain
Oct 8, 2022
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?
The text was updated successfully, but these errors were encountered: