This project appears to be a Rust application for deploying and interacting with Solidity smart contracts on Ethereum-like blockchains. It includes tools for deployment and potentially a web server interface.
contracts/
: Contains the Solidity smart contracts (e.g.,MessageStorage.sol
).src/
: Contains the source code for thedeploy
binary.server/
: Contains the source code for theserver
binary.Cargo.toml
: Project manifest and dependencies.build.rs
: Build script, likely for compiling Solidity contracts.
This project provides two main binaries:
deploy
: Located atsrc/main.rs
. Used for deploying smart contracts to a blockchain.server
: Located atserver/main.rs
. Runs a web server (using Actix-web) for interacting with the deployed contracts or managing deployments.
-
Build the project:
cargo build --release
-
Run the deployer: (Specific command-line arguments might be required. Check
src/cli_config.rs
or run with--help
)./target/release/deploy --help
-
Run the server: (Specific configuration or environment variables might be needed)
./target/release/server
The primary smart contract seems to be MessageStorage.sol
. The build process likely compiles this contract using ethers-solc
.