Open C-3PFLO opened 1 year ago
Can pull all of the meta data and descriptions from the API client side, and then just validate the transaction against an allowed key list on chain. Can also build the allowed key list with an admin app.
Or can push data to chain. Will use more storage and probably slower/harder to fetch, but it’s in one place and not at risk of removal.
Can also use the source JSON files: https://github.com/5e-bits/5e-database/blob/main/src/5e-SRD-Spells.json
However, the spell list is incomplete. It's even missing PHB spells like Chromatic Orb.
Confirmed that SRD has a limited set of spells, options, monsters, etc even relative to PHB
http://www.dnd5eapi.co/docs/#overview