Skip to content

Latest commit

 

History

History

resources

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Resources

This folder contains some useful resources, including some simple pre-built Plutus scripts and example sources, including for the HelloWorld and AlwaysSucceeds scripts. It also includes a sub-directory for Community contributions.

The sources need to be built with GHC 8.10.4 (8.10.5 may also work), e.g.

cabal build all -w ghc-8.10.4

You may also need to install libsodium as described here, and update cabal.project.local to include:

package cardano-crypto-praos
  flags: -external-libsodium-vrf

Further examples and scripts can be found in the cardano-node repository:

https://github.com/input-output-hk/cardano-node/tree/master/plutus-example

https://github.com/input-output-hk/cardano-node/tree/master/scripts/plutus

Here are examples of the JSON format that is used to encode datums and redeemers

https://github.com/input-output-hk/cardano-node/tree/master/scripts/plutus/data

And here is documentation of the general metadata format.

https://developers.cardano.org/docs/get-started/cardano-serialization-lib/transaction-metadata/