aiken/examples/hello_world
rvcas 335cc0c8bc
feat(cli): rework uplc subcommands
closes #553

* rename flat to encode
* rename unflat to decode
* alias both to their old names
* both only print to stdout
  use can pipe to file
* split cbor and hex flags
* hex flag works for either cbor or flat
* encode takes --to flag
  [name, named-debruijn, debruijn]
* decode takes --from flag
  [name, named-debruijn, debruijn]
2023-06-01 23:50:59 -04:00
..
validators Fix README template for newly generated projects, and hello, world 2023-03-18 22:23:55 +01:00
.gitignore feat(cli): rework uplc subcommands 2023-06-01 23:50:59 -04:00
README.md update cli documentation 2023-03-07 19:15:03 -05:00
aiken.lock Fix acceptance tests to use new syntax. 2023-02-19 10:10:40 +01:00
aiken.toml Fix acceptance tests to use new syntax. 2023-02-19 10:10:40 +01:00
generate-credentials.ts Small tweaks on the hello_world examples. 2023-03-08 09:47:08 +01:00
hello_world-lock.ts Small tweaks on the hello_world examples. 2023-03-08 09:47:08 +01:00
hello_world-unlock.ts Small tweaks on the hello_world examples. 2023-03-08 09:47:08 +01:00
plutus.json feat(cli): rework uplc subcommands 2023-06-01 23:50:59 -04:00

README.md

Hello, World!

An example of an Hello, World! contract using Aiken and Lucid.

See the full tutorial on aiken-lang.org.

Building

aiken build

Generating Credentials

deno run --allow-net --allow-write generate-credentials.ts

Locking Funds

Warning Require BLOCKFROST_API_KEY environment variable to be set.

deno run --allow-net --allow-read --allow-env hello_world-lock.ts

Unlocking Funds

Warning Require BLOCKFROST_API_KEY environment variable to be set.

deno run --allow-net --allow-read --allow-env hello_world-unlock.ts TRANSACTION_ID_FROM_LOCK