![]() 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] |
||
---|---|---|
.. | ||
validators | ||
.gitignore | ||
README.md | ||
aiken.lock | ||
aiken.toml | ||
generate-credentials.ts | ||
hello_world-lock.ts | ||
hello_world-unlock.ts | ||
plutus.json |
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