#permissions #dsl #toolchain #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

#34 in #transactions

Download history 2/week @ 2024-07-12 3/week @ 2024-07-19 4/week @ 2024-07-26 1/week @ 2024-08-02 5/week @ 2024-08-16 5/week @ 2024-08-23 9/week @ 2024-08-30 4/week @ 2024-09-06 7/week @ 2024-09-13 24/week @ 2024-09-20 19/week @ 2024-09-27 19/week @ 2024-10-04

69 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