Skip to content

Commit

Permalink
Added VM opcodes to javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
Relfos committed Jul 3, 2019
1 parent f091699 commit e1a8abe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions JS/Bindings/phantasma.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
class PhantasmaAPI {

const Opcodes = Object.freeze({
{{#each opcodes}}{{#upper-case Key}}: {{Value}},
{{/each}}
});

constructor(host) {
this.host = host;
}
Expand Down

0 comments on commit e1a8abe

Please sign in to comment.