From the repo:
pnpm install && pnpm build
make link # npm link the built CLI as `sforge`sforge build/test/deploy require the Stellar CLI
and a Rust toolchain with the wasm32v1-none target.
Scaffolds a new standalone Soroban project:
sforge init payments --template escrowThis copies the template, renames the crate to payments, pins soroban-sdk,
adds an optimized [profile.release], and writes a .gitignore and README.md.
The result builds and tests on its own — no workspace required.
Lists the available templates (any directory in templates/ with a Cargo.toml).
Wraps stellar contract build, producing optimized WASM under
target/wasm32v1-none/release/.
Wraps cargo test for the current project.
Wraps stellar contract deploy:
sforge deploy \
--wasm target/wasm32v1-none/release/payments.wasm \
--source my-identity \
--network testnetCreate a funded identity first:
stellar keys generate my-identity --network testnet --fund