Working Version

https://near.social/flowscience.near/widget/attestWithTypes → Attest Using Any Type

Components

Main (still having issues with state management)

  1. https://near.social/flowscience.near/widget/NAS (UI wrapper)
  2. https://near.social/flowscience.near/widget/attest (takes selectedSchema and schemaSrc down from NAS as props, handles attestation input data & saving the final composed data)
  3. https://near.social/flowscience.near/widget/SchemaSelector (handles selectedSchema + schemaSrc state, then passes them up to NAS before being passed back down to attest)
  4. https://near.social/flowscience.near/widget/schema.editor (still lots of work to be done dis/re-integrating schemas w/ types, and aligning props w other NAS components)

Alternate Versions

  1. https://near.social/flowscience.near/widget/generateUID (used in creating schemas & attestations - but might not be needed because of existing namespace on socialDB)
  2. JSON-Schema.editor https://near.social/flowscience.near/widget/JSON-Schema.editor
  3. attestWithSchema - Attest with schemas formatted using JSON Schema
    1. Example path for the jsonSchema type: {accountId}/jsonSchema/**
  4. “Badge Builder” BOS component made by combining Badge.Create and attestWithTypes

Helper Components

  1. NAS.view - fork of every.thing.view
    1. Example URL: https://near.social/flowscience.near/widget/NAS.view?path=flowscience.near/attestation/Ae8F53bf4DC7311Bdb731A2D21fCCE1C5541b4dB49
  2. View (explorer that takes path as props) https://near.social/flowscience.near/widget/view?path=flowscience.near/attestation/Ae8F53bf4DC7311Bdb731A2D21fCCE1C5541b4dB49/
  3. Explorer
  4. Cleanup