1.0.1 • Published 1 year ago

tradetrust-config v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

TradeTrust Creator configs

Repository to house TradeTrust config schema + various configs used in TradeTrust creator.

Latest config files

Development

npm run start

Build config files

npm run build

Documentation

  • For reading.
  • For interactive explore. (based on types)
  • For alternative interactive explore. (based on json schema)

Do note that there is config file with v3 forms too.

Config file

Differences between config file with v2 forms and v3 forms?

Mainly the OpenAttestationDocument in defaults field.

Create config with OA CLI

open-attestation config create --output-dir ./example-configs --encrypted-wallet-path </path/to>/wallet.json --config-template-url https://raw.githubusercontent.com/TradeTrust/tradetrust-config/master/build/config-reference-v2.json

Read more at here.

Debugging netlify functions

npm run netlify

make an url / postman GET request to http://localhost:9999/.netlify/functions/schema