#permissions #toolchain #dsl #contracts #bytecode #transaction #trn

no-std trn-pact

An embedded contract DSL and toolchain for doughnuts in the TRN permission domain

3 unstable releases

0.2.1 Feb 20, 2024
0.2.0 Feb 16, 2024
0.1.0 Feb 13, 2024

#2231 in Magic Beans

Download history 149/week @ 2024-02-12 190/week @ 2024-02-19 67/week @ 2024-02-26 33/week @ 2024-03-04 18/week @ 2024-03-11 18/week @ 2024-03-18 52/week @ 2024-04-01 4/week @ 2024-04-08 151/week @ 2024-04-15 15/week @ 2024-04-22

222 downloads per month
Used in doughnut-rs

Apache-2.0

180KB
1.5K SLoC

Pact

An embedded contract DSL and toolchain for doughnuts in the TRN permission domain.

Pact contracts are written in a simple bytecode and execute against dynamic input data to ensure their invariants are upheld.
It is designed for integration with the TRN blockchain runtime to enable safe, powerful delegated transactions.

alt text

Dependencies