Skip to content

Commit

Permalink
feat(examples): add blaze to hello world
Browse files Browse the repository at this point in the history
  • Loading branch information
rvcas committed May 30, 2024
1 parent 28515e7 commit d4614ef
Show file tree
Hide file tree
Showing 11 changed files with 1,274 additions and 78 deletions.
1 change: 1 addition & 0 deletions examples/hello_world/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ artifacts/
build/
*.sk
*.addr
node_modules/
4 changes: 2 additions & 2 deletions examples/hello_world/aiken.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

[[requirements]]
name = "aiken-lang/stdlib"
version = "main"
version = "1.8.0"
source = "github"

[[packages]]
name = "aiken-lang/stdlib"
version = "main"
version = "1.8.0"
requirements = []
source = "github"

Expand Down
2 changes: 1 addition & 1 deletion examples/hello_world/aiken.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ description = "Aiken contracts for project 'aiken-lang/hello_world'"

[[dependencies]]
name = "aiken-lang/stdlib"
version = "main"
version = "1.8.0"
source = "github"
72 changes: 0 additions & 72 deletions examples/hello_world/hello_world-lock.ts

This file was deleted.

24 changes: 24 additions & 0 deletions examples/hello_world/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "hello_world",
"version": "1.0.0",
"description": "Aiken hello world tutorial",
"type": "module",
"scripts": {
"generate": "tsx src/generate-credentials.ts",
"lock": "tsx src/hello_world-lock.ts",
"unlock": "tsx src/hello_world-unlock.ts"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.12.12",
"tsx": "^4.10.2"
},
"dependencies": {
"@blaze-cardano/core": "^0.1.1",
"@blaze-cardano/sdk": "^0.0.9",
"@blaze-cardano/wallet": "^0.0.8"
}
}
6 changes: 3 additions & 3 deletions examples/hello_world/plutus.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"plutusVersion": "v2",
"compiler": {
"name": "Aiken",
"version": "v1.0.19-alpha+d56d518"
"version": "v1.0.26-alpha+075668b"
}
},
"validators": [
Expand All @@ -24,8 +24,8 @@
"$ref": "#/definitions/hello_world~1Redeemer"
}
},
"compiledCode": "58f2010000323232323232323222232325333008323232533300b002100114a06644646600200200644a66602200229404c8c94ccc040cdc78010028a511330040040013014002375c60240026eb0c038c03cc03cc03cc03cc03cc03cc03cc03cc020c008c020014dd71801180400399b8f375c6002600e00a91010d48656c6c6f2c20576f726c6421002300d00114984d958c94ccc020cdc3a400000226464a66601a601e0042930b1bae300d00130060041630060033253330073370e900000089919299980618070010a4c2c6eb8c030004c01401058c01400c8c014dd5000918019baa0015734aae7555cf2ab9f5742ae881",
"hash": "6fb13cf9efdbe986e784d1983b21d3fb90231c1745925f536a820fb4"
"compiledCode": "58e901000032323232323223223225333006323253330083371e6eb8c008c028dd5002a4410d48656c6c6f2c20576f726c642100100114a06644646600200200644a66601c00229404c94ccc030cdc79bae301000200414a226600600600260200026eb0c02cc030c030c030c030c030c030c030c030c024dd5180098049baa002375c600260126ea80188c02c0045261365653330043370e900018029baa001132325333009300b002149858dd7180480098031baa0011653330023370e900018019baa0011323253330073009002149858dd7180380098021baa001165734aae7555cf2ab9f5742ae881",
"hash": "c1fe430f19ac248a8a7ea47db106002c4327e542c3fdc60ad6481103"
}
],
"definitions": {
Expand Down
Loading

0 comments on commit d4614ef

Please sign in to comment.