Skip to content

Commit

Permalink
Added precompiled artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Weichert committed Dec 18, 2023
1 parent 7347365 commit 063cc96
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
2 changes: 2 additions & 0 deletions artifacts/hello-tacos.default_storage.tz
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
42

2 changes: 2 additions & 0 deletions artifacts/hello-tacos.storage.store420tacos.tz
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
420

10 changes: 10 additions & 0 deletions artifacts/hello-tacos.tz
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{ parameter nat ;
storage nat ;
code { UNPAIR ;
DUP 2 ;
DUP 2 ;
COMPARE ;
GT ;
IF { DROP 2 ; PUSH string "NOT_ENOUGH_TACOS" ; FAILWITH }
{ SWAP ; SUB ; ABS ; NIL operation ; PAIR } } }

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"setup:app": "cd ./app && npm install",
"start:app": "cd app && npm run start",
"start:sandbox": "taq start sandbox",
"start": "npm run compile:contract && npm run start:sandbox && npm run start:app",
"start": "npm run compile:contract && npm run start:sandbox && npm run originate && npm run start:app",
"compile:contract": "taq compile --plugin ligo hello-tacos.mligo",
"df-docker": "docker system df",
"rm-docker": "docker rm -vf $(docker ps -aq) 2>&1 > /dev/null",
Expand Down

0 comments on commit 063cc96

Please sign in to comment.