Plutonomicon / pluto

An untyped Plutus Core assembler
32 stars 8 forks source link

Sample Contract: use ScriptContext #29

Closed srid closed 2 years ago

srid commented 2 years ago

Change the sample contract to pull out signatories from ScriptContext, and modify Pluto validator accordingly.

Since this PR contains splitting of the contract module, for quick review of what's mainly changed: https://github.com/Plutonomicon/pluto/commit/cb1be5fe1ddc95a67c93b245b30b6615fc45155a

(Thanks to some hints from @TotallyNotChase at https://github.com/Plutonomicon/pluto/pull/23#issuecomment-991766555)

Resolves #27