Skip to content

TradeTrust/tradetrust-config

Repository files navigation

TradeTrust creator configs

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

This repo:

  • Aims to synchronise all the forms used in TradeTrust.
  • Generates various config files with inputted network, addresses, wallet. Wallets used are testnets only!
  • Is only as relevent as TradeTrust creator. If one day TradeTrust creator is obsolete, this should cease too.

✅ Latest config files

The above build folder with the respective config files should always exists + available for download in this repo. They are meant to be shared with product owner end.

Development

npm run start


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.


Miscellaneous

Differences between config file with v2 forms and v3 forms?

Mainly the OpenAttestationDocument in defaults field.

Create config with TradeTrust CLI

Read more at here.

Debugging netlify functions

There is exposed config schema service available, however it is still experimental.

npm run netlify

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