/TZComet

Contract Metadata Viewer on Tezos

Primary LanguageOCamlMIT LicenseMIT

TZComet: Tezos Contract Metadata

… currently running at https://tzcomet.io …

Part of the development happens in a “monorepo”: oxheadalpha/flextesa-tzcomet-monorepo.

Build

./please.sh ensure setup    # Creates an opam switch
./please.sh build all

⬑ if all goes well, last command should print out a link to open the app, like file://$PWD/_build/default/website/index.html.

Note

The module Tzcomet_jsonm was copied from:

This fork of Jsonm fixes the stack overflow error that can occur when parsing large objects in JSOO.

Deployment

This of course, requires push access to oxheadalpha/TZComet for it to impact tzcomet.io (but one can make it happen in their own fork and it will be at <org-or-user>.github.io/TZComet).

First time, create a local gh-pages branch:

git branch gh-pages -t origin/gh-pages

To deploy the current working directory to /staging:

./please.sh deploy togithub
# Current branch is now gh-pages
git push origin gh-pages
git checkout master # or back to where you were

(this calls does trigger the build).

To deploy origin/master to production:

prod=true ./please.sh deploy togithub
# And push like for /staging

See Also

  • Agora post introducing the specification.
  • The TZIP-16 specification.