Skip to content

kickstart-cardano/hello_world

Repository files navigation

hello_world

Write validators in the validators folder, and supporting functions in the lib folder using .ak as a file extension.

validator my_first_validator {
  spend(_datum: Option<Data>, _redeemer: Data, _output_reference: Data, _context: Data) {
    True
  }
}

Building

aiken b -t verbose

It will generate a plutus.json file.

You can copy the compiledCode into offchain/config/script.ts and replace the script with your compiled code.

To run the off-chain, go to offchain/ and run pnpm dev

cd offchain
pnpm dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published