You can build and test the code normally with cargo.
cargo test
To get a deployable wasm artifact, you also need the wasm toolchain and the soroban cli. See here: https://soroban.stellar.org/docs/getting-started/setup
soroban contract build --package dex-market
Run this script to start a local validator in docker and deploy dex_market to it:
./validator.sh
To stop the validator:
./validator.sh stop
Dependencies:
- docker
- soroban cli
More info: