GitXplorerGitXplorer
m

tezos-js

public
6 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
f06e0c6ceb17892433632228e08b21c4f08a1593

updated test page to use bindings

mmrsmkl committed 7 years ago
Unverified
5927629f793fac60a90359c05ee4df4c7de35d23

added typecheck function

mmrsmkl committed 7 years ago
Unverified
7366fe3226d4cca107c401ae48156e0e9cadfc56

update binding example

mmrsmkl committed 7 years ago
Unverified
bfe9711bdfdf1cc1a8a6ecf81cc6204718da7745

CommonJS bindings seem to work. Finished first version of contract storage

mmrsmkl committed 7 years ago
Unverified
86d3999b850b1454afc73d87632c22d2ea81b50c

thinking about commonjs_of_ocaml

mmrsmkl committed 7 years ago
Unverified
398461a8c9181568debadf8096b5e5b78eb3e73b

added hackerish binding

mmrsmkl committed 7 years ago

README

The README file for this repository.

tezos-js

Tezos Michaelson interpreter compiled to js.

Just removed the dependencies that were problematic, so many things will not work properly yet, for example cannot have multiple contracts, and at least none of the cryptography related things will work.

TODO:

  • Better command-line tool for node.js
  • Check that zarith wrapper works
  • Make more stubs so the original files can be used directly
  • Implement a context to store contracts
  • Cryptographic primitives

Building: (OCaml 4.04.2 suggested.)

opam install ezjsonm ipaddr lwt ocplib-json-typed js_of_ocaml-lwt js_of_ocaml ocplib-resto calendar num cstruct js_of_ocaml jbuilder
sudo npm install -g browserify
npm install browserify-fs
./compile.sh