PAB but Rusty
WIP implementation of the Plutus Application Backend. Intended to be used as the off-chain backend for Aiken or any other on-chain script source :)
Included is a simple smart contract with a mocked backend that can be run from your terminal.
Try out:
For help menu
cargo run --example escrow-cli
To check your (Alice's) balance
cargo run --example escrow-cli balance
then create an escrow contract instance for 200 Lovelace to Bob
cargo run --example escrow-cli escrow Bob 200
now switch to have Bob as signer
cargo run --example escrow-cli signer Bob
list all active contracts
cargo run --example escrow-cli list
claim the active contract with Bob as recipient
cargo run --example escrow-cli claim <Contract ID>
now check Bob's balance
cargo run --example escrow-cli balance
Open to PRs and general feedback. I'm gonna try and be pretty strict about testing and other clean code stuff. It's all with love.
Feel free to start issues/discussions if there are things you feel are missing or whatever.