tqtezos/minter-sdk

Add solution for exporting/importing Michelson contracts into JavaScript projects

cpubot opened this issue · 1 comments

We don't have a solution at the moment for distributing smart contracts via npm, much less providing a mechanism for them to be imported into a JavaScript project in an idiomatic fashion.

A quick and dirty method to get this over the line is to leverage @taquito/michel-codec's ability to output Michelson code as JSON. We can embed the generated JSON in a JavaScript module which will allow it to be idiomatically imported into a JavaScript project.

We'll need an additional script to facilitate this generation.

Closed via #59