Add a new schema compiler pass to generate a JSON blob that allows the UI to present input forms for contract roles, parameters, assets, etc. May be run manually via ./glow pass -S schema schema buy_sig.glow, but is intended to be accessed via the /contacts/schema HTTP endpoint.
Still some TODOs, missing functionality (e.g., simple faucet & transfer actions) and minor issues (e.g., the /contacts part of the HTTP path is now wrongly named, but same-origin nonsense makes fixing this non-trivial) that can be handled in follow-ups.
Add a new
schema
compiler pass to generate a JSON blob that allows the UI to present input forms for contract roles, parameters, assets, etc. May be run manually via./glow pass -S schema schema buy_sig.glow
, but is intended to be accessed via the/contacts/schema
HTTP endpoint.Still some TODOs, missing functionality (e.g., simple faucet & transfer actions) and minor issues (e.g., the
/contacts
part of the HTTP path is now wrongly named, but same-origin nonsense makes fixing this non-trivial) that can be handled in follow-ups.