Files
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
..
2023-06-01 23:50:59 -04:00
2023-06-01 23:50:59 -04:00
2023-03-07 19:15:03 -05:00

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