Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1020 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 1020 Bytes

Domain Transaction Producer

A CLI tool to produce domain transactions for Subspace EVM Network.

If CLI commands run from the root of the repository, the command is $ cargo run -p dtp -- --help, otherwise, $ cargo run -- --help from inside dtp/ folder.

Generating Rust bindings to the contracts

Before following this, make sure you have the forge CLI installed.

Rust bindings to the contracts can be generated via forge bind, which requires first building your contracts:

# Build the contracts
$ forge build --root ./contracts
# Generate the bindings to the contracts
$ forge bind --bindings-path ./bindings --root ./contracts --crate-name bindings

Any follow-on calls to forge bind will check that the generated bindings match the ones under the build files. If you want to re-generate your bindings, pass the --overwrite flag to your forge bind command.