Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 710 Bytes

README.md

File metadata and controls

33 lines (27 loc) · 710 Bytes

tealdbg_launcher

Build

Start the TEAL debugger from Rust.

Cargo.toml:

tealdbg = { git = "https://github.com/ivanschuetz/tealdbg_launcher" }

Insert this where you want to debug smart contract calls:

tealdbg::launch_default(
    &[my_tx1, my_tx2],
    "approval.teal",
)

To override defaults:

tealdbg::launch(
    Config {
        mode: tealdbg::Mode::Sandbox {
            command: "<path>/sandbox",
        }
        ..Config::default()
    },
    &[my_tx1, my_tx2],
    "approval.teal",
)